Personal tools
You are here: Home Forums Plone Blog Having trouble with APIs
Navigation
Log in


Forgot your password?
New user?
 
Document Actions

Having trouble with APIs

Up to Plone Blog

Having trouble with APIs

Posted by Techniq at January 03. 2007

I'm trying to use any of the three APIs for blogging: Blogger, MovableType, or MetaWeblog.  I can't get them to work.  I'm running Zope-2.9.6, Plone-2.5.1, qPloneBlog-2.5.2.  I'm using the blog client Ecto which works with my blogger.com account and my previous NucleusCMS account.  First I received this error from log/event.log when trying to 'getRecentPosts':


------
2007-01-03T15:08:27 ERROR Zope.SiteErrorLog http://blog.koloss.us/blog/blogger/blogger/getRecentPosts
Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Products.SimpleBlog.BloggerAPI, line 147, in getRecentPosts
AttributeError: getFolderListingFolderContents
------




Then I discovered 'getFolderListingFolderContents' was changed to 'getFolderContents' in CMFPlone/HISTORY.txt (line #3556).  I changed this for all three APIs.


Now I get the following error when I try to 'getRecentPosts':




------
2007-01-03T15:24:41 ERROR Zope.SiteErrorLog http://blog.koloss.us/blog/blogger/getRecentPosts
Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Products.SimpleBlog.BloggerAPI, line 151, in getRecentPosts
AttributeError: DateTime instance has no __call__ method
------



Any help would be appreciated.





Re: Having trouble with APIs

Posted by Volodymyr Cherepanyak at January 18. 2007
Thank you for the report. We put the issue in our todo list.

Re: Having trouble with APIs

Posted by Andriy Mylenkyy at February 19. 2007

Hi Techniq,


You can get fixed SimpleBlog from http://svn.quintagroup.com/products/SimpleBlog/trunk (790 revision)


OR complete qPloneBlog bundle from http://svn.quintagroup.com/products/qPloneBlog/trunk




Powered by Ploneboard