[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] pylupdate4 parse error on files with .pyw extension
From:       "Martin Kiebacher" <makieb () googlemail ! com>
Date:       2006-11-30 8:13:52
Message-ID: 719944540611300013k19ba5ac1yb56f3b1e399f70c6 () mail ! gmail ! com
[Download RAW message or body]

Thank's for your quick info.

I'am using the binaries, so i'll wait for a fix in the next official
pyqt-release.

martin

2006/11/29, Andreas Pakulat <apaku@gmx.de>:
> On 29.11.06 16:05:53, Martin Kiebacher wrote:
> > 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.
>
> Fix is simple, change pylupdate/main.cpp line 241 to read:
>                 if ( fi.suffix() == "py" || fi.sufffix() == "pyw" ) {
>
> If you're using PyQt4 binaries, I guess you have to wait until Phil
> fixes this in a snapshot.
>
> Andreas
>
> --
> Don't let your mind wander -- it's too little to be let out alone.
>
> _______________________________________________
> PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic