[Eric] problem running eric4 (solved)

Vincent Schut schut at sarvision.nl
Thu Nov 2 08:05:11 GMT 2006


Just FYI, I solved the problem by reinstalling sip and then QScintilla. 
Don't know why it didn't work the first time, but apparently something 
went wrong.

Thanks for the support,

Vincent.

Detlev Offenbach wrote:
> According to the print outpur everything is ok. I checked the latest 
> QScintilla snapshot and that shows, that the constructor takes a QWidget* as 
> an argument and QDockWidget is derived from QWidget. Because of this I 
> suspect a problem with your local setup
>
> Detlev
>
> On Wednesday 01 November 2006 08:24, Vincent Schut wrote:
>   
>> Hi Detlev,
>>
>> thanks for your reply. Probably it is something with my local setup... I
>> hope we can find the reason.
>>
>> Here is the result with 'print parent' inserted:
>>
>> Warning: translation file 'qt_en_US'could not be loaded.
>> Using default.
>> Warning: translation file 'eric4_en_US'could not be loaded.
>> Using default.
>> Warning: translation file 'qscintilla_en_US'could not be loaded.
>> Using default.
>> <PyQt4.QtGui.QDockWidget object at 0x2b944f9f91e8>
>> Traceback (most recent call last):
>>   File "/usr/lib64/python2.5/site-packages/eric4/eric4.py", line 155, in
>> <module>
>>     main()
>>   File "/usr/lib64/python2.5/site-packages/eric4/eric4.py", line 140, in
>> main
>>     mw = UserInterface(loc, splash)
>>   File "/usr/lib64/python2.5/site-packages/eric4/UI/UserInterface.py",
>> line 229, in __init__
>>     self.__createLayout(debugServer)
>>   File "/usr/lib64/python2.5/site-packages/eric4/UI/UserInterface.py",
>> line 631, in __createLayout
>>     self.shell = Shell(debugServer, self.viewmanager, self.shellDock)
>>   File "/usr/lib64/python2.5/site-packages/eric4/QScintilla/Shell.py",
>> line 42, in __init__
>>     QsciScintillaCompat.__init__(self, parent)
>>   File
>> "/usr/lib64/python2.5/site-packages/eric4/QScintilla/QsciScintillaCompat.py
>> ", line 52, in __init__
>>     QsciScintilla.__init__(self, parent)
>> TypeError: argument 1 of QsciScintilla() has an invalid type
>>
>> Maybe there is something wrong with my QScintilla install?
>>
>> Vincent.
>>
>> Detlev Offenbach wrote:
>>     
>>> The problem doesn't occur over here. Therefore I need your support.
>>>
>>> Please edit the file Shell.py and insert "print parent" as the first line
>>> of the constructor. Try to start eric4 and send the output back to me.
>>>
>>> Thanks,
>>> Detlev
>>>
>>> On Tuesday 31 October 2006 09:28, Vincent Schut wrote:
>>>       
>>>> Hi,
>>>>
>>>> I'm trying to get eric4 up and running. I have installed Qt-4.2.0, the
>>>> latest sip snapshot, the latest PyQt4 snapshot, the latest QScintilla
>>>> snapshot, and the latest eric4 snapshot.
>>>> Everything compiled and installed OK.
>>>>
>>>> However, when trying to launch eric4, I get the following error:
>>>>
>>>> Warning: translation file 'qt_en_US'could not be loaded.
>>>> Using default.
>>>> Warning: translation file 'eric4_en_US'could not be loaded.
>>>> Using default.
>>>> Warning: translation file 'qscintilla_en_US'could not be loaded.
>>>> Using default.
>>>> Traceback (most recent call last):
>>>>   File "/usr/lib64/python2.5/site-packages/eric4/eric4.py", line 155, in
>>>> <module>
>>>>     main()
>>>>   File "/usr/lib64/python2.5/site-packages/eric4/eric4.py", line 140, in
>>>> main
>>>>     mw = UserInterface(loc, splash)
>>>>   File "/usr/lib64/python2.5/site-packages/eric4/UI/UserInterface.py",
>>>> line 229, in __init__
>>>>     self.__createLayout(debugServer)
>>>>   File "/usr/lib64/python2.5/site-packages/eric4/UI/UserInterface.py",
>>>> line 631, in __createLayout
>>>>     self.shell = Shell(debugServer, self.viewmanager, self.shellDock)
>>>>   File "/usr/lib64/python2.5/site-packages/eric4/QScintilla/Shell.py",
>>>> line 41, in __init__
>>>>     QsciScintillaCompat.__init__(self, parent)
>>>>   File
>>>> "/usr/lib64/python2.5/site-packages/eric4/QScintilla/QsciScintillaCompat
>>>> .py ", line 52, in __init__
>>>>     QsciScintilla.__init__(self, parent)
>>>> TypeError: argument 1 of QsciScintilla() has an invalid type
>>>>
>>>> Can someone give me a hint what I've done wrong?
>>>>
>>>> Cheers,
>>>> Vincent.
>>>> _______________________________________________
>>>> Eric mailing list
>>>> Eric at riverbankcomputing.com
>>>> http://www.riverbankcomputing.com/mailman/listinfo/eric
>>>>         
>
>   



More information about the Eric mailing list