Don't know if you remember the error I get, here it is:
Code:
time data did not match format: data=Fri, 24 Aug 2007 22:49:15 GMT fmt=%a, %d %b %Y %H:%M:%S %Z
Detailed traceback:
Traceback (most recent call last):
File "/home/iacopo/libprs500/src/libprs500/gui2/library.py", line 521, in sort
self.map.sort(cmp=fcmp, reverse=descending)
File "/home/iacopo/libprs500/src/libprs500/gui2/library.py", line 510, in datecmp
x = self.db[x].datetime
File "/home/iacopo/libprs500/src/libprs500/devices/prs500/books.py", line 46, in __get__
self.formatter else obj.elem.getAttribute(self.attr).strip()
File "/home/iacopo/libprs500/src/libprs500/devices/prs500/books.py", line 67, in
formatter=lambda x: time.strptime(x.strip(), "%a, %d %b %Y %H:%M:%S %Z"),
File "_strptime.py", line 330, in strptime
(data_string, format))
ValueError: time data did not match format: data=Fri, 24 Aug 2007 22:49:15 GMT fmt=%a, %d %b %Y %H:%M:%S %Z
May I know the source of that "Fri, 24 Aug 2007 22:49:15 GMT"? Where it takes the time from? And do you have an idea of why that date? (the date is my first install of libprs500 on my linuxbox)