error

Paolo Benvenuto paolobenve at gmail.com
Wed Apr 5 22:37:00 CEST 2017


it seems it was an image without any exif headers: creating them in it with
jhead -mkexif resolved the problem

I think it's a bug worth fixing it :-)


don Paolo Benvenuto

2017-04-04 23:17 GMT+02:00 Paolo Benvenuto <paolobenve at gmail.com>:

> Hi!
>
> While running photofloat on a huge amount of photos, I got:
>
> 2017-04-04T23:14:38.160478   |  |--[caching]       Varie
> Traceback (most recent call last):
>   File "/usr/bin/photofloat", line 21, in <module>
>     main()
>   File "/usr/bin/photofloat", line 15, in main
>     TreeWalker(sys.argv[1], sys.argv[2])
>   File "/usr/share/photofloat/scanner/TreeWalker.py", line 16, in __init__
>     self.walk(self.album_path)
>   File "/usr/share/photofloat/scanner/TreeWalker.py", line 55, in walk
>     album.add_album(self.walk(entry))
>   File "/usr/share/photofloat/scanner/TreeWalker.py", line 55, in walk
>     album.add_album(self.walk(entry))
>   File "/usr/share/photofloat/scanner/TreeWalker.py", line 76, in walk
>     album.cache(self.cache_path)
>   File "/usr/share/photofloat/scanner/PhotoAlbum.py", line 68, in cache
>     self._sort()
>   File "/usr/share/photofloat/scanner/PhotoAlbum.py", line 51, in _sort
>     self._photos.sort()
>   File "/usr/share/photofloat/scanner/PhotoAlbum.py", line 318, in __cmp__
>     date_compare = cmp(self.date, other.date)
> TypeError: can't compare datetime.datetime to unicode
>
>
>
> don Paolo Benvenuto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/photofloat/attachments/20170405/5a27520a/attachment.html>


More information about the PhotoFloat mailing list