[pdfgui bug] i can't do anything. if i try to save it gives me an error message

30 views
Skip to first unread message

dif...@diffpy.org

unread,
Mar 31, 2014, 6:14:49 AM3/31/14
to diffp...@googlegroups.com
reporter: paolo....@unimi.it

summary: i can't do anything. if i try to save it gives me an error message

description: i can't do anything. if i try to save my work it gives me an error message. if i close the program it asks me if i want to save it, but if i click "ok" i have the same error before, if i click "no" it does not close


component: pdfgui

version: 1.0-r3067-20090410

traceback:
Traceback (most recent call last):
File "C:\DiffPy\Python25\lib\site-packages\diffpy.pdfgui-1.0_r3067_20090410-py2.5.egg\diffpy\pdfgui\gui\errorwrapper.py", line 60, in _f
return func(*args, **kwargs)
File "C:\DiffPy\Python25\lib\site-packages\diffpy.pdfgui-1.0_r3067_20090410-py2.5.egg\diffpy\pdfgui\gui\mainframe.py", line 2176, in onSave
self.control.save(self.fullpath)
File "C:\DiffPy\Python25\lib\site-packages\diffpy.pdfgui-1.0_r3067_20090410-py2.5.egg\diffpy\pdfgui\control\pdfguicontrol.py", line 507, in save
self.projfile = projfile.encode('ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb0 in position 115: ordinal not in range(128)

Pavol Juhas

unread,
Mar 31, 2014, 3:05:30 PM3/31/14
to diffp...@googlegroups.com, dif...@diffpy.org
Hello,

Sorry about the inconvenience.  This happens because, PDFgui cannot write to directories
or files that contain accented characters - anywhere in their full path.  Please try again with
paths that have only plain ASCII characters.

Hope this helps,

Pavol
Reply all
Reply to author
Forward
0 new messages