Please see the update for nagstamon in bug 10779 It worked without error on an x86_64 system upgraded from mga2 to 3, if that has any relevance, but failed on an i586 installed with mga3. For others it fails x86_64 in the same way. $ nagstamon No module named egg.trayicon Could not load egg.trayicon, so you cannot put nagstamon statusbar into systray. Traceback (most recent call last): File "/usr/bin/nagstamon", line 88, in <module> output = GUI.GUI(conf=conf, servers=servers, Resources=Resources, debug_queue=debug_queue, GUILock=GUILock) File "/usr/lib/python2.7/site-packages/Nagstamon/GUI.py", line 115, in __init__ self._CreateOutputVisuals() File "/usr/lib/python2.7/site-packages/Nagstamon/GUI.py", line 192, in _CreateOutputVisuals gtk.window_set_default_icon_from_file(self.Resources + os.sep + "nagstamon" + self.BitmapSuffix) glib.GError: Failed to open file '/home/claire/resources/nagstamon.svg': No such file or directory The svg is actually at /usr/lib/python2.7/site-packages/Nagstamon/resources/nagstamon.svg Reproducible: Steps to Reproduce:
Created attachment 4288 [details] strace.txt strace output.
Keywords: (none) => TriagedAssignee: bugsquad => guillomovitch
> $ nagstamon > > No module named egg.trayicon > > Could not load egg.trayicon, so you cannot put nagstamon statusbar into > systray. That's just a warning, and unrelated to other error. Fixing it would require installing gnome-python-extras, which would introduce an unwanted gnome dependency. I'm not sure this is worth the result. > gtk.window_set_default_icon_from_file(self.Resources + os.sep + > "nagstamon" + self.BitmapSuffix) > glib.GError: Failed to open file '/home/claire/resources/nagstamon.svg': No > such file or directory This is the actual issue, due to a missing dependency on python-pkg-resources. The fact than this package is itself needed for rpm-mageia-setup-build, needed to build any package, masked the issue sofar for me. I just submitted nagstamon-0.9.9-1.3.mga3 in updates_testing.
Status: NEW => ASSIGNED
Thanks Guillaume! Assigning to QA. Feel free to reword the advisory if you don't like mine :o) Advisory: ---------------------------------------- This fixes an issue with nagstamon where it wasn't able to load a needed image file if another required package was not installed. ---------------------------------------- Updated packages in core/updates_testing: ---------------------------------------- nagstamon-0.9.9-1.3.mga3 from nagstamon-0.9.9-1.3.mga3.src.rpm
CC: (none) => guillomovitchAssignee: guillomovitch => qa-bugs
MGA3 32 bit sudo urpmi nagstamon [sudo] password for spiky: $MIRRORLIST: media/core/updates_testing/nagstamon-0.9.9-1.2.mga3.noarch.rpm installing nagstamon-0.9.9-1.2.mga3.noarch.rpm from /var/cache/urpmi/rpms Preparing... ############################################# 1/1: nagstamon ############################################# 20:56:29:spiky@Mag-3-testing:~$ nagstamon No image in icon, Application wont launch with terminal. No module named egg.trayicon Could not load egg.trayicon, so you cannot put nagstamon statusbar into systray. Traceback (most recent call last): File "/usr/bin/nagstamon", line 88, in <module> output = GUI.GUI(conf=conf, servers=servers, Resources=Resources, debug_queue=debug_queue, GUILock=GUILock) File "/usr/lib/python2.7/site-packages/Nagstamon/GUI.py", line 115, in __init__ self._CreateOutputVisuals() File "/usr/lib/python2.7/site-packages/Nagstamon/GUI.py", line 192, in _CreateOutputVisuals gtk.window_set_default_icon_from_file(self.Resources + os.sep + "nagstamon" + self.BitmapSuffix) glib.GError: Failed to open file '/home/spiky/resources/nagstamon.svg': No such file or directory sudo urpmi nagstamon [sudo] password for spiky: To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release (distrib1)") python-pkg-resources 0.6.28 6.mga3 noarch (medium "Core Updates Testing (distrib5)") nagstamon 0.9.9 1.3.mga3 noarch 1.4MB of additional disk space will be used. 355KB of packages will be retrieved. Proceed with the installation of the 2 packages? (Y/n) y rsync://www.mirrorservice.org/mageia.org/pub/mageia/distrib/3/i586/media/core/release/python-pkg-resources-0.6.28-6.mga3.noarch.rpm rsync://www.mirrorservice.org/mageia.org/pub/mageia/distrib/3/i586/media/core/updates_testing/nagstamon-0.9.9-1.3.mga3.noarch.rpm installing nagstamon-0.9.9-1.3.mga3.noarch.rpm python-pkg-resources-0.6.28-6.mga3.noarch.rpm from /var/cache/urpmi/rpms Preparing... ############################################ 1/2: python-pkg-resources ############################################ 2/2: nagstamon There is no icon image on applications just a blank square with nagstamon underneath, When started from the icon or terminal it launches ok and shows small icon with error, I have not connected to anything, (maybe that is why showing error). As far as I can tell it is working correctly.
CC: (none) => martynvidler
Whiteboard: (none) => MGA-3-32-OK
Whiteboard: MGA-3-32-OK => MGA3-32-OK
I just tried from terminal again, it reports No module named egg.trayicon Could not load egg.trayicon, so you cannot put nagstamon statusbar into systray missed this the 1st time.
MGA3 64 Ran same tests as comment 4 old version didn't launch installed new version it ran as above also with No module named egg.trayicon Could not load egg.trayicon, so you cannot put nagstamon statusbar into systray
Whiteboard: MGA3-32-OK => (none)
As already stated in comment #2, this is just a minor warning. Feel free to install gnome-python-extras if you want don't care about the additional dependencies just to get rid of it. BTW, urpmi output doesn't have any interest here.
Whiteboard: (none) => MGA3-32-OK MGA3-64-OK
Validating. Could sysadmin please push from core/updates_testing to updates. Thank You
Advisory 11086.adv committed to svn. Someone from the sysadmin team please push 11086.adv to updates.
Keywords: (none) => validated_updateCC: (none) => davidwhodgins, sysadmin-bugs
http://advisories.mageia.org/MGAA-2013-0101.html
Status: ASSIGNED => RESOLVEDCC: (none) => boklmResolution: (none) => FIXED
CC: boklm => (none)