[Eric] TypeError: argument 1 of QsciScintilla() has an invalid type

Detlev Offenbach detlev at die-offenbachs.de
Fri Dec 8 18:44:48 GMT 2006


Hi,

that error was seen previously with different versions of PyQt4 and 
QScintilla2. Unfortunately I cannot reproduce it over here and most times 
they disappeared. The cause is not known so far. Any help in tracing this 
problem would be welcomed.

Regards,
Detlev

On Thursday 07 December 2006 20:46, Miguel Angel Cañedo wrote:
> Hi I'm new to PyQt so I wanto to start with Qt4 exclusivelly (no Qt3)
> I want to install Eric4, therefore I have to compile what it takes:
> I'm on Kubuntu 6.10
> Qt 4.2.0 is installed by default.
> I have downloaded and Iinstalled:
> QScintilla-1.71-gpl-2-snapshot-20061126
> sip-4.5
> PyQt-x11-gpl-4-snapshot-20061203
> eric4-snapshot-20061112
>
> When running eric4, I got the following error:
>
> Warning: translation file 'qt_es_MX'could not be loaded.
> Using default.
> Warning: translation file 'eric4_es_MX'could not be loaded.
> Using default.
> Warning: translation file 'qscintilla_es_MX'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
>
>
> -Any Idea what I'm doing wrong?
> -Do I have to update to Qt4.2.2?
> -I have already compiled QT4.2.2 but with default options therefor I have
> It all in /usr/local/Trolltech/QT4.2.2
> I have exported that to the path but my system is still using 4.2.0 (I know
> that from qtversion runing a python program).
>
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric

-- 
Detlev Offenbach
detlev at die-offenbachs.de



More information about the Eric mailing list