google-code-export / django-syncr

Automatically exported from code.google.com/p/django-syncr
0 stars 0 forks source link

type object 'datetime.datetime' has no attribute 'strptime' #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
>>> f.syncRecentPhotos('xxx', days=7)
Traceback (most recent call last):
  File "<console>", line 1, in ?
  File "/var/www/vhosts/myurl.net/www/syncr/app/flickr.py", line 213, in
syncRecentPhotos
    photo_list = self._syncPhotoXMLList(result.photos[0].photo)
  File "/var/www/vhosts/myurl.net/www/syncr/app/flickr.py", line 166, in
_syncPhotoXMLList
    photo_list.append(self._syncPhoto(photo_result))
  File "/var/www/vhosts/myurl.net/www/syncr/app/flickr.py", line 125, in
_syncPhoto
    default_dict = {'flickr_id': photo_xml.photo[0]['id'],
AttributeError: type object 'datetime.datetime' has no attribute 'strptime'

Original issue reported on code.google.com by sehmaschine on 16 May 2008 at 1:56

GoogleCodeExporter commented 9 years ago
This is a library difference between python 2.5 and earlier versions. This 
should be fixed in the svn repository.

Original comment by jesse.l...@gmail.com on 29 May 2008 at 3:39

GoogleCodeExporter commented 9 years ago
This is a library difference between python 2.5 and earlier versions. This 
should be fixed in the svn repository.

Original comment by jesse.l...@gmail.com on 29 May 2008 at 3:39