[PhotoFloat] documentation / guidance for setup of authentication with uwsgi and floatapp?

Dennis Ortsen dortsen at gmail.com
Fri Dec 12 16:32:57 CET 2014

Sadly I’ve run into an error, I’m not that much into python, perhaps someone has encountered this before and can pinpoint me?

I’m running an updated Ubuntu 14.04.1 and a git clone of PhotoFloat from this week. When running the scanner’s main.py, somewhere along the process an image is found with a different date/time format:

2014-12-11T23:11:48.670837   |  |--[thumbing]      IMG_3092.JPG -> 800px
2014-12-11T23:11:49.343290   |  |--[thumbing]      IMG_3092.JPG -> 1024px
2014-12-11T23:11:50.295564   |--[caching]       Liza
Traceback (most recent call last):
  File "./main.py", line 23, in <module>
  File "./main.py", line 17, in main
    TreeWalker(sys.argv[1], sys.argv[2])
  File "/var/www/photofloat/scanner/TreeWalker.py", line 16, in __init__
  File "/var/www/photofloat/scanner/TreeWalker.py", line 55, in walk
  File "/var/www/photofloat/scanner/TreeWalker.py", line 76, in walk
  File "/var/www/photofloat/scanner/PhotoAlbum.py", line 68, in cache
  File "/var/www/photofloat/scanner/PhotoAlbum.py", line 51, in _sort
  File "/var/www/photofloat/scanner/PhotoAlbum.py", line 323, in __cmp__
    date_compare = cmp(self.date, other.date)
  File "/var/www/photofloat/scanner/PhotoAlbum.py", line 319, in date
    correct_date = datetime.strptime(correct_date, '%Y:%m:%d %H:%M:%S')
  File "/usr/lib/python2.7/_strptime.py", line 325, in _strptime
    (data_string, format))
ValueError: time data '0000:00:00 00:00:00' does not match format '%Y:%m:%d %H:%M:%S'

How can I find out which file(s) the scanner is choking on? Or perhaps someone can tell me in which order the scanner processes file (alphabetically, order by oldest or first folder/file)?

Thanks in advance.

For what it’s worth: I’ve added a second ip address to my ubuntu for ease of Nginx configuration and thus it’s not accessible from the Internet (I’ve port forwarded http and https on a different ip address).



Op 8 dec. 2014, om 19:00 heeft Jason A. Donenfeld <Jason at zx2c4.com> het volgende geschreven:

> On Dec 1, 2014 10:14 PM, "John Griessen" <john at industromatic.com> wrote:
> >
> > The creator of photofloat makes an email list response every 1.3 years.
> >
> > There may be 13 users of photofloat worldwide.
> >
> > The list runs on a server owned by the creator.
> >
> > This comment may get me banned.
> LOL!
> Pretty grim. Fortunately I'm still a person, and I'll get back into the groove of maintaining things at some point. I don't want to follow the djb example of, "here's a public domain code dump. Good luck maintaining it!" But rather I'd prefer to do things responsibly. And, to stop making excuses for myself when I'm distant. In any case, I'm in Torres del Paine right now (when this message sends, I'll probably be closer to Punta Arenas), so no real computer, but I'll be back in ~2 weeks or so. Maybe at that point the whole mailing can go wild poking me to be a person again, and then I'll get the machine rolling.
> Biggest priority for me is the unicode errors / python3ification. After that would probably be improving the documentation for folks. Then finally, merging people's work on html5video, rss, and other things.
> _______________________________________________
> PhotoFloat mailing list
> PhotoFloat at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/photofloat

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/photofloat/attachments/20141212/a096e0d9/attachment.html>

More information about the PhotoFloat mailing list