Bug 1993

Summary: Official update request: rebuild qscintilla for python-qt4
Product: Mageia Reporter: Serge Montagnac <obs.psr>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal Keywords: Triaged
Version: 1   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: qscintilla-2.4.6 CVE:
Status comment:

Description Serge Montagnac 2011-07-02 10:53:34 CEST
Description of problem:
eric4 4.4.15 installation via simple execution of
# python install.py 
works perfectly, but at launch of command "eric4" the splash screen is followed
by this messages 


[root@darkstar eric4-4.4.15]# eric4
An unhandled exception occurred. Please report the problem
using the error reporting dialog or via email to <eric4-bugs@eric-ide.python-projects.org>.
A log has been written to "/root/.eric4/eric4_error.log".

Error information:
--------------------------------------------------------------------------------
2011-07-02, 10:29:31
--------------------------------------------------------------------------------
<type 'exceptions.TypeError'>: 
QsciLexer.readSettings(QSettings, str="/Scintilla"): argument 1 has unexpected type 'QSettings'
--------------------------------------------------------------------------------
  File "/usr/lib/python2.7/site-packages/eric4/eric4.py", line 294, in <module>
    main()
  File "/usr/lib/python2.7/site-packages/eric4/eric4.py", line 291, in main
    raise err

--------------------------------------------------------------------------------
Version Numbers:
  Python 2.7.1
  Qt 4.7.3
  PyQt4 4.8.3
  sip 4.12.1
  QScintilla 2.4.6
  eric4 4.4.15 (r4034)

Platform: linux2
2.7.1 (r271:86832, May 22 2011, 22:07:10) 
[GCC 4.5.2]
--------------------------------------------------------------------------------
Distribution Info:
  /etc/redhat-release
  Mageia release 1 (Official) for i586

  /etc/mandrakelinux-release
  Mageia release 1 (Official) for i586

  /etc/lsb-release
  LSB_VERSION=
  DISTRIB_ID="Mageia"
  DISTRIB_RELEASE=1
  DISTRIB_CODENAME=valstar
  DISTRIB_DESCRIPTION="Mageia 1"

  /etc/mageia-release
  Mageia release 1 (Official) for i586

  /etc/mandriva-release
  Mageia release 1 (Official) for i586

  /etc/mandrake-release
  Mageia release 1 (Official) for i586
Application asked to unregister timer 0x6f000012 which is not registered in this thread. Fix application.
Application asked to unregister timer 0x74000013 which is not registered in this thread. Fix application.



Version-Release number of selected component (if applicable):

QScintilla 2.4.6

This problem is commonly known as a result of missing global recompilation of the KDE4/PyQt4/sip/QScintilla toolchain after upgrading of one of them ... 

We experimented this thing very often under Mandriva for years ! :-(( 


How reproducible:
Every eric4 lauch

Steps to Reproduce:
1.Install eric4
2.launch it
3.

Would you be kind to recompile these tools together.
I will send feedback regularly if you need ...

Serge.
Comment 1 Ahmad Samir 2011-07-02 14:14:17 CEST
Please test the qscintilla-2.4.6-3.mga1 packages that should land in core/updates_testing soon.

Keywords: (none) => NEEDINFO

Ahmad Samir 2011-07-02 14:14:26 CEST

Source RPM: QScintilla 2.4.6 => qscintilla-2.4.6

Comment 2 Serge Montagnac 2011-07-03 02:49:14 CEST
(In reply to comment #1)
Ok, I installed python-qt4/qscintilla updates.
Eric4 is running normally my applications including matplotlib with qt4-agg backend and qt4-designer...

Just one warning I don't yet understood ... :

[serge@darkstar ~]$ eric4
** (process:18493): CRITICAL **: enchant_broker_request_dict: assertion `tag && strlen(tag)' failed

Thanks a lot,
Serge.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 3 Ahmad Samir 2011-07-03 06:45:19 CEST
Not fixed until the packages are moved to core/updates.

This is an official update request. As you can see the qscintilla python bindings are broken in core/release as they weren't rebuilt for new, at that time, python-qt4 prior to mga1 release.

No test case that I can think of (eric4 isn't in the repos), this rebuild is a must; if the bindings are broken for one package, they're broken for all packages use the qscintilla python bindings.

Proposed Advisory text:
======================================
The python bindings of QScintilla were broken as it wasn't rebuilt for the PyQt4 version update prior to the Mageia 1 release. This updates rebuilds QScintilla so that its python bindings work again. 
======================================

Keywords: NEEDINFO => Triaged
Status: RESOLVED => REOPENED
Resolution: FIXED => (none)
Assignee: bugsquad => qa-bugs
Summary: PyQt4 + sip + QScintilla to be recompiled => Official update request: rebuild qscintilla for python-qt4

Comment 4 Nicolas Vigier 2011-07-05 00:36:55 CEST
pushed to updates.

Status: REOPENED => RESOLVED
CC: (none) => boklm
Resolution: (none) => FIXED

Nicolas Vigier 2014-05-08 18:04:18 CEST

CC: boklm => (none)