LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-28-2010, 01:08 PM   #1
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Rep: Reputation: 67
wicd-client problem


Hello all...

All of a sudden, wicd-client wont start. It spits out the following error messages:
Code:
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 347, in update_tray_icon
    self.set_wired_state(info)
  File "/usr/share/wicd/gtk/wicd-client.py", line 259, in set_wired_state
    'network-wired')
  File "/usr/share/wicd/gtk/wicd-client.py", line 233, in _show_notification
    self._last_bubble.show()
glib.GError: The name org.freedesktop.Notifications was not provided by any .service files
I'm running current, but the last update that I installed was the one which moved us to KDE 4.3.4 (which was ages ago). Wicd-client only stopped working a couple of days ago and I can't think of what I could have done EXCEPT that I compiled a new kernel, ran it, didn't like it and went back to 2.6.29.6. I think wicd-client started failing after that.

I tried reinstalling and upgrading to wicd 1.7 but to no avail. Wicd-curses does work though...

Any ideas? Thanks!
 
Old 02-28-2010, 01:59 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,150

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
The freedesktop.Notifications.service should be in the dbus-1 list (/usr/share/dbus-1/services/org.freedesktop.Notifications.service). Perhaps the dbus service isn't running, or you (inadvertently) reconfigured the dbus whilst playing with your kernel(s).
 
Old 03-02-2010, 11:39 PM   #3
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Original Poster
Rep: Reputation: 67
I was away from the internet for a few days, but thanks belatedly for the answer.

So... the file org.freedesktop.Notifications.service does not exist. How should I get it back?
 
Old 03-03-2010, 01:48 PM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,150

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
First, please note that I'm not using a Slackware system, so the specifics may differ.

That said, the d-bus file is a simple ASCII text file:
Code:
$ cat /usr/share/dbus-1/services/org.freedesktop.Notifications.service
[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/libexec/notification-daemon
But the daemon is an executable:
Code:
$ file /usr/libexec/notification-daemon 
/usr/libexec/notification-daemon: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
I believe you need to "emerge" the notification service which should fix your problem. But that belief is, as I said, based on speculation, not knowledge.
 
Old 03-03-2010, 02:27 PM   #5
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado
Distribution: Slackware
Posts: 421

Rep: Reputation: 58
Quote:
Originally Posted by brixtoncalling View Post
I tried reinstalling and upgrading to wicd 1.7 but to no avail. Wicd-curses does work though...

Any ideas? Thanks!
I had a similar problem with wicd after my -current upgrade yesterday. My initial solution was to uninstall wicd and use inet1.conf and dhcpcd which worked.

Today I decided to give wicd another try. Prior to reinstalling wicd I searched for wicd in in the contents of the /var/log/packages files and noticed that KDE4 had 2 files that had wicd in their names. I left those files alone.

Next I ran updatedb and then slocate wicd and found a lot of directories and files with wicd in the name. The directories and files were scatted in many different locations and I deleted them all except the KDE4 files I found above.

I reset my /etc/rc.d/rc.inet1.conf back to empty values so dhcpcd wouldn't start back up. I installed wicd-1.7.0 using slackpkg and then rebooted. When it came back up I opened the wicd-client from the system tray, scanned and had to reset my AP's values. Wicd works as expected now.

YMMV!

Last edited by Chuck56; 03-04-2010 at 12:52 PM.
 
Old 03-04-2010, 12:46 PM   #6
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Original Poster
Rep: Reputation: 67
Thanks for the answer Chuck. I tried what you recommended but no luck. Perhaps I didn't do everything right since i don't have an inet2.conf file. Should I?
 
Old 03-04-2010, 12:54 PM   #7
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado
Distribution: Slackware
Posts: 421

Rep: Reputation: 58
Quote:
Originally Posted by brixtoncalling View Post
Thanks for the answer Chuck. I tried what you recommended but no luck. Perhaps I didn't do everything right since i don't have an inet2.conf file. Should I?
What was I thinking? I meant to type "/etc/rc.d/rc.inet1.conf". I corrected my post above.
 
Old 03-05-2010, 06:49 AM   #8
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 422

Rep: Reputation: 45
After upgrading to alien's KDE4.4.1( http://alien.slackbook.org/ktown/4.4.1/ ), this problem gone.
 
Old 03-07-2010, 01:27 PM   #9
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Original Poster
Rep: Reputation: 67
I'm not caught up with -current yet and I haven't installed KDE 4.4... In any case, why would upgrading KDE to 4.4.1 affect wicd?
 
Old 03-07-2010, 11:26 PM   #10
grissiom
Member
 
Registered: Apr 2008
Location: China, Beijing
Distribution: Slackware
Posts: 422

Rep: Reputation: 45
I'm not an expert in KDE or dbus or stuff like that. But I guess KDE4.4 can provide org.freedesktop.Notifications service which is not provided by KDE4.3. Have you tried XFce or other DEs?
 
Old 03-11-2010, 01:05 PM   #11
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Original Poster
Rep: Reputation: 67
I took this up again today and found that I could run wicd-client as long as I used the -n option (disabling the tray applet). In the end, I got it working by erasing the ~/.wicd directory. There were empty USE_NOTIFICATIONS and CLIENT_CURSES_WARNING files which apparently were causing wicd-client to crash on running.
 
Old 02-03-2012, 05:19 AM   #12
UnIxBG
LQ Newbie
 
Registered: Feb 2012
Distribution: Slackware, ArchLinux
Posts: 1

Rep: Reputation: Disabled
wicd-client problem

I had same error, simply remove .wicd "rm -r ~/.wicd" or "rm -r $home/.wicd" without quotes.

Last edited by UnIxBG; 02-03-2012 at 05:23 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WICD tray icon says not connected, WICD manager says conneted to wired network?!?! intheshadows Linux - Newbie 1 12-24-2009 12:15 PM
[SOLVED] wicd-client tray icon missing zhoun Slackware 3 10-18-2009 12:38 AM
[SOLVED] WICD DBus problem mlpa Slackware 5 10-11-2009 06:07 AM
Wicd client not loading. replica9000 Linux - Networking 0 03-05-2009 11:40 AM
weird problem with wicd on kubuntu kubupats Linux - Software 0 04-18-2008 06:56 AM


All times are GMT -5. The time now is 10:50 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration