[Bug 1161818] Re: QTextBlockUserData loses its data
Dmitrijs Ledkovs
launchpad at surgut.co.uk
Fri Mar 29 12:46:29 UTC 2013
In iPython ther is also:
if QtCore.PYQT_VERSION_STR < '4.7':
# PyQt 4.6 has issues with null strings returning as None
raise ImportError
Which is also wrong:
ipython -c "import PyQt4; from PyQt4 import QtCore, QtGui, QtSvg; print(QtCore.PYQT_VERSION_STR < '4.7')"
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-qt4 in Ubuntu.
https://bugs.launchpad.net/bugs/1161818
Title:
QTextBlockUserData loses its data
Status in “ipython” package in Ubuntu:
New
Status in “python-qt4” package in Ubuntu:
New
Bug description:
in pyqt4 4.10 QTextBlockUserData is broken.
see
http://www.riverbankcomputing.com/pipermail/pyqt/2013-March/032457.html
example in archive
ipython qtconsole
type:
if 1:
print 1
and you get lots of tracebacks in the terminal:
File "/usr/lib/python2.7/dist-packages/IPython/frontend/qt/console/pygments_highlighter.py", line 107, in highlightBlock
self._lexer._saved_state_stack = prev_data.syntax_stack
AttributeError: 'QTextBlockUserData' object has no attribute 'syntax_stack'
it also breaks ninja ide.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipython/+bug/1161818/+subscriptions
More information about the foundations-bugs
mailing list