Hi, that type is correct and should work because QDockWidget is inheriting from QWidget, which is the correct type for the parent argument. Detlev On Monday 20 November 2006 04:59, Daryl Dusheiko wrote: > Hi the type is: > > > Detlev Offenbach wrote: > 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