locked
Live Writer is unable to update my blog template RRS feed

  • Question

  • Hello,

    I updated my Wordpress blog recently to version 2.6.2 and changed the overall theme. After doing that I tried to update the theme in Live Writer but it seems that is unable to retrieve the style info. I tried now with the new beta and is also failing. The log says this:

    1WindowsLiveWriter,572,None,00010,17-Sep-2008 21:41:51.937,"Failed to download template Framed: System.Exception: Unable to locate blog post elements using most recent post 
    2   at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous) 
    3   at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args) 
    4   at WindowsLive.Writer.BlogClient.Detection.BlogEditingTemplateDetector.ParseWebpageIntoEditingTemplate_OnUIThread(Control uiContext, BlogPostRegionLocatorStrategy regionLocator, IProgressHost progress) 
    5   at WindowsLive.Writer.BlogClient.Detection.BlogEditingTemplateDetector.GetBlogTemplateFiles(IProgressHost progress, BlogPostRegionLocatorStrategy regionLocatorStrategy, BlogEditingTemplateStrategy[] templateStrategies, BlogEditingTemplateType[] templateTypes)","" 
    6WindowsLiveWriter,572,None,00011,17-Sep-2008 21:41:54.156,"Failed to download template Webpage: System.Exception: Unable to locate blog post elements using most recent post 
    7   at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous) 
    8   at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args) 
    9   at WindowsLive.Writer.BlogClient.Detection.BlogEditingTemplateDetector.ParseWebpageIntoEditingTemplate_OnUIThread(Control uiContext, BlogPostRegionLocatorStrategy regionLocator, IProgressHost progress) 
    10   at WindowsLive.Writer.BlogClient.Detection.BlogEditingTemplateDetector.GetBlogTemplateFiles(IProgressHost progress, BlogPostRegionLocatorStrategy regionLocatorStrategy, BlogEditingTemplateStrategy[] templateStrategies, BlogEditingTemplateType[] templateTypes)","" 
    11WindowsLiveWriter,572,None,00012,17-Sep-2008 21:42:48.312,"Failed to download template Framed: System.ArgumentException: Value does not fall within the expected range. 
    12   at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous) 
    13   at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args) 
    14   at WindowsLive.Writer.BlogClient.Detection.BlogEditingTemplateDetector.ParseWebpageIntoEditingTemplate_OnUIThread(Control uiContext, BlogPostRegionLocatorStrategy regionLocator, IProgressHost progress) 
    15   at WindowsLive.Writer.BlogClient.Detection.BlogEditingTemplateDetector.GetBlogTemplateFiles(IProgressHost progress, BlogPostRegionLocatorStrategy regionLocatorStrategy, BlogEditingTemplateStrategy[] templateStrategies, BlogEditingTemplateType[] templateTypes)","" 
    16WindowsLiveWriter,572,None,00013,17-Sep-2008 21:42:48.406,"Failed to download template Webpage: System.NullReferenceException: Object reference not set to an instance of an object. 
    17   at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous) 
    18   at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args) 
    19   at WindowsLive.Writer.BlogClient.Detection.BlogEditingTemplateDetector.ParseWebpageIntoEditingTemplate_OnUIThread(Control uiContext, BlogPostRegionLocatorStrategy regionLocator, IProgressHost progress) 
    20   at WindowsLive.Writer.BlogClient.Detection.BlogEditingTemplateDetector.GetBlogTemplateFiles(IProgressHost progress, BlogPostRegionLocatorStrategy regionLocatorStrategy, BlogEditingTemplateStrategy[] templateStrategies, BlogEditingTemplateType[] templateTypes)","" 

    Before the changes I was able to download the blog style fine.

    Thanks in advance for your help.


    Thursday, September 18, 2008 3:27 AM

Answers

  • It sounds like what you want is for the permalink page to be used as the basis for the template, instead of the homepage. That's a discussion we've had numerous times in the past, and we have continued with the homepage as traditionally that seems to be where most posts will be read. Although I've been noticing more and more creative WP themes, like the one you're using, that break all of our assumptions.

    Thanks for the feedback!
    • Marked as answer by Becky Pezely Wednesday, October 29, 2008 2:42 PM
    Wednesday, October 1, 2008 11:44 PM
    Moderator

All replies

  • I managed to find a solution so I'll share it here. I hope that the next version of Live Writer will bring a smarter solution to detect the post , or at least an entry in the Help section explaining how the detect process is made and what workarounds can be used.

    The problem wasn't related to my blog version but directly with the theme. Since the temporary post goes under the Other category and my magazine-like theme doesn't show those posts in the main address of my blog, WLW couldn't detect the post.

    I included Other posts in one of the columns in my Homepage and WLW managed to download the theme but with errors. It assumed that posts went in that tiny column so the style and preview were completely wrong.

    At the end, I could get the right style checking which would be the next post ID to use the URL (doesn't matter if permalinks are used) as my main address in the account config (So in my case it was something like http://<mysite>.com/?p=XXX). At the end, WLW was able to detect the post and download the correct style for individual entries without losing any publishing functionality.

    Hope it helps.
    Sunday, September 21, 2008 12:40 AM
  • It sounds like what you want is for the permalink page to be used as the basis for the template, instead of the homepage. That's a discussion we've had numerous times in the past, and we have continued with the homepage as traditionally that seems to be where most posts will be read. Although I've been noticing more and more creative WP themes, like the one you're using, that break all of our assumptions.

    Thanks for the feedback!
    • Marked as answer by Becky Pezely Wednesday, October 29, 2008 2:42 PM
    Wednesday, October 1, 2008 11:44 PM
    Moderator