Am Montag, 27. Dezember 2004 05:00 schrieb Parzival Herzog: > On December 26, 2004 14:48, Phil Thompson wrote: > > On Sunday 26 December 2004 8:29 pm, Parzival Herzog wrote: > > > O.K. , So I had Eric 3.5.0, with PyQt 3.12, and QScintilla 1.3, and > > > thanks to your helps, QScintilla 1.4 and PyQt 3.13 is installed, and > > > eric-snapshot-20041223 became happy and installed, but I get the > > > following complaint running eric3, and again, I have not a clue what I > > > could do about it. > > > > > > So I humbly ask your advice again. > > <<snip>> > > > > RuntimeError: the qt module is version 1 but the kdecore module > > > requires version 0 > > > [EMAIL PROTECTED] eric-snapshot-20041223]$ > > > > Rebuild PyKDE so that it is built on PyQt 3.13 rather than an earlier > > version. > > Thanks Phil, that worked, and installed PyKDE 3.11.3. Now eric starts, but > fails before showing its UI. > > It seems by the traceback (see below) something to do with QScintilla. And > er, I have no eric to debug with, and if I backtrack to get a working eric, > I wouldn't have this problem, or er, I couldn't run /this/ eric to get > /this/ problem. So, I beg of you again o gurus, what could be happening > now? > > [EMAIL PROTECTED] parz]$ eric3 > Loading required GL library /usr/X11R6/lib/libGL.so.1.2 > Warning: translation file 'qt_en_US'could not be loaded. > Using default. > Warning: translation file 'eric3_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/lib/python2.3/site-packages/eric3/eric3.py", line 123, in ? > main() > File "/usr/lib/python2.3/site-packages/eric3/eric3.py", line 109, in main > mw = UserInterface(loc, splash) > File "/usr/lib/python2.3/site-packages/UI/UserInterface.py", line 180, in > __init__ > File "/usr/lib/python2.3/site-packages/UI/UserInterface.py", line 513, in > createLayout > File "/usr/lib/python2.3/site-packages/eric3/__init__.py", line 47, in > factory > > File "/usr/lib/python2.3/site-packages/ViewManager/Tabview.py", line 152, > in __init__ > File "/usr/lib/python2.3/site-packages/ViewManager/ViewManager.py", line > 72, in __init__ > File > "/usr/lib/python2.3/site-packages/QScintilla/SearchReplaceDialog.py", line > 52, in __init__ > File "/usr/lib/python2.3/site-packages/UI/E3Action.py", line 86, in > __init__ TypeError: argument 2 of QAction() has an invalid type > [EMAIL PROTECTED] parz]$
That is not a QScintilla problem. Try to reinstall eric snapshot after the update of PyKDE. The code works fine over here. If it still fails, please insert a print statement at the beginning of the E3Action ctor. (print args). The start eric on the commandline and redirect stdout to a file. In this file search for a line conatining the string "search_dialog_find_next". It should appear twice. The third and fourth entriy should be 0, 0. Regards, Detlev -- Detlev Offenbach [EMAIL PROTECTED] _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
