[PhotoFloat] Bugreport

photofloat.thegrue at spamgourmet.com photofloat.thegrue at spamgourmet.com
Sat Aug 13 15:41:45 CEST 2016


Hello,

While I was migrating from my menalto gallery to PhotoFloat, this happened:

2016-08-13T15:34:04.352962   |  |  |--[thumbing]      DSC_1360.JPG -> 1024px
2016-08-13T15:34:04.996967   |  |  |--[metainfo]      IMG_20140802_094902157.jpg
2016-08-13T15:34:05.001906   |  |  |--[thumbing]      IMG_20140802_094902157.jpg -> 75px, square
2016-08-13T15:34:05.167673   |  |  |--[thumbing]      IMG_20140802_094902157.jpg -> 150px, square
2016-08-13T15:34:05.272154   |  |  |--[thumbing]      IMG_20140802_094902157.jpg -> 640px
2016-08-13T15:34:05.446652   |  |  |--[thumbing]      IMG_20140802_094902157.jpg -> 800px
2016-08-13T15:34:05.646416   |  |  |--[thumbing]      IMG_20140802_094902157.jpg -> 1024px
Traceback (most recent call last):
  File "./main.py", line 23, in <module>
    main()
  File "./main.py", line 17, in main
    TreeWalker(sys.argv[1], sys.argv[2])
  File "/home/markus/src/PhotoFloat/scanner/TreeWalker.py", line 16, in __init__
    self.walk(self.album_path)
  File "/home/markus/src/PhotoFloat/scanner/TreeWalker.py", line 62, in walk
    next_walked_album = self.walk(entry)
  File "/home/markus/src/PhotoFloat/scanner/TreeWalker.py", line 62, in walk
    next_walked_album = self.walk(entry)
  File "/home/markus/src/PhotoFloat/scanner/TreeWalker.py", line 57, in walk
    message("unicode error", entry.decode(sys.getfilesystemencoding(), "replace"))
  File "/home/markus/src/PhotoFloat/scanner/CachePath.py", line 9, in message
    print "%s %s%s[%s]%s%s" % (datetime.now().isoformat(), max(0, message.level) * "  |", sep, category, max(1, (14 - len(category))) * " ", text)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 60-63: ordinal not in range(128)


... and the script aborted. No hint on which file the error happened. I think
a much better behaviour would be to continue and report the failed files when
the script exits.

Now, how can I continue?

cu
--
Markus Grunwald
http://www.the-grue.de


More information about the PhotoFloat mailing list