Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 212128

Summary: dev-python/notify-python-0.1.1 missing function attach_to_status_icon
Product: Gentoo Linux Reporter: Rodrigo Lazo <rlazo.paz>
Component: New packagesAssignee: Tiziano Müller (RETIRED) <dev-zero>
Status: RESOLVED FIXED    
Severity: major CC: ikelos, python, thomas.fortes
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for notify-python-0.1.1-r1.ebuild
notify-python-0.1.1-r1 ebuild solving attach_to_status_icon problem

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 :)