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

List:       pykde
Subject:    Re: [PyQt] Windows 7: Qtdemo.pyw won't start
From:       Sibylle Koczian <nulla.epistola () web ! de>
Date:       2015-10-14 8:28:38
Message-ID: 561E1236.1060400 () web ! de
[Download RAW message or body]



Am 12.10.2015 um 15:30 schrieb Phil Thompson:
> On 12 Oct 2015, at 2:26 p.m., Sibylle Koczian <nulla.epistola@web.de> wrote:
> > 
> > Trying to start the PyQt demo program from the Windows command prompt I get this:
> > 
> > C:\Python34\Lib\site-packages\PyQt5\examples\qtdemo>py qtdemo.pyw
> > Traceback (most recent call last):
> > File "qtdemo.pyw", line 77, in <module>
> > MenuManager.instance().init(mainWindow)
> > File "C:\Python34\Lib\site-packages\PyQt5\examples\qtdemo\menumanager.py", lin
> > e 331, in init
> > self.createTicker()
> > File "C:\Python34\Lib\site-packages\PyQt5\examples\qtdemo\menumanager.py", lin
> > e 748, in createTicker
> > DemoItemAnimation.ANIM_IN)
> > File "C:\Python34\Lib\site-packages\PyQt5\examples\qtdemo\demoitemanimation.py
> > ", line 52, in __init__
> > super(DemoItemAnimation, self).__init__(item, 'pos')
> > TypeError: arguments did not match any overloaded call:
> > QPropertyAnimation(QObject parent=None): too many arguments
> > QPropertyAnimation(QObject, QByteArray, QObject parent=None): argument 2 has u
> > nexpected type 'str'
> > 
> > Using Python 3.4.3, PyQt 5.5 on Windows 7, 64 bit.
> > 
> > I suppose changing 'pos' to "b'pos'" would help at this point, but I suspect \
> > there's more of the same distributed through the application.
> 
> Correct - it is fixed in the current snapshot.
> 
> Phil
> 
Thank you. I've just exchanged the examples directory in my PyQt5 
installation, now I can use the demo program. But I wonder: the files 
there have the date 23.09.2015 ???

Sibylle
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


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

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