please upgrade 14.04 with the 8.1.2c+dfsg-5 version

Bug #1355394 reported by Picca Frederic-Emmanuel
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tango (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

 * It is not possible to use the event part of pytango. Only the polling part was working correctly.

 * all the depending packages (python-taurus and python-sardana) are unusable without this fix (they rely on the event part)

[Test Case]

This is took from the zeromq3 initial bug report (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743508)

this bug can be seens using the python-binding.
But for htis you need a working tango database. So you need to install tango-db.

apt-get install mysql-server
apt-get install tango-db

~$ python
import PyTango
dev_name = 'sys/database/2'
dev = PyTango.DeviceProxy(dev_name)
cb = PyTango.utils.EventCallBack()
id = dev.subscribe_event("state", PyTango.EventType.CHANGE_EVENT, cb, [], True)

(waits forever... till I press CTRL+C)

the expected result is that the last line does not hang

[Regression Potential]

 * no known regression.

 * in case of a regression only two packages can be affected (python-taurus and python-sardana)

Revision history for this message
Picca Frederic-Emmanuel (picca-debian) wrote :

I generated the source package with this command

backportpackage -s utopic -d trusty -w . tango

and then the debdiff with

debdiff tango_8.1.2c+dfsg-5.dsc tango_8.1.2c+dfsg-5~ubuntu14.04.1.dsc > tango_8.1.2c+dfsg-5~ubuntu14.04.1.debdiff

hope it is ok

description: updated
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "tango_8.1.2c+dfsg-5~ubuntu14.04.1.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
Picca Frederic-Emmanuel (picca-debian) wrote :

ok the patches fixed the hang but I get: 2014-08-11 20:19:37.923333 SYS/DATABASE/2 STATE CHANGE [API_AttributePollingNotStarted] The polling (necessary to send events) for the attribute state is not started

Revision history for this message
Julian Taylor (jtaylor) wrote :
description: updated
Revision history for this message
Julian Taylor (jtaylor) wrote :

I have uploaded above debdiff which fixes the hang in the testcase

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

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

Changed in tango (Ubuntu):
status: New → Confirmed
Changed in tango (Ubuntu Trusty):
status: New → Confirmed
Julian Taylor (jtaylor)
Changed in tango (Ubuntu):
status: Confirmed → Fix Released
description: updated
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Picca, or anyone else affected,

Accepted tango into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/tango/8.1.2c+dfsg-3ubuntu0.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 tango (Ubuntu Trusty):
status: Confirmed → Fix Committed
tags: added: verification-needed
Revision history for this message
Tomaz Beltram (tomazb) wrote :

I have added the trusty-proposed repository and upgraded libtango packages. The new package fixes the problem I reported in duplicate bugID #1355778.

deb http://archive.ubuntu.com/ubuntu/ trusty-proposed restricted main multiverse universe

$ dpkg -l | grep libtango
ii libtango8:amd64 8.1.2c+dfsg-3ubuntu0.1 amd64 TANGO distributed control system - shared library
ii libtango8-dev:amd64 8.1.2c+dfsg-3ubuntu0.1 amd64 TANGO distributed control system - development library

tags: added: verification-done
removed: verification-needed
Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of the Stable Release Update for tango 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 regressions.

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

This bug was fixed in the package tango - 8.1.2c+dfsg-3ubuntu0.1

---------------
tango (8.1.2c+dfsg-3ubuntu0.1) trusty-proposed; urgency=medium

  * 0007-fix-upstream-p812_3.patch, 0008-fix-upstream-p812_4.patch:
    patches from debian to fix incompatibility with zeromq 4 (LP: #1355394)
 -- Julian Taylor <email address hidden> Mon, 11 Aug 2014 21:48:19 +0200

Changed in tango (Ubuntu Trusty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.