From pykde Fri Nov 17 19:25:38 2006 From: Detlev Offenbach Date: Fri, 17 Nov 2006 19:25:38 +0000 To: pykde Subject: Re: [PyKDE] TypeError: argument 1 of QsciScintilla() has an invalid Message-Id: <200611172025.38728.detlev () die-offenbachs ! de> X-MARC-Message: https://marc.info/?l=pykde&m=116379163710835 Hallo, unfortunately I cannot reproduce the problem. Cann you please try to determine the type of "parent" in the file given below? Regards, Detlev On Thursday 16 November 2006 10:49, Daryl Dusheiko wrote: > Hi > > I am using Ubuntu (edgy). I have manually built and installed the > following: eric4-snapshot-20061112 > PyQt-x11-gpl-4.1 > QScintilla2-1.71-gpl-2-snapshot-20061104 > sip-4.5 > > Python 2.4 was installed as part of the distro. > > > When I start eric4 I get the following error: > > > Warning: translation file 'qt_en_AU'could not be loaded. > Using default. > Warning: translation file 'eric4_en_AU'could not be loaded. > Using default. > Warning: translation file 'qscintilla_en_AU'could not be loaded. > Using default. > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/eric4/eric4.py", line 155, in ? > main() > File "/usr/lib/python2.4/site-packages/eric4/eric4.py", line 140, in main > mw = UserInterface(loc, splash) > File "/usr/lib/python2.4/site-packages/eric4/UI/UserInterface.py", > line 229, in __init__ > self.__createLayout(debugServer) > File "/usr/lib/python2.4/site-packages/eric4/UI/UserInterface.py", > line 657, in __createLayout > self.shell = Shell(debugServer, self.viewmanager, self.shellDock) > File "/usr/lib/python2.4/site-packages/eric4/QScintilla/Shell.py", > line 41, in __init__ > QsciScintillaCompat.__init__(self, parent) > File > "/usr/lib/python2.4/site-packages/eric4/QScintilla/QsciScintillaCompat.py", > line 52, in __init__ > QsciScintilla.__init__(self, parent) > TypeError: argument 1 of QsciScintilla() has an invalid type > > > Cheers > > Daryl -- Detlev Offenbach detlev@die-offenbachs.de _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde