Your app looks great, but there is a problem with non-ascii characters (for example polish), when i'm running CallibreKindeCollections withous any option i've got something like this:
Code:
ADDED 2 items to collection "- Fandorin - Boris Akunin"
ADDED 10 items to collection "- Steven Erikson"
ADDED 4 items to collection "- Unknown"
ADDED 16 items to collection "- Orson Scott Card"
Traceback (most recent call last):
File "CalibreKindleCollections.py", line 902, in <module>
createCollectionsFromCalibre()
File "CalibreKindleCollections.py", line 354, in createCollectionsFromCalibre
endAddBooks()
File "CalibreKindleCollections.py", line 466, in endAddBooks
print collDesc.encode('utf-8')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 38: ordinal not in range(128)
I've attached my metadata.calibre file (just change extension from txt)
And second error when i'm trying to cleanup collections
Code:
python CalibreKindleCollections.py --noupdatecollections --nomiscellanycollection --sortcollections
Code:
Retrieving list of all books on kindle. This may take a little while.
Checking for any books which are in collections but are no longer on the kindle.
Traceback (most recent call last):
File "CalibreKindleCollections.py", line 910, in <module>
cleanupCollections()
File "CalibreKindleCollections.py", line 533, in cleanupCollections
if asin != UserGuideAsin:
NameError: global name 'UserGuideAsin' is not defined