I'm modifying the V4.2 windows installation package to allow it support Chinese 
better. 

I followed the instruction from vcc and knerz in this forum by modifying the 
files like trml2pdf.py, __init__.py and all the rml and xsl in addons 
directory. (http://www.tinyerp.com/forum/topic1943.html)

It did work perfectly in my Unbuntu box as regard the chinese pdf report.

Then, I compiled the trml2pdf.py and related __init__.py to .pyo file, and use 
them to replace the corresponding files in the "library.zip" ,which is located 
in the Tiny server installation path on windows. 

Can anybody advise me where I did wrong for the above file replacement, as 
after the change to the library.zip file, tinyserver on windows is prompt the 
following error and fail to start.

Thank you very much in advance for your great help.

Traceback (most recent call last):
&nbsp; File "tinyerp-server.py", line 163, in <module>
&nbsp; File "report\__init__.pyo", line 29, in <module>
&nbsp; File "report\interface.pyo", line 41, in <module>
&nbsp; File "report\render\__init__.pyo", line 30, in <module>
&nbsp; File "report\render\rml.pyo", line 30, in <module>
&nbsp; File "d&#58;\TinyERP Server\addons\__init__.py", line 50, in <module>
&nbsp; &nbsp; class Graph&#40;dict&#41;&#58;
ImportError&#58; No module named cidfonts
[/code]





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

Reply via email to