[PyKDE] pylupdate4 parse error on files with .pyw extension

Martin Kiebacher makieb at googlemail.com
Wed Nov 29 15:05:53 GMT 2006


Hello list,

when i try to create a .ts-file from my python-script with
.pyw-extension, i'm getting the following error message from
pylupdate4:

XML error: Parse error at line 1, column 1 (error occurred while
parsing element).
form_04.pyw: Parse error in UI file

A ts-file is being created, but without the necessary elements in it.
When i rename the file-extension to .py everything works fine!

Here is the command-line i used:

pylupdate4 -verbose src\form_04.pyw -ts translations\form_de.ts

os is windows xp.

Any help appreciated,

martin




More information about the PyQt mailing list