Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 42 by
petur.eu: unicode characters in the filename.
http://code.google.com/p/thotkeeper/issues/detail?id=42
What steps will reproduce the problem?
1. using linux, ./thotkeeper
2. file->new
3. choose a unicode filename, such as "pétur"
What is the expected output? What do you see instead?
Expected output would be access to my newly created diary.
Instead i'm kicked back to the first screen.
What version of the product are you using? On what operating system?
Version 0.4.0
Please provide any additional information below.
Console output:
petur@O2:~/Downloads/thotkeeper-0.4.0$ ./thotkeeper
(python:11764): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
allocate widget with width -5 and height 17
(python:11764): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
allocate widget with width -5 and height 17
Traceback (most recent call last):
File "./lib/tk_main.py", line 1237, in _FileNewMenu
self._SetDataFile(path, True)
File "./lib/tk_main.py", line 781, in _SetDataFile
self.entries = tk_data.parse_data(datafile)
File "./lib/tk_data.py", line 463, in parse_data
xml.sax.parse(datafile, handler)
File "/usr/lib/python2.6/xml/sax/__init__.py", line 33, in parse
parser.parse(source)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.6/xml/sax/xmlreader.py", line 119, in parse
self.prepareParser(source)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 111, in
prepareParser
self._parser.SetBase(source.getSystemId())
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in
position 29: ordinal not in range(128)
Feel free to contact me: petur -{at}- petur -{dot}- eu
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings