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

Miguel Angel Cañedo mcanedo at grupogcm.com
Thu Dec 7 19:46:14 GMT 2006


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).



More information about the Eric mailing list