Dear all

hope someone can help me out here..i am in the middle of localizing to my 
language and I run into a strange error..

I have:
Windows XP
Tiny 4.2
Python 2.5

So the thing is that my language contains some special characters like "á", "ó" 
and some others. I have translated almost everything now, special characters 
work fine everywhere except for the location tree. 

I have renamed the default values given by the setup to my language and when I 
try to open a location tree element I get the error you can see below. However 
when I rename the locations so that they don't contain any special characters, 
the view opens just fine..
When I create a new location tree the same thing happens, with non special 
characters all is fine, otherwise not..

Full error message is as below>

ERROR:common.message:MSG 'ascii' codec can't decode byte 0xc3 in position 19: 
ordinal not in range(128): Traceback (most recent call last):
  File "netsvc.pyo", line 206, in _dispatch
  File "service\web_services.pyo", line 366, in execute
  File "osv\osv.pyo", line 111, in execute
  File "osv\osv.pyo", line 92, in execute_cr
  File "osv\orm.pyo", line 1506, in fields_view_get
  File "osv\orm.pyo", line 1368, in __view_look_dom_arch
  File "xml\dom\minidom.pyo", line 45, in toxml
  File "xml\dom\minidom.pyo", line 57, in toprettyxml
  File "xml\dom\minidom.pyo", line 1744, in writexml
  File "xml\dom\minidom.pyo", line 809, in writexml
  File "xml\dom\minidom.pyo", line 301, in _write_data
  File "codecs.pyo", line 303, in write
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 19: 
ordinal not in range(128)

AND MAYBE these lines >

Traceback (most recent call last):
  File "modules\gui\window\tree.pyo", line 200, in sig_open
  File "modules\gui\window\tree.pyo", line 195, in sig_action
  File "modules\action\main.pyo", line 167, in exec_keyword
  File "modules\action\main.pyo", line 121, in _exec_action
  File "modules\gui\window\__init__.pyo", line 57, in create
  File "modules\gui\window\form.pyo", line 84, in __init__
  File "widget\screen\screen.pyo", line 103, in __init__
  File "widget\screen\screen.pyo", line 240, in add_view_id
TypeError: 'NoneType' object is unsubscriptable


Python 2.5 has ASCII set as default but I do not see why it would cause a 
problem only here while other menuitems, entries, etc are completely fine..

I have found some posts about ASCII issues but they were related to printing 
and ubuntu installs so I guess I am not asking something already asked..if I am 
wrong please point me to the solution or just pleease give me a clue what to do 
:)
tnx&cheers





_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to