首页 > 博客 >“修复Windows Live Writer的问题与WordPress

修复的Windows Live作家问题与WordPress

我一直使用的Windows Live作家写我的博客(WLW)和交叉张贴在这两个WordPress站点www.ningzhang.org和Blogger网站blog.ningzhang.org ,非常方便。 昨天我遇到的问题和开放张贴到我的WordPress的网站使用Windows Live作家:得到一个错误对话框说

无效的服务器响应 - 对metaWeblog.newMediaObject方法从博客服务器收到的反应是无效的

我在网上搜索,尝试了一些东西,和固定的问题很快得到解决。 希望分享我的发现在这里可以对他人有所帮助类似的困难。

Windows Live Writer的日志

WLW有不错的日志。 打开帮助->关于Windows Live作家菜单项:

Windows Live Writer Help->About menu item

你会看到关于对话框,单击显示日志文件的链接:

WLW About Windows

该文件夹“%localappdata%\ Windows Live作家”将弹出,其中包含了“Windows Live Writer.log”文件。 下面我复制相关的错误日志。 堆栈跟踪不错,非常有用的用于调试和诊断 :-)

 WindowsLiveWriter,1.7696,失败,00031,30 - 4 - 2009 01:28:58.595“WindowsLive.Writer.Extensibility.BlogClient.BlogClientInvalidServerResponseException:无效的服务器响应 - 对metaWeblog.newMediaObject方法从博客服务器收到的反应是无效的:无效的回应文件回来XMLRPC服务器在WindowsLive.Writer.BlogClient.Clients.XmlRpcBlogClient.CallMethod(字符串methodName的,XmlRpcValue []参数)在WindowsLive.Writer.BlogClient.Clients.MetaweblogClient.DoBeforePublishUploadWork(IFileUploadContext uploadContext)在WindowsLive.Writer.PostEditor 。WeblogBlogFileUploader.DoUploadWorkBeforePublish(IFileUploadContext uploadContext)在WindowsLive.Writer.PostEditor.BlogPostReferenceFixer.FileUploadWorker.DoUploadWork(弦乐的FileReference,BlogFileUploader fileUploader,布尔isWindowsLiveLightboxCloneEnabled)在WindowsLive.Writer.PostEditor.BlogPostReferenceFixer.LocalFileTransformer.Transform(BeginTag标签,弦乐参考)在WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.LocalFileReferenceFixupFilter.FixReferences(BeginTag标签,弦乐参考)在WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.OnBeginTag(BeginTag标签)在WindowsLive.Writer.CoreServices.LightWeightHTMLDocumentIterator.Parse()在WindowsLive 。Writer.CoreServices.HTML.HtmlReferenceFixer.FixReferences(的TextWriter输出,ReferenceFixer referenceFixer,ReferenceFixedCallback referenceFixed)在WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixReferences(弦乐网页,ReferenceFixer固定器,ReferenceFixedCallback referenceFixed)在WindowsLive.Writer.CoreServices.HTML 。HtmlReferenceFixer.FixLocalFileReferences(弦乐网页,ReferenceFixer固定器,ReferenceFixedCallback referenceFixed)在WindowsLive.Writer.CoreServices.HTML.HtmlReferenceFixer.FixLocalFileReferences(弦乐网页,ReferenceFixer固定器),在WindowsLive.Writer.PostEditor.UpdateWeblogAsyncOperation.LocalSupportingFileUploader.UploadFilesBeforePublish()在WindowsLive。 Writer.PostEditor.UpdateWeblogAsyncOperation.DoWork()在AT System.Environment.GetStackTrace WindowsLive.Writer.CoreServices.AsyncOperation.InternalStart ()","(异常é,布尔needFileInfo)在System.Environment.get_StackTrace()在WindowsLive.Writer。 CoreServices.Diagnostics.LogFileTraceListener.Fail(弦乐消息)在System.Diagnostics.TraceInternal.Fail(弦乐消息)WindowsLive.Writer.PostEditor.BlogPostEditingManager.UpdateWeblog(布尔发布)在AT System.Diagnostics.Trace.Fail(弦乐消息)在WindowsLive.Writer.PostEditor.BlogPostEditingManager.PostToWeblog(布尔发布)在WindowsLive.Writer.PostEditor.BlogPostEditingManager.PublishAsDraft()在WindowsLive.Writer.PostEditor.PostEditorMainControl.commandPostAsDraft_Execute(对象发件人,EventArgs的e)在WindowsLive.Writer.ApplicationFramework.Command 。RaiseEvent(对象eventKey,EventArgs的e)在WindowsLive.Writer.ApplicationFramework.Command.OnExecute(EventArgs的e)在WindowsLive.Writer.ApplicationFramework.CommandOwnerDrawMenuItem.OnClick(EventArgs的e)在System.Windows.Forms.MenuItem.MenuItemData.Execute( )在System.Windows.Forms.Command.Invoke()在System.Windows.Forms.Command.DispatchID(身份证的Int32)在System.Windows.Forms.Control.WmCommand(消息&m)在System.Windows.Forms.Control。的WndProc(消息&m)在System.Windows.Forms.ScrollableControl.WndProc(消息&m)在System.Windows.Forms.ContainerControl.WndProc(消息&m)在System.Windows.Forms.Form.WndProc(消息&M的WindowsLive)在。 Writer.ApplicationFramework.ApplicationForm.WndProc(消息&m)在WindowsLive.Writer.ApplicationFramework.SatelliteApplicationForm.WndProc(消息&m)在System.Windows.Forms.Control.ControlNativeWindow.OnMessage(消息&M的System.Windows.Forms.Control)的。 ControlNativeWindow.WndProc(消息&m)在System.Windows.Forms.NativeWindow.Callback(新窗口的hWnd,味精的Int32,IntPtr的wParam,IntPtr的lParam)在System.Windows.Forms.NativeWindow.DefWndProc(消息&m)在System.Windows.Forms 。NativeWindow.WndProc(消息&m)在WindowsLive.Writer.PostEditor.ImageInsertion.InsertImageDialog.ThumbnailReadinessListener.WndProc(消息&m)在System.Windows.Forms.NativeWindow.Callback(新窗口的hWnd,味精的Int32,IntPtr的wParam,IntPtr的lParam)在System.Windows.Forms.NativeWindow.DefWndProc(消息&m)在System.Windows.Forms.NativeWindow.WndProc(消息&m)在WindowsLive.Writer.PostEditor.ImageInsertion.InsertImageDialog.ThumbnailReadinessListener.WndProc(消息&M的System.Windows)在。 Forms.NativeWindow.Callback(新窗口的hWnd,味精的Int32,IntPtr的wParam,IntPtr的lParam)在System.Windows.Forms.NativeWindow.DefWndProc(消息&m)在System.Windows.Forms.NativeWindow.WndProc(消息&m)在WindowsLive.Writer 。PostEditor.ImageInsertion.InsertImageDialog.ThumbnailReadinessListener.WndProc(消息&m)在System.Windows.Forms.NativeWindow.Callback(新窗口的hWnd,味精的Int32,IntPtr的wParam,IntPtr的lParam)在System.Windows.Forms.NativeWindow.DefWndProc(消息&米)在System.Windows.Forms.NativeWindow.WndProc(消息&m)在WindowsLive.Writer.PostEditor.ImageInsertion.InsertImageDialog.ThumbnailReadinessListener.WndProc(消息&m)在System.Windows.Forms.NativeWindow.Callback(新窗口的hWnd,味精的Int32, IntPtr的wParam,IntPtr的lParam)在System.Windows.Forms.NativeWindow.DefWndProc(消息&m)在System.Windows.Forms.NativeWindow.WndProc(消息&m)在WindowsLive.Writer.PostEditor.ImageInsertion.InsertImageDialog.ThumbnailReadinessListener.WndProc(消息& m)在System.Windows.Forms.NativeWindow.Callback(新窗口的hWnd,味精的Int32,IntPtr的wParam,IntPtr的lParam)在System.Windows.Forms.NativeWindow.DefWndProc(消息&m)在System.Windows.Forms.NativeWindow.WndProc(消息&m)在WindowsLive.Writer.PostEditor.ImageInsertion.InsertImageDialog.ThumbnailReadinessListener.WndProc(消息&m)在System.Windows.Forms.NativeWindow.Callback(新窗口的hWnd,味精的Int32,IntPtr的wParam,IntPtr的lParam)在System.Windows.Forms 。NativeWindow.DefWndProc(消息&m)在System.Windows.Forms.NativeWindow.WndProc(消息&m)在WindowsLive.Writer.PostEditor.ImageInsertion.InsertImageDialog.ThumbnailReadinessListener.WndProc(消息&m)在System.Windows.Forms.NativeWindow.Callback (新窗口的hWnd,味精的Int32,IntPtr的wParam,IntPtr的lParam)在System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(味精和味精)在System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(的Int32 dwComponentID,原因的Int32,pvLoopData的Int32)在System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(的Int32原因,ApplicationContext的情况下)在System.Windows.Forms.Application.ThreadContext.RunMessageLoop(的Int32原因,ApplicationContext的情况下)在系统中。 Windows.Forms.Application.Run(表格的MainForm)在WindowsLive.Writer.ApplicationFramework.SatelliteApplicationForm.Launcher.ThreadMain(对象[]参数)在WindowsLive.Writer.CoreServices.Threading.ThreadStartWithParams.Run()在System.Threading.ThreadHelper。 ThreadStart_Context州)在System.Threading.ExecutionContext.Run(ExecutionContext executionContext,ContextCallback回调,对象状态)在System.Threading.ThreadHelper.ThreadStart(对象()“ 

这是黄金星级插件!

由于WLW一直与我的WordPress站点的罚款,直至现在,所以我怀疑这是我的WordPress的网站上最近的一些变化,最有可能最近插件更新,所以我试图停用一个插件之一。 我很幸运! 因为我知道我什么插件最近更新,所以我首先停用黄金开始评分插件 ,然后使用WLW来打开和职位,它的工作!

更新

2009年5月5日

我再次碰到了这个错误,而出版的Windows Live作家职务:

Invalid Server Response

Windows Live Writer的日志显示类似的错误信息,并调用堆栈之前。 我打开下,我的WordPress网站的顶部目录error_log中,它是这样的:

05 - 5 - 2009 8点10分59秒] PHP的致命错误:让记忆体的大小33554432字节用尽(试图拨出/ [删除] 865469字节)/上线242 wp-includes/class-IXR.php

和线阶级IXR.php 242是第二线如下:

  : 案件 '的Base64':
     ->_currentTagContents ) ); $  = base64_decode(修剪($ 这一点 - > _currentTagContents));
     $ valueFlag =  ;
     打破 ; 

因此,它看起来像它耗尽了内存而base64_decode的图像。 我取消了我的岗位上最大的图片,张贴到博客草案,并取得了成功。 然后我从WordPress的编辑网页草案的用户界面,选择添加一个从计算机并将其插入后图像:

Add an Image from computer

它成功了。

我真的不知道作为一个开发Wordpress或PHP的,所以如果有人知道如何提高这更好,请让我知道。 新手用户的一般做法似乎:

  • 草案服务器后经常查明麻烦制造者的形象,而你在创作
  • 上传并插入图片后由WordPress的网站用户界面

分享和欣赏:

  • Print
  • email
  • RSS
  • Twitter
  • TwitThis
  • del.icio.us
  • LinkedIn
  • Technorati
  • Facebook
  • Google Bookmarks
  • Live
  • MySpace
  • QQ书签
  1. 还没有评论。
  1. 还没有引用。