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): File "tinyerp-server.py", line 163, in <module> File "report\__init__.pyo", line 29, in <module> File "report\interface.pyo", line 41, in <module> File "report\render\__init__.pyo", line 30, in <module> File "report\render\rml.pyo", line 30, in <module> File "d:\TinyERP Server\addons\__init__.py", line 50, in <module> class Graph(dict): ImportError: No module named cidfonts [/code] _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
