You are not logged in.

#1 2010-09-10 19:34:16

smaniam
Member
Registered: 2010-09-10
Posts: 3

[SOLVED] package eric is broken

Hi

On upgrading eric and python-scintilla2. I am unable to start eric. Looks like python-scintilla is broken (unknown symbol sciLexerSpice10braceStyleEv in Qsci.so)


Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/eric4/eric4.py", line 60, in <module>
    from KdeQt.KQApplication import KQApplication
  File "/usr/lib/python2.6/site-packages/eric4/KdeQt/__init__.py", line 20, in <module>
    import Preferences
  File "/usr/lib/python2.6/site-packages/eric4/Preferences/__init__.py", line 25, in <module>
    from PyQt4 import Qsci
ImportError: /usr/lib/python2.6/site-packages/PyQt4/Qsci.so: undefined symbol: _ZNK14QsciLexerSpice10braceStyleEv


Can someone please suggest me a fix?

Thanks
SS

Last edited by smaniam (2010-09-10 22:36:51)

Offline

#2 2010-09-10 19:50:05

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: [SOLVED] package eric is broken

Your system is update? I installed eric to test, and its open ok for me

Pacman installed the following

extra/eric-4.4.5-1
extra/python-qscintilla-2.4.4-2
extra/qscintilla-2.4.4-2

TIP: When asking for help try to post all the information relevant to the problem, i.e. in this case the version of the package is a must.

Last edited by kazuo (2010-09-10 19:51:36)

Offline

#3 2010-09-10 20:00:11

smaniam
Member
Registered: 2010-09-10
Posts: 3

Re: [SOLVED] package eric is broken

Thanks Kazuo, Problem solved.

The problem was qscintilla was not up to date. The dependency for python-qscintilla-2.4.4.2 needs to be updated to fetch qscintilla-2.4.4.2 or others would also face similar problem.

Thanks for the check.

SS

Offline

#4 2010-09-10 20:36:55

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED] package eric is broken

You didn't clarify whether your repo wasn't synced properly or whether you abused pacman (ie installing packages without syncing your database first). Your solution might help others, so please be so kind as to post it and add [Solved] to your topic.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2010-09-10 22:36:16

smaniam
Member
Registered: 2010-09-10
Posts: 3

Re: [SOLVED] package eric is broken

.:B:.
   The repository was synced correctly but pacman neither reported nor upgrade the corresponding version of qscintilla (though it correctly upgraded the python-qscintilla for eric)

   If anybody encounters this problem please upgrade qscintilla.

Enjoy
SS

Offline

#6 2010-12-27 14:36:31

DoDoENT
Member
Registered: 2010-06-09
Posts: 23

Re: [SOLVED] package eric is broken

Hello!

I've just installed eric4 from extra with 'sudo pacman -S eric' in order to try eric (I've just heard about it and wanted to try it), but it doesn't work.

On startup, it prints:

$ eric
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/eric4/eric4.py", line 60, in <module>
    from KdeQt.KQApplication import KQApplication
  File "/usr/lib/python2.7/site-packages/eric4/KdeQt/__init__.py", line 20, in <module>
    import Preferences
  File "/usr/lib/python2.7/site-packages/eric4/Preferences/__init__.py", line 25, in <module>
    from PyQt4 import Qsci
RuntimeError: the sip module implements API v8.0 but the PyQt4.Qsci module requires API v8.1

I've googled for error "RuntimeError: the sip module implements API v8.0 but the PyQt4.Qsci module requires API v8.1", but found only solutions if PyQt4.Qsci requires older API than sip implements. Packages python, python-qscintilla and qscintilla are installed and up-to-date.

 extra/python 3.1.3-1 [installed]
 extra/python-qscintilla 2.4.6-1 [installed]
 extra/qscintilla 2.4.6-1 [installed]
 extra/eric 4.4.9-1 [installed]
 extra/eric-plugins 4.4.4a-3 [installed]

Does anyone know how to fix this?

Last edited by DoDoENT (2010-12-27 14:37:42)


Smile! It makes people wonder what you are thinking about...

Offline

#7 2010-12-27 16:10:23

DoDoENT
Member
Registered: 2010-06-09
Posts: 23

Re: [SOLVED] package eric is broken

OK, never mind. I've solved it. I just had to update sip and everything works now.


Smile! It makes people wonder what you are thinking about...

Offline

#8 2010-12-27 16:48:32

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] package eric is broken

DoDoENT wrote:

OK, never mind. I've solved it. I just had to update sip and everything works now.

Stop doing -S(y) stuff, start doing -Syu stuff.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB