tblancher / pymazon

Automatically exported from code.google.com/p/pymazon
Other
0 stars 0 forks source link

Unicode handle fail #32

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Unicode failure, band with ö in name causes stack trace.

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/pymazon/qt/ui.py", line 150, in on_actionLoadFiles_triggered
    self.new_amz()
  File "/usr/local/lib/python2.6/dist-packages/pymazon/qt/ui.py", line 181, in new_amz
    QFileDialog.getOpenFileNames(self, caption, '', filefilter)]
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 
25: ordinal not in range(128)
Enter one-line summary 

Original issue reported on code.google.com by neri...@gmail.com on 25 Jan 2011 at 6:56

GoogleCodeExporter commented 8 years ago
Rather, it was the directory that the .amz file was located in, that had an ö 
in the name, when I moved to file to a different dir with no non-ascii chars in 
the path, it loaded without issue. 

Original comment by neri...@gmail.com on 25 Jan 2011 at 7:02