Resources for IT Professionals > 論壇首頁 > Windows Live Writer (General) > [BUG] Live Writer forgets collection for image uploads with AtomPub
發問發問
 

一般討論[BUG] Live Writer forgets collection for image uploads with AtomPub

  • Tuesday, 13 January, 2009 20:33Jarrett Vance 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    The error is Picture Upload Not Supported By Blog 
    This sometimes occurs after successfully posting an entry with images (which is weird).

    The workaround is to run through blog settings and things are back to normal.

    It may have something to do with switching between blogs but I can't confirm that.

    WindowsLiveWriter,1.10100,Fail,00029,13-Jan-2009 14:02:48.950,"WindowsLive.Writer.Extensibility.BlogClient.BlogClientFileUploadNotSupportedException: File Upload Not Supported - File uploading is not supported by this blog. Please configure file uploading for this blog before attempting to publish posts with attached pictures or files.
       at WindowsLive.Writer.BlogClient.Clients.AtomMediaUploader.PostNewImage(String path, String& srcUrl, String& editMediaUri, String& editEntryUri)
       at WindowsLive.Writer.BlogClient.Clients.AtomMediaUploader.DoBeforePublishUploadWork(IFileUploadContext uploadContext)
       at WindowsLive.Writer.BlogClient.Clients.GenericAtomClient.DoBeforePublishUploadWork(IFileUploadContext uploadContext)
       at WindowsLive.Writer.PostEditor.WeblogBlogFileUploader.DoUploadWorkBeforePublish(IFileUploadContext uploadContext)","   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
       at System.Environment.get_StackTrace()
       at WindowsLive.Writer.CoreServices.Diagnostics.LogFileTraceListener.Fail(String message)
       at System.Diagnostics.TraceInternal.Fail(String message)
       at System.Diagnostics.Trace.Fail(String message)
       at WindowsLive.Writer.PostEditor.WeblogBlogFileUploader.DoUploadWorkBeforePublish(IFileUploadContext uploadContext)
       at WindowsLive.Writer.PostEditor.BlogPostReferenceFixer.FileUploadWorker.DoUploadWork(String fileReference, BlogFileUploader fileUploader, Boolean isWindowsLiveLightboxCloneEnabled)
       at WindowsLive.Writer.PostEditor.BlogPostReferenceFixer.LocalFileTransformer.Transform(BeginTag tag, String reference)
       at WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.LocalFileReferenceFixupFilter.FixReferences(BeginTag tag, String reference)
       at WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.OnBeginTag(BeginTag tag)
       at WindowsLive.Writer.CoreServices.LightWeightHTMLDocumentIterator.Parse()
       at WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixReferences(TextWriter output, ReferenceFixer referenceFixer, ReferenceFixedCallback referenceFixed)
       at WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixReferences(String html, ReferenceFixer fixer, ReferenceFixedCallback referenceFixed)
       at WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixLocalFileReferences(String html, ReferenceFixer fixer, ReferenceFixedCallback referenceFixed)
       at WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixLocalFileReferences(String html, ReferenceFixer fixer)
       at WindowsLive.Writer.PostEditor.UpdateWeblogAsyncOperation.LocalSupportingFileUploader.UploadFilesBeforePublish()
       at WindowsLive.Writer.PostEditor.UpdateWeblogAsyncOperation.DoWork()
       at WindowsLive.Writer.CoreServices.AsyncOperation.InternalStart()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()"
    WindowsLiveWriter,1.10100,Fail,00030,13-Jan-2009 14:02:49.117,"WindowsLive.Writer.Extensibility.BlogClient.BlogClientFileUploadNotSupportedException: File Upload Not Supported - File uploading is not supported by this blog. Please configure file uploading for this blog before attempting to publish posts with attached pictures or files.
       at WindowsLive.Writer.BlogClient.Clients.AtomMediaUploader.PostNewImage(String path, String& srcUrl, String& editMediaUri, String& editEntryUri)
       at WindowsLive.Writer.BlogClient.Clients.AtomMediaUploader.DoBeforePublishUploadWork(IFileUploadContext uploadContext)
       at WindowsLive.Writer.BlogClient.Clients.GenericAtomClient.DoBeforePublishUploadWork(IFileUploadContext uploadContext)
       at WindowsLive.Writer.PostEditor.WeblogBlogFileUploader.DoUploadWorkBeforePublish(IFileUploadContext uploadContext)
       at WindowsLive.Writer.PostEditor.BlogPostReferenceFixer.FileUploadWorker.DoUploadWork(String fileReference, BlogFileUploader fileUploader, Boolean isWindowsLiveLightboxCloneEnabled)
       at WindowsLive.Writer.PostEditor.BlogPostReferenceFixer.LocalFileTransformer.Transform(BeginTag tag, String reference)
       at WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.LocalFileReferenceFixupFilter.FixReferences(BeginTag tag, String reference)
       at WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.OnBeginTag(BeginTag tag)
       at WindowsLive.Writer.CoreServices.LightWeightHTMLDocumentIterator.Parse()
       at WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixReferences(TextWriter output, ReferenceFixer referenceFixer, ReferenceFixedCallback referenceFixed)
       at WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixReferences(String html, ReferenceFixer fixer, ReferenceFixedCallback referenceFixed)
       at WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixLocalFileReferences(String html, ReferenceFixer fixer, ReferenceFixedCallback referenceFixed)
       at WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixLocalFileReferences(String html, ReferenceFixer fixer)
       at WindowsLive.Writer.PostEditor.UpdateWeblogAsyncOperation.LocalSupportingFileUploader.UploadFilesBeforePublish()
       at WindowsLive.Writer.PostEditor.UpdateWeblogAsyncOperation.DoWork()
       at WindowsLive.Writer.CoreServices.AsyncOperation.InternalStart()","   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
       at System.Environment.get_StackTrace()
       at WindowsLive.Writer.CoreServices.Diagnostics.LogFileTraceListener.Fail(String message)
       at System.Diagnostics.TraceInternal.Fail(String message)
       at System.Diagnostics.Trace.Fail(String message)
       at WindowsLive.Writer.PostEditor.BlogPostEditingManager.UpdateWeblog(Boolean publish)
       at WindowsLive.Writer.PostEditor.BlogPostEditingManager.PostToWeblog(Boolean publish)
       at WindowsLive.Writer.PostEditor.BlogPostEditingManager.Publish()
       at WindowsLive.Writer.PostEditor.PostEditorMainControl.commandPostAndPublish_Execute(Object sender, EventArgs e)
       at WindowsLive.Writer.ApplicationFramework.Command.RaiseEvent(Object eventKey, EventArgs e)
       at WindowsLive.Writer.ApplicationFramework.Command.OnExecute(EventArgs e)
       at WindowsLive.Writer.ApplicationFramework.CommandBarButtonLightweightControl.OnMouseUp(MouseEventArgs e)
       at WindowsLive.Writer.Controls.LightweightControl.RaiseMouseUp(MouseEventArgs e)
       at WindowsLive.Writer.Controls.LightweightControlContainerControl.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.UserControl.WndProc(Message& m)
       at WindowsLive.Writer.Controls.LightweightControlContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at WindowsLive.Writer.ApplicationFramework.SatelliteApplicationForm.Launcher.ThreadMain(Object[] parameters)
       at WindowsLive.Writer.CoreServices.Threading.ThreadStartWithParams.Run()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()"
    WindowsLiveWriter,1.10100,None,00031,13-Jan-2009 14:04:12.502,"Failed to download template Framed: System.Exception: Unable to locate blog post elements using most recent post
       at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
       at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
       at WindowsLive.Writer.BlogClient.Detection.BlogEditingTemplateDetector.ParseWebpageIntoEditingTemplate_OnUIThread(Control uiContext, BlogPostRegionLocatorStrategy regionLocator, IProgressHost progress)
       at WindowsLive.Writer.BlogClient.Detection.BlogEditingTemplateDetector.GetBlogTemplateFiles(IProgressHost progress, BlogPostRegionLocatorStrategy regionLocatorStrategy, BlogEditingTemplateStrategy[] templateStrategies, BlogEditingTemplateType[] templateTypes)",""
    WindowsLiveWriter,1.10100,None,00032,13-Jan-2009 14:04:14.577,"Failed to download template Webpage: System.Exception: Unable to locate blog post elements using most recent post
       at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
       at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
       at WindowsLive.Writer.BlogClient.Detection.BlogEditingTemplateDetector.ParseWebpageIntoEditingTemplate_OnUIThread(Control uiContext, BlogPostRegionLocatorStrategy regionLocator, IProgressHost progress)
       at WindowsLive.Writer.BlogClient.Detection.BlogEditingTemplateDetector.GetBlogTemplateFiles(IProgressHost progress, BlogPostRegionLocatorStrategy regionLocatorStrategy, BlogEditingTemplateStrategy[] templateStrategies, BlogEditingTemplateType[] templateTypes)",""

所有回覆

  • Wednesday, 14 January, 2009 23:25Joe Cheng [MSFT]擁有者使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Hi Jarret, can you e-mail me your whole log file? joe.cheng *AT* microsoft.com

    Thanks a lot.
  • Tuesday, 17 March, 2009 18:28Jarrett Vance 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    When will this bug be fixed?  Is there anything else I can do to help?  Should a download a registry and file watching tool to see what happens?
  • Saturday, 21 March, 2009 21:48John Paul CookMVP使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    I tried going through the settings again, but it did not resolve anything. I cannot upload any pictures.
  • Wednesday, 25 March, 2009 21:24Joe Cheng [MSFT]擁有者使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Jarrett, I'm really sorry to not have gotten back to you on this. I am unfortunately the main person who can help you with this and also completely strapped for time these days. I'll e-mail you back on the thread we already had going. Thanks...
  • Monday, 13 April, 2009 21:54John Paul CookMVP使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    PROBLEM RESOLVED

    I was using Live Writer to upload posts to Community Server. It has an undocumented quota setting in a config file. I had exceeded that quota. This explains why Live Writer works most of the time for most people.