Can't edit drafts in Live Writer using Zemanta
I installed Zemanta for my Live Writer and I have many things in my drafts folder in LW from before I installed Zemanta. When I try to edit them and use Zemanta, I get an error message that says this:
System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.BeginInvoke(Delegate method, Object[] args)
at LivePlugin.Controller.checkConditionsOnce()
at LivePlugin.ZemantaLivePlugin.CreateContent(IWin32Window dialogOwner, ISmartContent newContent)
at WindowsLive.Writer.PostEditor.ContentSources.ContentSourceManager.PerformInsertion(IContentSourceSite sourceSite, ContentSourceInfo contentSource)
System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.BeginInvoke(Delegate method, Object[] args)
at LivePlugin.Controller.checkConditionsOnce()
at LivePlugin.ZemantaLivePlugin.CreateContent(IWin32Window dialogOwner, ISmartContent newContent)
at WindowsLive.Writer.PostEditor.ContentSources.ContentSourceManager.PerformInsertion(IContentSourceSite sourceSite, ContentSourceInfo contentSource)
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
-
Inappropriate?Can you please help me reproduce this error? Are your drafts local or are they saved to a blog? What do you do step by step to get this error and does it always happen? A screenshot would also help us reproduce it so we can pinpoint it in the code and fix it.
Have you tried closing the Zemanta plugin, opening the draft and then "inserting" the plugin again? -
Inappropriate?(Prior to receiving your email I took these steps ... ) My drafts are local, not saved to a blog. I closed and restarted Live Writer, and the error message I received before went away, but I still cannot open the Zemanta plug in on drafts. Also, when I click "new" to start a new post, nothing happens when I click the insert Zemanta plug-in. I only seem to be able to use it upon first opening Live Writer.
I was not able to get a screen shot as I have not received that error again, but that is a copy and paste of the error when it appeared.
(After receiving your email I took these steps... ) I tried your suggestion and that worked, thank you. :) I am finding that if I want to edit a "pre-Zemanta install" draft using Zemanta, I have to close Live Writer, re-start Live Writer, close the Zemanta plug-in, open the draft, then re-open Zemanta. I repeated the process 4 times just to make sure.
(In case any of the extra information helps you in some way. :) )
I’m thankful
-
Inappropriate?Great. We'll try to reproduce your error as soon as our LiveWriter plugin developer comes back from his well earned vacation so you don't have to restart the Writer every time you wish to edit older posts.
Can you please post the version of your LiveWriter, Windows and whether you have any Writer plugins installed? -
Inappropriate?I'm not in a hurry, and I hope he's enjoying his vacation. :)
Let's see ... WLW vers Technical Preview Build 14.0.3913.522 en
Windows - XP Pro, 5.1.2600 SP3 Build 2600
WLW plug-ins - all begin with "insert": maps, tags, video, current itunes, symbol, picasa link, polaroid, link to web page, template, text template, HTML snippet, word count, and zemanta. I'll probably be dumping a few of those but that's what I have on there right now.
By the way, I did get that initial error again, and I noted it was when I had closed Zemanta to work on an older draft, then changed my mind and tried to re-open Zemanta. I managed to get an image of it this time. I hope it helps. :)
I’m not worried
-
Inappropriate?I'm not in a hurry, and I hope he's enjoying his vacation. :)
Let's see ... WLW vers Technical Preview Build 14.0.3913.522 en
Windows - XP Pro, 5.1.2600 SP3 Build 2600
WLW plug-ins - all begin with "insert": maps, tags, video, current itunes, symbol, picasa link, polaroid, link to web page, template, text template, HTML snippet, word count, and zemanta. I'll probably be dumping a few of those but that's what I have on there right now.
By the way, I did get that initial error again, and I noted it was when I had closed Zemanta to work on an older draft, then changed my mind and tried to re-open Zemanta. I managed to get an image of it this time. I hope it helps. :)
I’m not worried
-
Inappropriate?Thank you for reporting this issue.
As you have found out our plugin pops up only on the first opened LiveWriter window. If you click "New Post" new LiveWriter window is opened and plugin doesn't show there.
About drafts. I've tried to save a draft (without Zemanta plugin) and the reopen it and it worked for me? If I understood you right:
- You created a blog (without Zemanta plugin)
- Saved it as a local draft
- Close Live Writer
- install Zemanta plugin
- Open Live Writer
- Open a draft.
For me as long as I edit a draft in the first opened Live Writer window Zemanta works.
Well I will get on this bug and fix it. Thanks for the report!
I’m thankful
Loading Profile...



EMPLOYEE
EMPLOYEE