[PyQt] Strange Qt 4.4 behavior

Gustavo A. Díaz gustavo.diaz at gmail.com
Sun May 18 20:52:22 BST 2008


Detlev,

Hi. I think this has something to do too with it? When I close Eric, which
has tabs oppened, i have this result:

 An unhandled exception occurred. Please report the problem using the error
reporting dialog or via email to <eric4-bugs at die-offenbachs.de>. A log has
been written to "/home/gustavo/.eric4/eric4_error.log".

Error information:
--------------------------------------------------------------------------------
2008-05-18, 16:50:42
--------------------------------------------------------------------------------
<type 'exceptions.AttributeError'>:
'NoneType' object has no attribute 'setFocus'
--------------------------------------------------------------------------------
File
"/usr/lib/python2.5/site-packages/eric4/Plugins/ViewManagerPlugins/Tabview/Tabview.py",
line 669, in __currentChanged
editor.setFocus()

--------------------------------------------------------------------------------
Version Numbers:
Python 2.5.2
Qt 4.4.0
PyQt4 4.4.1-snapshot-20080516
sip 4.7.6-snapshot-20080516
QScintilla 2.2
eric4 4.2-snapshot-20080503 (r2148)

Platform: linux2
2.5.2 (r252:60911, May 7 2008, 15:19:09)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]

Cheers.

-- 
Gustavo A. Díaz
GDNet Projects
www.gdnet.com.ar


2008/5/18 Detlev Offenbach <detlev at die-offenbachs.de>:

> Hi,
>
> recently I received a bunch of bug reports for eric4 that seem to be
> related
> to a change in Qt 4.4. It seems, that the "currentChanged(int)" signal of
> QTabWidget gives "-1" as the index, which causes the code of the connected
> method to fail. Can anybody confirm this because I haven't upgraded tp Qt
> 4.4
> yet (on the schedule for the week to come).
>
> Regards,
> Detlev
> --
> Detlev Offenbach
> detlev at die-offenbachs.de
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080518/bf846bc2/attachment.html


More information about the PyQt mailing list