pkolarov / folders2flickr

Automatically exported from code.google.com/p/folders2flickr
7 stars 2 forks source link

Folder names with german "Umlaut" always created as new album/set #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create folder with ä/ü/ö in name
2. insert some fotos there
3. run folders2flickr
4. run it again

What is the expected output? What do you see instead?
Also folders with german umlaute (ü, ö, ä) are supported and recognized as 
exsisting folder. Instead it alwys creates a new set/album in flickr fr the 
same folder "2013-06-04 11:46:50,371 DEBUG tags2set: Creating new set 
**ö**ä**ü"

What version of the product are you using? On what operating system?
I am using the actual SVN Version in Ubuntu 13.04 from your repository.

Please provide any additional information below.

Original issue reported on code.google.com by jensmah...@gmail.com on 4 Jun 2013 at 9:49

GoogleCodeExporter commented 9 years ago
I noticed the same error (In Finnish!). It's probably due to a string 
comparison error. This is what I get "tags2set.py:25: UnicodeWarning: Unicode 
equal comparison failed to convert both arguments to Unicode - interpreting 
them as being unequal
  if(s.title == setName):
"

Don't know enough Python to fix it, unfortunately.

Original comment by jan...@gmail.com on 27 Jun 2013 at 11:28