[jlapenna@zane] $ python2.3 blogger_bot.py -s joelapenna.com firstname.lastname@example.org 'password' email@example.com/xmpp2blogger password joelapenna.com 5222 True *** State changed: resolving 'joelapenna.com' *** *** State changed: connecting ('126.96.36.199', 5222) *** *** State changed: connected ('188.8.131.52', 5222) *** Connected Processing /usr/lib/python2.3/site-packages/libxml2.py:2897: FutureWarning: %u/%o/%x/%X of negative int will return a signed string in Python 2.4 and up return "<xmlNode (%s) object at 0x%x>" % (self.name, id (self)) *** State changed: tls connecting <JID: u'joelapenna.com'> *** *** State changed: tls connected <JID: u'joelapenna.com'> *** No handlers could be found for logger "pyxmpp.StreamTLSMixIn" Disconnecting Traceback (most recent call last): File "blogger_bot.py", line 492, in ? bot.Start() File "/home/jlapenna/src/code/xmpp2blogger/xmpp_bot.py", line 146, in Start self.loop(10) File "/usr/lib/python2.3/site-packages/pyxmpp/client.py", line 240, in loop act=stream.loop_iter(timeout) File "/usr/lib/python2.3/site-packages/pyxmpp/streambase.py", line 619, in loop_iter return self._loop_iter(timeout) File "/usr/lib/python2.3/site-packages/pyxmpp/streambase.py", line 629, in _loop_iter ifd, _unused, efd = select.select( [self.socket], , [self.socket], timeout )Now is the time to investigate.
Sunday, August 21, 2005
Title:The weekend Friday night I went with some guys from work to the Bottom Lounge to see Pretty Girls Make Graves. I would tell you how the show was but unfortunatly it was sold out. As a resu< we instead just hung out, ate at Pick Me Up's and walked around a bit. I returned home to the burbs and promptly went to sleep. Saturday was nothing special either. I spent the morning/afternoon working on xmpp2blogger, my jabber bot and ATOM api for python. In the evening I went downtown again, this time to hang out with my buddy Chris's place. We walked around a bunch, got some pizza, watched the Family Guy movie and talked about Jesus . . . and how he's a tricky guy. There was this one time Jesus and I saw this guy with two cigarettes; one tucked into each ear. So I went up to him and asked, "Hey, can I bum a cig?" The guy was totally cool about it and handed me one. He then reached to his other ear to grab the second cigarette but there was nothing there. Jesus tapped him on the shoulder smiled and lit the cigarette he had taken when the guy was handing me his other one. The guy almost cried. Lately I've been toying with the idea of registering a domain and hosting all of my friends websites. Kind of like a community hub for my group of friends. If people would be interested, I'd do it . . . Give me the word. On the xmpp/blogger front, I've spend a good couple of hours hammering out the fixes needed to use the SVN version of pyxmpp. Additionally, I threw together a command line tool so that I can easily write my post in vim and upload. I'm hitting an awful bug when trying to connect to some jabber servers where pyxmpp throws an exception while doing some stream manipulation: