Comment 0 for bug 593265

Revision history for this message
Navigium (navigium) wrote :

I started heybuddy pretending I'm on a swiss german computer with 'LC_ALL=de_CH.utf8 heybuddy'. Then there is some problem with date string conversion. I don't know whether this is really heybuddys fault or a misconfiguration on my system...

http://identi.ca/api/statuses/friends_timeline/navigium.xml?since_id=0
http://identi.ca/api/statuses/mentions/navigium.xml?since_id=0
emitting statusesXML signal
Traceback (most recent call last):
  File "/usr/bin/heybuddy", line 277, in process_statusesXML
    data = self.xmlprocessor.get_dent_data(status)
  File "/usr/share/heybuddy/XMLProcessor.py", line 85, in get_dent_data
    t = time.mktime(time.strptime(created,"%a %b %d %H:%M:%S +0000 %Y") )
  File "/usr/lib/python2.6/_strptime.py", line 454, in _strptime_time
    return _strptime(data_string, format)[0]
  File "/usr/lib/python2.6/_strptime.py", line 325, in _strptime
    (data_string, format))
ValueError: time data u'Sun Jun 13 06:22:41 +0000 2010' does not match format '%a %b %d %H:%M:%S +0000 %Y'