Comment 2 for bug 1391056

Revision history for this message
Davy39 (davy39) wrote :

[Impact]

 * An explanation of the effects of the bug on users :

Eric IDE, a pyqt5.qsci based software crash on startup

 * justification for backporting the fix to the stable release :

After rebuilding PyQt5.qsci from source, this bug disapear.

[Test Case]

 * Detailed instructions how to reproduce the bug :

# On a fresh Ubuntu Utopic 64bits installation
sudo apt-get install qt5-default qtbase5-dev qttools5-dev-tools libqt5scintilla2-11 python3-pyqt5.qtwebkit python3-pyqt5.qtsvg python3-pyqt5.qtsql python3-pyqt5.qsci
#Buid Eric IDE (for pyqt5 based app devellopement)
hg clone http://die-offenbachs.homelinux.org:48888/hg/eric
cd eric
sudo python3 install.py
#Try to run Eric6
eric6
# Getting "<class 'TypeError'>" "QsciLexerPython(QObject parent=None): argument 1 has unexpected type 'Shell'"
#More detail about this bug here : http://die-offenbachs.homelinux.org:48888/issues/msg575

 * these should allow someone who is not familiar with the affected package to reproduce the bug and verify that the updated package fixes the problem :

# By rebuilding PyQt5.qsci from sources, I get rid of this error
sudo apt-get sources python3-pyqt5.qsci
cd qscintilla2-2.8.3+dfsg/Python
python3 configure.py --pyqt=PyQt5 -q /usr/lib/x86_64-linux-gnu/qt5/bin/qmake
make
sudo make install
#Launch the same app
eric6
# -> OK

[Regression Potential]

 * discussion of how regressions are most likely to manifest as a result of this change :

I don't see any chances of regressions

[Other Info]
  Fell free to ask for more details.