[Eric] Re: Bug

Vicent Mas uvep at ono.com
Mon Apr 2 11:11:52 BST 2007


El Monday, 2 de April de 2007 11:53 Detlev Offenbach escribió:
> On Montag, 2. April 2007, Vicent Mas wrote:
> > Hi,
> >
> > last Friday I updated my QScintilla to
> > QScintilla-1.72-gpl-2-snapshot-20070318.
> > Now when I try to launch the eric4 Preferences dialog I get the
> > following warning:
> >
> > -------------------------------------------------------------------
> >-------- ----- 2007-04-02, 11:26:50
> > -------------------------------------------------------------------
> >-------- ----- exceptions.ImportError:
> > cannot import name QsciLexerD
> > -------------------------------------------------------------------
> >-------- ----- File
> > "/usr/lib/python2.4/site-packages/eric4/UI/UserInterface.py", line
> > 3160, in __preferences
> >     dlg = ConfigurationDialog(self, 'Configuration', True)
> >
> > File
> > "/usr/lib/python2.4/site-packages/eric4/Preferences/ConfigurationDi
> >alog.py" , line 238, in __init__
> >     self.__initLexers()
> >
> > File
> > "/usr/lib/python2.4/site-packages/eric4/Preferences/ConfigurationDi
> >alog.py" , line 250, in __initLexers
> >     self.lexers['D'] = PreferencesLexer('D', self)
> >
> > File
> > "/usr/lib/python2.4/site-packages/eric4/Preferences/PreferencesLexe
> >r.py", line 109, in __init__
> >     from QScintilla.LexerD import LexerD
> >   File
> > "/usr/lib/python2.4/site-packages/eric4/QScintilla/LexerD.py", line
> > 10, in ?
> >     from PyQt4.Qsci import QsciLexerD
> >
> > -------------------------------------------------------------------
> >-------- ----- Version Numbers:
> >   Python 2.4.4
> >   Qt 4.2.2
> >   PyQt4 4.1.1
> >   sip 4.5.2
> >   QScintilla 2-snapshot-20070304
>
>                           ^^^^^^^^
>
> You didn't really update to latest QScintilla snapshot. You probably
> forgot to update the Python bindings as well.
>
> >   Eric4 4.0-snapshot-20070325
> >   Bicycle Repair Man CVS-20041120
> >
> > Platform: linux2
> > 2.4.4 (#2, Jan 13 2007, 17:50:26)
> > [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
> >
> > Strangely enough, the QScintilla detected version is not 20070318
> > (the only currently installed) but 20070304.
> >
> > Any help will be appreciated.
>
> Detlev

OK. It fixes the problem.

Thanks.
-- 
::

	Share what you know, learn what you don't




More information about the Eric mailing list