<div dir="ltr">photofloat crashes with the same error even if it processes a png image</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br>don Paolo Benvenuto</div></div></div></div>
<br><div class="gmail_quote">2017-04-05 22:37 GMT+02:00 Paolo Benvenuto <span dir="ltr"><<a href="mailto:paolobenve@gmail.com" target="_blank">paolobenve@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">it seems it was an image without any exif headers: creating them in it with jhead -mkexif resolved the problem<div><br></div><div>I think it's a bug worth fixing it :-)</div></div><div class="gmail_extra"><br clear="all"><div><div class="m_-7486981714542333000gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br>don Paolo Benvenuto</div></div></div></div><div><div class="h5">
<br><div class="gmail_quote">2017-04-04 23:17 GMT+02:00 Paolo Benvenuto <span dir="ltr"><<a href="mailto:paolobenve@gmail.com" target="_blank">paolobenve@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi!<div><br></div><div>While running photofloat on a huge amount of photos, I got:</div><div><br></div><div><div><font face="monospace, monospace">2017-04-04T23:14:38.160478   |  |--[caching]       Varie</font></div><div><font face="monospace, monospace">Traceback (most recent call last):</font></div><div><font face="monospace, monospace">  File "/usr/bin/photofloat", line 21, in <module></font></div><div><font face="monospace, monospace">    main()</font></div><div><font face="monospace, monospace">  File "/usr/bin/photofloat", line 15, in main</font></div><div><font face="monospace, monospace">    TreeWalker(sys.argv[1], sys.argv[2])</font></div><div><font face="monospace, monospace">  File "/usr/share/photofloat/scanner<wbr>/TreeWalker.py", line 16, in __init__</font></div><div><font face="monospace, monospace">    self.walk(self.album_path)</font></div><div><font face="monospace, monospace">  File "/usr/share/photofloat/scanner<wbr>/TreeWalker.py", line 55, in walk</font></div><div><font face="monospace, monospace">    album.add_album(self.walk(entr<wbr>y))</font></div><div><font face="monospace, monospace">  File "/usr/share/photofloat/scanner<wbr>/TreeWalker.py", line 55, in walk</font></div><div><font face="monospace, monospace">    album.add_album(self.walk(entr<wbr>y))</font></div><div><font face="monospace, monospace">  File "/usr/share/photofloat/scanner<wbr>/TreeWalker.py", line 76, in walk</font></div><div><font face="monospace, monospace">    album.cache(self.cache_path)</font></div><div><font face="monospace, monospace">  File "/usr/share/photofloat/scanner<wbr>/PhotoAlbum.py", line 68, in cache</font></div><div><font face="monospace, monospace">    self._sort()</font></div><div><font face="monospace, monospace">  File "/usr/share/photofloat/scanner<wbr>/PhotoAlbum.py", line 51, in _sort</font></div><div><font face="monospace, monospace">    self._photos.sort()</font></div><div><font face="monospace, monospace">  File "/usr/share/photofloat/scanner<wbr>/PhotoAlbum.py", line 318, in __cmp__</font></div><div><font face="monospace, monospace">    date_compare = cmp(self.date, other.date)</font></div><div><font face="monospace, monospace">TypeError: can't compare datetime.datetime to unicode</font></div><div><br></div><div><div class="m_-7486981714542333000m_-8445378233328731485gmail_signature"><div dir="ltr"><div><br></div><div><br>don Paolo Benvenuto</div></div></div></div>
</div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>