You are not logged in.

#1 2011-12-23 13:16:20

Jamiroph
Member
Registered: 2011-12-23
Posts: 3

[SOLVED] Eric4 and Eric not working.

After updates today I can't open Eric or Eric4. The error I get relates to a missing module from PyQt QtHelp. I've tried to grab the package with pip and also manually download the tar and install it but neither works. I have a bug report open in eric4 about this but was wondering if anyone had come across it before or managed to fix it.

This is the error outputted when it fails:-

Warning: translation file 'qt_en_GB'could not be loaded.
Using default.
Warning: translation file 'eric5_en_GB'could not be loaded.
Using default.
Warning: translation file 'qscintilla_en_GB'could not be loaded.
Using default.
An unhandled exception occurred. Please report the problem
using the error reporting dialog or via email to <eric5-bugs@eric-ide.python-projects.org>.
A log has been written to "/home/jsanders/.eric5/eric5_error.log".

Error information:
--------------------------------------------------------------------------------
2011-12-23, 13:15:35
--------------------------------------------------------------------------------
<class 'ImportError'>:
No module named QtHelp
--------------------------------------------------------------------------------
  File "/usr/lib/python3.2/site-packages/eric5/eric5.py", line 264, in <module>
    main()
  File "/usr/lib/python3.2/site-packages/eric5/eric5.py", line 241, in main
    from UI.UserInterface import UserInterface
  File "/usr/lib/python3.2/site-packages/eric5/UI/UserInterface.py", line 37, in <module>
    from Helpviewer.HelpWindow import HelpWindow
  File "/usr/lib/python3.2/site-packages/eric5/Helpviewer/HelpWindow.py", line 15, in <module>
    from PyQt4.QtHelp import QHelpEngine, QHelpEngineCore, QHelpSearchQuery

--------------------------------------------------------------------------------
Version Numbers:
  Python 3.2.2
  Qt 4.8.0
  PyQt4 4.8.6
  sip 4.13
  QScintilla 2.6
  WebKit 534.34
  eric5 5.1.7 (rev b4f1f7ece569)

Platform: linux2
3.2.2 (default, Nov 21 2011, 16:50:59)
[GCC 4.6.2]
--------------------------------------------------------------------------------
Distribution Info:
  /etc/arch-release

Last edited by ilpianista (2011-12-24 16:01:41)

Offline

#2 2011-12-23 13:19:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Eric4 and Eric not working.

Which bug report do you mean - this one: https://bugs.archlinux.org/task/27665 ?


Edit: Ah, now I see your bug report: https://bugs.archlinux.org/task/27682

Last edited by karol (2011-12-23 13:57:03)

Offline

#3 2011-12-24 00:49:42

mervinb
Member
Registered: 2011-11-19
Posts: 25

Re: [SOLVED] Eric4 and Eric not working.

Yes, I see exactly the same issues, even after a couple of PyQt4 updates came in overnight. Affects both Eric and Eric4 for me (on x86_64).

Offline

#4 2011-12-24 00:52:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Eric4 and Eric not working.

Do you have pyqt 4.9-2?

Offline

#5 2011-12-24 16:01:27

ilpianista
Fellow developer
Registered: 2007-10-06
Posts: 568
Website

Re: [SOLVED] Eric4 and Eric not working.

You need both pyqt 4.9-2 and python-qscintilla 2.6-2 to fix them.

Offline

#6 2012-01-12 11:02:07

Kobussie
Member
From: NL - Groningen
Registered: 2007-04-06
Posts: 43
Website

Re: [SOLVED] Eric4 and Eric not working.

Problem NOT solved for me. [SOLVED] now!

I have just installed eric4; when I try to start it, it gives me "Segmentation fault".
I have:

# pacman -Qi pyqt
Name           : pyqt
Version        : 4.9-2
...

# pacman -Qi python-qscintilla
Name           : python-qscintilla
Version        : 2.6-2
...

After a full system update (pacman -Syu) eric4 works!
Now I'll have to find out HOW it works... smile

Last edited by Kobussie (2012-01-15 13:56:34)

Offline

#7 2012-01-12 11:14:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Eric4 and Eric not working.

Works for me on 32-bit.

It's enough if you run 'pacman -Q foo'  - not 'pacman -Qi foo' - to get the version number.

Offline

Board footer

Powered by FluxBB