Notification callback causes exception in gi
Bug #1268578 reported by
Michał Sawicz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygobject |
Fix Released
|
Medium
|
|||
pygobject (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
unity8 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
With the latest python-gi the Notify callback causes an exception being thrown:
$ python test.py
TypeError: expected tuple for callback user_data
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-gi 3.11.3-0ubuntu1
Uname: Linux 3.4.0-3-mako armv7l
ApportVersion: 2.12.7-0ubuntu6
Architecture: armhf
Date: Mon Jan 13 14:19:09 2014
InstallationDate: Installed on 2014-01-10 (3 days ago)
InstallationMedia: Ubuntu Trusty Tahr (development branch) - armhf (20140110)
ProcEnviron:
TERM=linux
PATH=(custom, no user)
SourcePackage: pygobject
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in pygobject: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in pygobject (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Martin Pitt (pitti) |
status: | In Progress → Fix Committed |
Changed in unity8 (Ubuntu): | |
status: | New → Invalid |
Changed in pygobject: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Quick workaround, in case this is blocking you:
notificatio n.add_action(
"action_ id",
"action_ label",
action_ callback,
(None,),
None
)