Package: photofloat
Version: 0~20120917+dfsg-3
Severity: normal
Tried a run based on the instructions in /usr/share/doc/photofloat/README.Debian
$ mkdir photo
$ cd photo
$ mkdir albums cache
$ ln -s /usr/share/photofloat/web/* .
$ mkdir albums/flickr
$ ln $(kpa-grep --tag flickr) albums/flickr/
$ photofloat albums cache
2016-07-10T20:36:15.950083 | |--[thumbing] img_418-0601.jpg -> 1024px
2016-07-10T20:36:16.907571 |--[caching] flickr
Traceback (most recent call last):
File "/usr/bin/photofloat", line 21, in
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 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
Running it again is faster (presumably it's not regenerating the cached
thumbnails, though it still prints all of the names) and ends with the
same traceback.
This appears to have been mentioned, but not responded to, elsewhere:
https://lists.zx2c4.com/pipermail/photofloat/2013-November/28.html
https://lists.zx2c4.com/pipermail/photofloat/2014-January/29.html
with a possible patch:
https://lists.zx2c4.com/pipermail/photofloat/2014-February/42.html
http://lists.zx2c4.com/pipermail/photofloat/attachments/20140207/f14817be/attachment.patch
(It looks like that's followed by release discussion, but just thought
I'd still add the "doesn't work out of the box" data point.)
-- System Information:
Debian Release: 8.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages photofloat depends on:
ii lmodern 2.004.4-5
ii python-imaging 2.6.1-2+deb8u2
ii python 2.7.9-1
Versions of packages photofloat recommends:
ii libjs-jquery 1.7.2+dfsg-3.2
ii libjs-jquery-mousewheel 10-1
Versions of packages photofloat suggests:
pn libapache2-mod-php5 | php5-fpm | php5-cgi
ii nginx-light [nginx]1.6.2-5+deb8u2+b1
-- no debconf information