Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212128 - dev-python/notify-python-0.1.1 missing function attach_to_status_icon
Summary: dev-python/notify-python-0.1.1 missing function attach_to_status_icon
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-02 22:08 UTC by Rodrigo Lazo
Modified: 2008-09-09 22:45 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for notify-python-0.1.1-r1.ebuild (attach_to_status_icon.patch,428 bytes, patch)
2008-03-08 18:23 UTC, Rodrigo Lazo
Details | Diff
notify-python-0.1.1-r1 ebuild solving attach_to_status_icon problem (notify-python-0.1.1-r1.ebuild,1.18 KB, text/plain)
2008-09-09 21:41 UTC, Mike Auty (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Lazo 2008-03-02 22:08:26 UTC
dev-python/notify-python-0.1.1 function: attach_to_status_icon doesn't work. Throws:

AttributeError: 'pynotify.Notification' object has no attribute 'attach_to_status_icon'

This bug is reported on upstream tracker here http://trac.galago-project.org/ticket/121 And as reported by martin.pitt@ubuntu.com on the last comment the fix is as simple as deleting the file pynotify.c so it can be regenerated correctly at compile time.
Comment 1 Rodrigo Lazo 2008-03-08 18:23:20 UTC
Created attachment 145585 [details, diff]
Patch for notify-python-0.1.1-r1.ebuild 

This patch is extremely simple. Just adds a "rm -f src/pynotify.c" on src_unpack. I tested on my local overlay and it works.
Comment 2 Thomas Fortes 2008-07-18 00:00:38 UTC
I confirm the bug, and the patch works for me too.
Comment 3 Mike Auty (RETIRED) gentoo-dev 2008-09-09 21:41:21 UTC
Created attachment 165057 [details]
notify-python-0.1.1-r1 ebuild solving attach_to_status_icon problem

Any progress on this, I just ran into it and independently came across the same bug report and fix.  I've attached a complete ebuild including the rm line, if that helps?

The dependencies don't change, there's no patching required, and the fix sorts the problem.  It should be a really easy bump, let me know if you want me to commit it?  Thanks...  5:)
Comment 4 Ali Polatel (RETIRED) gentoo-dev 2008-09-09 22:45:19 UTC
notify-python-0.1.1-r1 fixes this, thanks for reporting :)