The Artima Developer Community
Sponsored Link

Python Buzz Forum
Testing BloGTK with CMFWeblog

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Sidnei da Silva

Posts: 137
Nickname: deecee
Registered: Nov, 2003

Sidnei da Silva is a dirty little brazilian python hacker
Testing BloGTK with CMFWeblog Posted: Jan 21, 2004 9:47 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Sidnei da Silva.
Original Post: Testing BloGTK with CMFWeblog
Feed Title: awkly.org
Feed URL: http://awkly.org/categories.rdf?category=Python
Feed Description: dreamcatching :: making your dreams come true
Latest Python Buzz Posts
Latest Python Buzz Posts by Sidnei da Silva
Latest Posts From awkly.org

Advertisement
Testing BloGTK with CMFWeblog

My friend Xiru mailed me this morning, asking if I had tested BloGTK with CMFWeblog. Well, I hadn't yet, so it was about time to try it.

First thing that I noticed was that it wouldn't connect, giving a strange error message ("An error occurred while connecting. Check your settings"). The first thing that I thought was that it could be a problem on the settings I entered, so I go to error_log to check if there was a traceback there. Everything looked OK, so it could be a problem on the client side, maybe caused by a failure on parsing the server response. So, I tried using Shane's tcpwatch to intercept the communication and see if there was something strange there. Apparently nothing was wrong there either. So, time for a small session with pdb, after all, BloGTK is written in Python!

Stepping through the source revealed that the problem was caused by a KeyError: CMFWeblog was returning blogname in response to blogger.getUserBlogs, but the spec says it should return blogName. Error corrected, now CMFWeblog works with BloGTK too!

And it gets even nicer: If you choose the Movable Type API on the connection settings, you can see a list of available categories that you can post to. Amazing!

BloGTK is very nice, and even has a Preview Post tab that you can click to check how your post will look as HTML, and Spellcheck so you don't look dumb. The only thing I missed are the tooltips on the toolbar icons. I wonder if they are just missing or broken.

Overall, I liked it though I still prefer my power combo: pyrite+emacs+restructured-text. I recommend BloGTK if you are a occasional blog poster that happens to use Linux and have pygtk2 installed. A bonus if you don't mind looking through the source and fixing small bugs that may appear.

Read: Testing BloGTK with CMFWeblog

Topic: Spam on the topic exchange Previous Topic   Next Topic Topic: 64 bit immediates in Python

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use