[Bug 216352] New: No gnome-applet in python-gnome-extras
https://bugzilla.novell.com/show_bug.cgi?id=216352 Summary: No gnome-applet in python-gnome-extras Product: openSUSE 10.2 Version: Beta 1 Platform: i686 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: james@usr-local-bin.org QAContact: qa@suse.de As evidenced by trying to start the gnome-blog applet: ogley@riggwelter:~> /opt/gnome/lib/gnome-blog/blog_applet.py Traceback (most recent call last): File "/opt/gnome/lib/gnome-blog/blog_applet.py", line 9, in <module> import gnome.applet ImportError: No module named applet This used to be in python-gnome-extras iirc. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.hanke@gmx-topmail.de ------- Comment #1 from andreas.hanke@gmx-topmail.de 2006-10-30 12:09 MST -------
From "rpm -q --changelog python-gnome-extras":
- Overview of Changes from 2.13.2 to 2.13.3 * The following modules moved to the package gnome-python-desktop: - gnomeapplet It seems that (1) gnome-blog needs updated Requires (2) gnome-python-desktop needs updated BuildRequires -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 ------- Comment #2 from james@usr-local-bin.org 2006-10-30 12:23 MST ------- Is it the BuildRequires that's causing this: ogley@riggwelter:~> rpm -ql gnome-python-desktop | grep applet ogley@riggwelter:~> ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 ------- Comment #3 from andreas.hanke@gmx-topmail.de 2006-10-30 12:30 MST ------- You need to add python-gnome-devel to BuildRequires of gnome-python-desktop (so that the gnomeapplet module gets built) and you need to add gnome-python-desktop to Requires of gnome-blog (so that it gets pulled in at install time). After doing these changes, it works for me with 1 deprecation warning inside gnome-blog that should be trivial to fix. (Btw. the BuildRequires of gnome-python-desktop is very incomplete, many optional modules are not built. And the Requires of more or less all python packages are incomplete as well.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 ------- Comment #4 from james@usr-local-bin.org 2006-10-30 12:54 MST ------- Can this change be made before we get to 10.2 gold? Is there any way I can help with this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 jpr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |jhargadon@novell.com |gnome@forge.provo.novell.com| -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 jhargadon@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #5 from jhargadon@novell.com 2006-10-30 16:06 MST ------- I have changed python-gnome to python-gnome-devel in the BuildRequires of gnome-python-desktop. I have also added gnome-python-desktop to the Requires of gnome-blog. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 ------- Comment #6 from james@usr-local-bin.org 2006-11-05 09:43 MST ------- Do you know when this change might make it into Factory? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 james@usr-local-bin.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | Summary|No gnome-applet in python- |Incorrect prefix in gnome-python-desktop |gnome-extras | ------- Comment #7 from james@usr-local-bin.org 2006-11-09 14:30 MST ------- Reopening because, although this seems resolved, it's actually masking the real bug... Got this update, and the following files are included in gnome-python-desktop: /opt/gnome/lib/python2.5/site-packages/gtk-2.0/gnome/applet.py /opt/gnome/lib/python2.5/site-packages/gtk-2.0/gnome/applet.pyc /opt/gnome/lib/python2.5/site-packages/gtk-2.0/gnome/applet.pyo /opt/gnome/lib/python2.5/site-packages/gtk-2.0/gnomeapplet.la /opt/gnome/lib/python2.5/site-packages/gtk-2.0/gnomeapplet.so Thing is, the exact same error occurs. Now, I've checked applet.py and it just gives a deprecation warning and advice to use gnomeapplet instead. I'm pretty sure that's been the case for a while. Editing the applet's python code to import gnomeapplet instead of gnome.applet simply throws the same error but with gnomeapplet listed. The problem appears to be the %{prefix} in gnome-python-desktop, it should be /usr not /opt/gnome. In addition, perhaps gnome-blog should be patched to import gnomeapplet instead, I'm assuming that at some point gnome.applet will be removed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 ------- Comment #8 from andreas.hanke@gmx-topmail.de 2006-11-09 14:37 MST ------- James, the wrong prefix is already fixed. This is bug 217660. It has already been changed /opt/gnome -> /usr, but this needs days or even a week to sync out. (I know it's painful, but we can't change it.) Be assured, see the commit: http://lists.opensuse.org/opensuse-commit/2006-11/msg00255.html What remains open is the deprecation warning. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 ------- Comment #9 from andreas.hanke@gmx-topmail.de 2006-11-09 14:47 MST ------- Note that there are more deprecation warnings. The other ones aren't immediately visible, but they are there. We should fix either all of them or none. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 james@usr-local-bin.org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Incorrect prefix in gnome- |Deprecation warnings in gnome-blog |python-desktop | ------- Comment #10 from james@usr-local-bin.org 2006-11-09 15:00 MST ------- Agreed, I'll work on a patch because importing gnomeapplet also causes some code to no longer work. First I'll check that it's not fixed in CVS though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 ------- Comment #11 from andreas.hanke@gmx-topmail.de 2006-11-10 01:01 MST ------- It's fixed in CVS. But I don't think an update to CVS is allowed after Beta2. Try this patch: http://cvs.gnome.org/viewcvs/gnome-blog/blog_applet.py?r1=1.20%3AGNOME_BLOG_0_9_1&r2=1.22&makepatch=1&diff_format=u -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 ------- Comment #12 from andreas.hanke@gmx-topmail.de 2006-11-10 02:38 MST ------- Hm. This patch converts the code from gnome.ui.About to gtk.AboutDialog, which silences the deprecation warning, but does not actually make it work. The "About..." context menu is still unresponsive. James, can you look into it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 ------- Comment #13 from james@usr-local-bin.org 2006-11-10 02:53 MST ------- I'll dig into it, see what I can come up with. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 ------- Comment #14 from james@usr-local-bin.org 2006-11-10 05:24 MST ------- Okay, here's where I am: I've fixed the gnome.applet/gnomeapplet warning. The gnome.ui.About/gtk.AboutDialog one seems to be a red herring - the "About..." context menu responds and doesn't give a deprecation warning. The remaining one (is this the one you saw, Andreas?) is this: /usr/lib/python2.5/site-packages/gnomeblog/gconf_widgets.py:6: DeprecationWarning: use gtk.ComboBox gtk.OptionMenu.__init__(self) This one hasn't been changed in CVS, and it may be because it's not a straight replacement. gtk.ComboBox doesn't do the same as gtk.OptionMenu. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 ------- Comment #15 from james@usr-local-bin.org 2006-11-10 05:36 MST ------- Incidentally, what I've done basically amounts to applying that patch from upstream, albeit manually, and the "About..." context menu works, perhaps you had a different problem with it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 ------- Comment #16 from james@usr-local-bin.org 2006-11-17 09:20 MST ------- Just to clarify my last comment, the patch you referenced seems to work fine here, seems fine to me to apply it. Can't fathom why the About... menu failed for you, but it works fine here. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216352 jhargadon@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED ------- Comment #17 from jhargadon@novell.com 2006-11-17 10:11 MST ------- I applied the patch and the About... menu worked fine for me. I will submit this to autobuild. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com