[SRU] qtiplot package needs to be rebuilt against new SIP libraries

Bug #1311721 reported by Dufay Basile
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
qtiplot (Ubuntu)
Fix Released
High
Unassigned
Trusty
Fix Released
High
Unassigned
Utopic
Fix Released
High
Unassigned

Bug Description

[Impact]
Python scripting isn't working in Trusty (Ubuntu 14.04).

[Test case]
Qtiplot installed version : 0.9.8.9-8.
1) From the menus, choose "Scripting"->"Scripting Language..."
2) Select Python
3) Error: "Failed to export QtiPlot API: Accessing QtiPlot functions or objects from Python code won't work. Probably your version of Qt/SIP/PyQt differs from the one QtiPlot was compiled against."

[Regression Potential]
None, this is a no code change rebuild.

[Other info]
This bug has been previously reported and fixed for Saucy (Ubuntu 13.10), see bug #1243269 (as well as in Raring, see bug #1129237). But it appears again in Trusty...

It seems to be a compatibility problem.
It looks quite strange that this bug happens every release... I hope you could fix this easily.

Revision history for this message
Scott Howard (showard314) wrote :

As the one that has to deal with this every release, this is kind of infuriating... Ubuntu, how can we we stop this from happening?
The python-sip bump occurred Tue, 18 Mar 2014 10:40:51 +0400, one month before release - and no one rebuilt depending packages?

I'm sorry to ask you to do this again, Dufay. In a few hours, could you try:

sudo add-apt-repository ppa:showard314/ppa
sudo apt-get update
sudo apt-get install qtiplot

Revision history for this message
Dufay Basile (basile-dufay14) wrote :

I have tried the rebuilt package from your ppa: the problem is fixed! The error message doesn't pop up anymore and python scripting works perfectly.

Thanks a lot for your time.

I hope you will find a solution for you to don't be obliged to do this again at next release...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qtiplot (Ubuntu):
status: New → Confirmed
Revision history for this message
Ivan (mcvanili) wrote :

I had the same problem. I've tried to compile qtiplot by myself, but failed
( see https://bugs.launchpad.net/ubuntu/+source/qtiplot/+bug/1310538).

Version from the ppa works well. Thank you

Revision history for this message
Scott Howard (showard314) wrote :

Ok, let's get this started.

Sponsors: no source change rebuild required for utopic
https://code.launchpad.net/~showard314/ubuntu/utopic/qtiplot/utopic_1311721

then we can start SRU

Changed in qtiplot (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
Changed in qtiplot (Ubuntu):
milestone: none → trusty-updates
summary: - qtiplot package needs to be rebuilt against new SIP libraries
+ [SRU] qtiplot package needs to be rebuilt against new SIP libraries
description: updated
Revision history for this message
Scott Howard (showard314) wrote :

Thanks , Daniel H - here's the SRU branch against trusty-proposed
https://code.launchpad.net/~showard314/ubuntu/trusty/qtiplot/utopic_1311721

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

> As the one that has to deal with this every release, this is kind of infuriating... Ubuntu, how can we we stop this from happening?
> The python-sip bump occurred Tue, 18 Mar 2014 10:40:51 +0400, one month before release - and no one rebuilt depending packages?

I have rebuilt all packages that depend on sip-api-* or sip-py3api-*. It looks like your package should use dh_sip (and/or dh_sip3 for python3 version) so that correct dependencies are generated (and only after that it will take part in transitions).

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

I forgot to add that the correct dh_sip usage will be adding these lines to your debian/rules:

    dh_sip -p[python2 package]
    dh_sip3 -p[python3 package]

I hope you can add dh_sip usage in Debian before the transition starts there (see http://bugs.debian.org/744377).

Anyway, signed and uploaded to Trusty SRU queue. I changed the version from -8ubuntu0.1 to -8build0.1 because the version in Trusty should not be higher than version in Utopic.

Changed in qtiplot (Ubuntu Trusty):
status: New → Triaged
importance: Undecided → High
Changed in qtiplot (Ubuntu Utopic):
milestone: trusty-updates → none
status: Triaged → Fix Released
Revision history for this message
Scott Howard (showard314) wrote : Re: [Bug 1311721] Re: [SRU] qtiplot package needs to be rebuilt against new SIP libraries

Thank you! I never knew about dh_sip. I'll take care of it.
Cheers,
Scott

Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Dufay, or anyone else affected,

Accepted qtiplot into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/qtiplot/0.9.8.9-8build0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in qtiplot (Ubuntu Trusty):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Neudrino (neudrino) wrote :

I am / was affected too. Fix works for me!

Installed from proposed Repo on Trusty. Details:
System: Kubuntu 14.04 with KDE 4.13.0
QtiPlot Build: 0.9.8.9-8build0.1

I did NOT check on Utopic. Hence did I refrain from changing verification tag.

Thanks a lot for your fix!

Revision history for this message
Scott Howard (showard314) wrote :

Thanks! Verify car job - done refers to trusty-proposed, which you tested. I updated the tag.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Scott Howard (showard314) wrote :

Verification-done sorry auto complete

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtiplot - 0.9.8.9-8build0.1

---------------
qtiplot (0.9.8.9-8build0.1) trusty; urgency=low

  * No source change rebuild against new python-sip (LP: #1311721)
 -- Scott Howard <email address hidden> Thu, 24 Apr 2014 16:21:34 -0400

Changed in qtiplot (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Scott Kitterman (kitterman) wrote : Update Released

The verification of the Stable Release Update for qtiplot has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

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.