[PyKDE] eric3: Another installation glitch
Detlev Offenbach
detlev at die-offenbachs.de
Sat Jan 29 12:51:37 GMT 2005
Am Freitag, 28. Januar 2005 01:47 schrieb Brett Hunt:
> _Detlev Offenbach said:
> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> Am Montag, 27. Dezember 2004 05:00 schrieb Parzival Herzog:
> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> <snip> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > Thanks Phil, that worked, and installed PyKDE 3.11.3. Now eric
> starts, but <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > fails before showing its UI.
> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > It seems by the traceback (see below) something to do with
> QScintilla. And <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > er, I have no eric to debug with, and if I backtrack to get a
> working eric, <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > I wouldn't have this problem, or er, I couldn't run /this/ eric to
> get <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > /this/ problem. So, I beg of you again o gurus, what could be
> happening <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > now? <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > [parz at lobsang parz]$ eric3
> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > Loading required GL library /usr/X11R6/lib/libGL.so.1.2
> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > Warning: translation file 'qt_en_US'could not be loaded.
> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > Using default. <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > Warning: translation file 'eric3_en_US'could not be loaded.
> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > Using default. <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > Warning: translation file 'qscintilla_en_US'could not be loaded.
> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > Using default. <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > Traceback (most recent call last):
> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > File "/usr/lib/python2.3/site-packages/eric3/eric3.py", line 123,
> in ? <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > main() <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > File "/usr/lib/python2.3/site-packages/eric3/eric3.py", line 109,
> in main <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > mw = UserInterface(loc, splash)
> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > File "/usr/lib/python2.3/site-packages/UI/UserInterface.py", line
> 180, in <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > __init__ <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > File "/usr/lib/python2.3/site-packages/UI/UserInterface.py", line
> 513, in <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > createLayout <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > File "/usr/lib/python2.3/site-packages/eric3/__init__.py", line 47,
> in <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > factory <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > File "/usr/lib/python2.3/site-packages/ViewManager/Tabview.py",
> line 152, <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > in __init__ <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > File "/usr/lib/python2.3/site-packages/ViewManager/ViewManager.py",
> line <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > 72, in __init__
> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_ _> > File
> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> >
> "/usr/lib/python2.3/site-packages/QScintilla/SearchReplaceDialog.py",
> line <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > 52, in __init__
> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_ _> > File
> "/usr/lib/python2.3/site-packages/UI/E3Action.py", line 86, in
> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > __init__ TypeError: argument 2 of QAction() has an invalid type
> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> > [parz at lobsang parz]$
> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> That is not a QScintilla problem. Try to reinstall eric snapshot
> after the <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> update of PyKDE. The code works fine over here. If it still fails,
> please <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> insert a print statement at the beginning of the E3Action ctor.
> (print args). <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> The start eric on the commandline and redirect stdout to a file. In
> this file <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> search for a line conatining the string "search_dialog_find_next". It
> should <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> appear twice. The third and fourth entriy should be 0, 0.
> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> Regards, <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _> Detlev <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>_
> _
> Well, I'm having a similar problem. I have built from source and
> installed: sip, PyQt, qscintilla and PyKDE. Now I'm trying to run eric
> 3.6.0 and getting this same error. I put in the debug print that Detlev
> described and here is the output:
> [bhunt at bhunt-lnx eric-3.6.0]$ eric3
> Warning: translation file 'qt_en_US.UTF-8'could not be loaded.
> Using default.
> Warning: translation file 'eric3_en_US.UTF-8'could not be loaded.
> Using default.
> Warning: translation file 'qscintilla_en_US.UTF-8'could not be loaded.
> Using default.
> (<qt.QString instance at 0x9bb4b3c>, <qt.QString instance at 0x9bb504c>,
> 0, 0, <QScintilla.SearchReplaceDialog.SearchReplaceDialog instance at
> 0x9b947bc>, 'search_dialog_find_next')
> Traceback (most recent call last):
> File "/usr/lib/python2.2/site-packages/eric3/eric3.py", line 123, in ?
> main()
> File "/usr/lib/python2.2/site-packages/eric3/eric3.py", line 109, in main
> mw = UserInterface(loc, splash)
> File "/usr/lib/python2.2/site-packages/UI/UserInterface.py", line 180,
> in __init__
> File "/usr/lib/python2.2/site-packages/UI/UserInterface.py", line 513,
> in createLayout
> File "/usr/lib/python2.2/site-packages/eric3/__init__.py", line 47, in
> factory
> """
> File "/usr/lib/python2.2/site-packages/ViewManager/Tabview.py", line
> 152, in __init__
> File "/usr/lib/python2.2/site-packages/ViewManager/ViewManager.py",
> line 72, in __init__
> File
> "/usr/lib/python2.2/site-packages/QScintilla/SearchReplaceDialog.py",
> line 52, in __init__
> File "/usr/lib/python2.2/site-packages/eric3/UI/E3Action.py", line 87,
> in __init__
> self.mainAction = QAction(args[1+incr], args[2+incr], actParent)
> File "/usr/lib/python2.2/site-packages/qt.py", line 67, in __init__
> libqtc.sipCallCtor(221,self,args)
> TypeError: Argument 2 of QAction() has an invalid type
>
> It looks like the string 'search_dialog_find_next' only appears once
> (bad?) and arguments 3 and 4 are indeed 0.
>
> Any help would be greatly appreciated. By the way:
> sip-snapshot-20041224
> qscintilla-1.61-gpl-1.4
> PyQt-x11-gpl-3.13
> PyKDE-3.11.3.tar.gz
> qt-3.1.2-13.4
> python-2.2.3-5 (I don't have control over this one :( )
>
> Thanks,
> Brett Hunt
>
That is a bug which will be fixed in the 3.6.1 release.
Detlev
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the PyQt
mailing list