photofloat crashes with the same error even if it processes a png image
don Paolo Benvenuto 2017-04-05 22:37 GMT+02:00 Paolo Benvenuto <paolobe...@gmail.com>: > 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 <paolobe...@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 >> > >
_______________________________________________ PhotoFloat mailing list PhotoFloat@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/photofloat