You are not logged in.

#1 2011-02-22 11:27:28

Tatsuya
Member
Registered: 2011-02-07
Posts: 14

[New install] Py programs not loading & SVG files unrecognized(solved)

[Thread renamed - Formerly "[Window Maker] Wicd tray icon does not appear]

Hi, I just installed Arch from scratch and WindowMaker window manager on my computer.

Everything works well, but after long struggles I still have 1 issues remaining:

I installed wicd and everything worked well. I really don't know what I did (I was messing things up with wdm and editing .xinitrc and all) but the systray icon of wicd won't launch. I get this error when trying to launch wicd-client from bash:

Has notifications support True
Loading...
Connecting to daemon...
Connected.
Traceback (most recent call last):
  File "/usr/share/wicd/gtk/wicd-client.py", line 1033, in <module>
    main(sys.argv)
  File "/usr/share/wicd/gtk/wicd-client.py", line 91, in wrapper
    return func(*args, **kwargs)
  File "/usr/share/wicd/gtk/wicd-client.py", line 1005, in main
    tray_icon = TrayIcon(animate, displaytray=display_app)
  File "/usr/share/wicd/gtk/wicd-client.py", line 139, in __init__
    self.icon_info = self.TrayConnectionInfo(self, self.tr, animate)
  File "/usr/share/wicd/gtk/wicd-client.py", line 198, in __init__
    self.update_tray_icon()
  File "/usr/share/wicd/gtk/wicd-client.py", line 91, in wrapper
    return func(*args, **kwargs)
  File "/usr/share/wicd/gtk/wicd-client.py", line 349, in update_tray_icon
    self.set_wireless_state(info)
  File "/usr/share/wicd/gtk/wicd-client.py", line 91, in wrapper
    return func(*args, **kwargs)
  File "/usr/share/wicd/gtk/wicd-client.py", line 289, in set_wireless_state
    'network-wireless')
  File "/usr/share/wicd/gtk/wicd-client.py", line 233, in _show_notification
    self._last_bubble.show()
glib.GError: Unable to connect to server

I tried re-installing pygtk and wicd, but it didn't do no good. Still, when trying to launch the GUI without tray support (via "wicd-client -n"), it launches and everything works... but the tray icon^^

If someone could help me with this, it's the only issues I couldn't come up with. Thanks!

Last edited by Tatsuya (2011-02-24 10:05:44)

Offline

#2 2011-02-22 15:41:06

disnesquick
Member
Registered: 2011-02-17
Posts: 9

Re: [New install] Py programs not loading & SVG files unrecognized(solved)

Which version of libnotify do you have? There are some issues with wicd and libnotify:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588205

Offline

#3 2011-02-22 15:59:27

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,546

Re: [New install] Py programs not loading & SVG files unrecognized(solved)

Did you do a full update (Syu) before installing wicd?

Offline

#4 2011-02-22 16:50:02

Tatsuya
Member
Registered: 2011-02-07
Posts: 14

Re: [New install] Py programs not loading & SVG files unrecognized(solved)

I have libnotify O.5.2-1 and yes, I did Syyu my system before installing anything smile

Offline

#5 2011-02-22 17:09:42

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [New install] Py programs not loading & SVG files unrecognized(solved)

Tatsuya wrote:

I just installed Arch from scratch and WindowMaker window manager on my computer... I installed wicd but the systray icon of wicd won't launch...

This is probably unrelated to your problem, but Window Maker doesn't have a system tray. Are you using an independent system tray application?

Offline

#6 2011-02-22 21:58:18

Tatsuya
Member
Registered: 2011-02-07
Posts: 14

Re: [New install] Py programs not loading & SVG files unrecognized(solved)

I use "wmsystemstra" which is a dock app (same as gnome's applets). Wicd did appear in the tray just this morning, but I did something, dunno what, and it won't appear now.

In fact, I appear to have problems with every program with a py extension.

I resinstalled python, but no luck.

I also installed tcl/tk. Don't know if it is related...

All this has been installed from the repos, not AUR nor sources.

EDIT: apps like Mirage in PyGTK does work...

Last edited by Tatsuya (2011-02-22 22:02:46)

Offline

#7 2011-02-23 12:21:16

Tatsuya
Member
Registered: 2011-02-07
Posts: 14

Re: [New install] Py programs not loading & SVG files unrecognized(solved)

Arf, I also have a problem with SVG files. They don't show when opening them with Mirage and Cairocompmgr tells me that:

Could not load image 'mosaic.svg': Couldn't recognize the image file format for file '/usr/share/cairo-compmgr/ui/mosaic.svg'

And so on with all svg files ccmgr tries to load. It would not be a problem if Cairocomp did not make my desktop background all black and keeping ghosts images of my windows. I'm sure it's related with ccmgr not able to load svg's.

I installed libsvg-cairo, but it did nothing good...

I put this issue in this thread because I think it's related to some broken packages in my system, maybe the same reason I have problems with py applications.

I have a fresh installed system. I followed accurately the beginner's guide. Pacman -Syyu tells me my system is up to date.

I don't know what I did wrong!!!

Offline

#8 2011-02-23 12:37:48

Tatsuya
Member
Registered: 2011-02-07
Posts: 14

Re: [New install] Py programs not loading & SVG files unrecognized(solved)

disnesquick wrote:

Which version of libnotify do you have? There are some issues with wicd and libnotify:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588205

Ok, i just read that, but there's no solution to it... How come that I got libnotify and wicd on another install on the same computer and everything works just fine there???

But you're right, the guys in your link have just the same issue as me: same output. I don't know if I can downgrade though. I would have to uninstall a lot of programs that use libnotify if I want to replace it with an earlier version.

EDIT: maybe the problem could be with python-notify: Now I remember what happened: I saw that there was no notifications at launch of  wicd-client (output was: Has notifications support False). So I installed Python notify (it may also have installed libnotify, I don't remember). After that, wicd-client did not launch anymore. So yes, this is notifications related. But if I uninstall python-notify, it's the same as for libnotify: lot of apps will uninstall too. I don't have a clue of what to do^^

Last edited by Tatsuya (2011-02-23 12:55:54)

Offline

#9 2011-02-24 09:24:35

Tatsuya
Member
Registered: 2011-02-07
Posts: 14

Re: [New install] Py programs not loading & SVG files unrecognized(solved)

Ok, I finally uninstalled emesene and python-notify and wicd-client launches in systray. That means that I won't be able to install apps which depends on python-notify, unless I accept to lose wicd-client^^

I still have my problem with cairompmgr not being able to load the svg files, thus having a black desktop background when loaded...

Wonder if someone could help me with this.

Offline

#10 2011-02-24 09:56:58

Tatsuya
Member
Registered: 2011-02-07
Posts: 14

Re: [New install] Py programs not loading & SVG files unrecognized(solved)

Finally I came up with a workaround for cairo-comp: disabling the root background. It now displays a choosen wallpaper and it is no longer black.

But now, when I turn on plugins, nothing happens and the options are grayed out... arf...

Offline

#11 2011-02-24 10:04:59

Tatsuya
Member
Registered: 2011-02-07
Posts: 14

Re: [New install] Py programs not loading & SVG files unrecognized(solved)

Again, I deleted the ccmgr config files and everything's working again...

Thanks everyone, this topic is closed tongue

Offline

Board footer

Powered by FluxBB