Default eric install : error when closing last file : dependency problem

Bug #246344 reported by Christian González
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eric (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: eric

Steps to reproduce:
Install eric, open it.
click on new file (as many times you wish)
close all open files using the X button on the upper right side of the editor.

When the last file is closed, eric brings up an error message:

Warning

An unhandled exception occurred. Please report the problem using the error reporting dialog or via email to <email address hidden>. A log has been written to "/home/christian/.eric4/eric4_error.log".
Error information:
--------------------------------------------------------------------------------
2008-07-07, 19:46:45
--------------------------------------------------------------------------------
<type 'exceptions.AttributeError'>:
'NoneType' object has no attribute 'setFocus'
--------------------------------------------------------------------------------
File "/usr/share/eric/modules/Plugins/ViewManagerPlugins/Tabview/Tabview.py", line 628, in __currentChanged
editor.setFocus()
--------------------------------------------------------------------------------
Version Numbers:
Python 2.5.2
Qt 4.4.0
PyQt4 4.3.3
sip 4.7.3
QScintilla 2-snapshot-20070923
eric4 4.1.1 (r1972)
Platform: linux2
2.5.2 (r252:60911, May 7 2008, 15:19:09)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]

Revision history for this message
Xavier Verne (xavier-verne) wrote :

Hello, I've just hit a similar problem trying to setup python and QT development environment on Hardy.

Detlev quickly answered me on this topic

****************************
Hi,

the problem is not related to opening an eric3 project file. Your version of
eric4 is not compatible with Qt 4.4 because it changed the API a little bit
causing problems like the one you observed. Please upgrade to a more recent
release (>= 4.1.5) and try again.

Regards,
Detlev
*****************************

In Intrepid this should not happen since eric IDE version is 4.1.5... And QT is 4.4.x

Christian :
1. Would you confirm your problem happened on Hardy and not
2. May be you can use in eric4 Help-> Report a bug and being confirmed the problem and maybe a hint for a solution ?

For ubuntu eric maintainer : is it possible to backport eric4 for hardy, as for a LTS maybe it's fine to have an easy python development setup ? What is the process to solve this kind of "dependency issues" ?

Thank you for reporting the bug and make Ubuntu better.

Best regards,
Xavier.

Revision history for this message
Xavier Verne (xavier-verne) wrote :

Confirmation from Detlev that we hit the same problem :

*************************
Hi,

yes, I confirm that this is the same problem. Further to this, if eric is
upgraded to 4.2.x, you need QScintilla 2.2 or newer as well. The Ubuntu
QScintilla snapshot is veeeeeery old!

Regards,
Detlev
************************

I mark this bug confirmed.

Ubuntu folks, what can be done to solve this dependency problem and make a default "eric" install ok ?

Revision history for this message
Xavier Verne (xavier-verne) wrote :

Behaviour confirmed from eric developers. See comments.

I confirm this bug as a Ubuntu bug, not upstream one, at least on Hardy

Changed in eric:
status: New → Confirmed
Revision history for this message
Scott Kitterman (kitterman) wrote :

We have QScintilla 2.2 in Intrepid/Jaunty, but updating the QScintilla in Hardy would be extremely problematic. We did do some patches of Eric in Hardy to work around some of these issues. If someone can come up with a patch to the existing Eric in Hardy, we can probably get the uploaded. Major dependency updates just aren't going to happen.

Revision history for this message
Xavier Verne (xavier-verne) wrote :

Thank you for your answer. The situation is pretty clear.

Actually I don't think I'm requesting updating QScintilla in Hardy.

Is there a way to have a _default_ eric install on Hardy which would not rise these kinds of error ?

I still don't see the exact consequences...Do you consider eric usable even with this type of bug ?

If yes may be we can let this until...The next LTS, which seems to be in a long time :-)

IOW, What do you think can - needs to - be done ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.