[PyKDE] pyuic4 crashing
Andreas Pakulat
apaku at gmx.de
Sun Oct 29 17:52:01 GMT 2006
On 29.10.06 18:05:14, Carles Pina i Estany wrote:
>
> Hello,
>
> On Oct/29/2006, Carles Pina i Estany wrote:
>
> > With this file (12KB):
> > http://pinux.info/fitxers/main.ui
> >
> > And executing pyuic4 main.ui -o main.py :
> >
> > Traceback (most recent call last):
> > File "/usr/bin/pyuic4", line 76, in ?
> > sys.stderr.write(e)
> > TypeError: argument 1 must be string or read-only character buffer, not
> > instance
> >
> > It was working fine until I added some tabs and last tab contents. I will try
> > to delete things, etc.
>
> I found the problem: to add QImageWidget (to show images). Then pyuic4
> doesn't work anymore.
Where does QImageWidget come from? It's certainly not a Qt4 class,
pyuic4 only knows about Qt4 classes, afaik.
Andreas
--
You single-handedly fought your way into this hopeless mess.
More information about the PyQt
mailing list