-   Slackware (
-   -   python/wicd is broken in Slackware 14.0 on my system, and I can't figure out why. (

darkstarbyte 10-28-2012 05:06 AM

python/wicd is broken in Slackware 14.0 on my system, and I can't figure out why.
I tried to load wicd and this happened:

Traceback (most recent call last):
File "/usr/share/wicd/daemon/", line 56, in <module>
from wicd import wpath
ImportError: No module named wicd

I googled for a couple of hours and I found it somewhere where it said to refresh the modules, but that was for debian and does not seem like an option here. If you know anything about this, please post and thanks in advanced.

sycamorex 10-28-2012 05:10 AM

How did you try to load wicd?

Try to load the daemon first:


# wicd
and start the client later:


$ wicd-client

darkstarbyte 10-28-2012 05:14 AM

root@darkstar:~# wicd
Traceback (most recent call last):
File "/usr/share/wicd/daemon/", line 56, in <module>
from wicd import wpath
ImportError: No module named wicd

That is exactly what I did.

sycamorex 10-28-2012 05:26 AM

Is it a fresh slackware 14 install or an upgrade from 13.37? If it's an upgrade you might need to recompile wicd as Python was upgraded in the last current cycle.

What's the output of:


ls -l /usr/bin/python

darkstarbyte 10-28-2012 06:13 AM

lrwxrwxrwx 1 root root 9 Oct 28 03:58 /usr/bin/python -> python2.7*

sycamorex 10-28-2012 07:08 AM

By the lack of any response to my question I assume it is a fresh install.
Did you install wicd from /extra? Have you changed anything in you environment variables?

I also assume you installed wicd for the right architecture.

darkstarbyte 10-28-2012 07:19 AM

This is a fresh install, I installed the package form /extra, and it is the one from my architecture.

colucix 10-28-2012 09:23 AM

Moved: This thread is more suitable in Slackware and has been moved accordingly to help your thread/question get the exposure it deserves.

sycamorex 10-28-2012 09:26 AM

What's the content of /usr/lib(64)/python2.7/site-packages/wicd/ ? That's /usr/lib or /usr/lib64 depending on your architecture.

darkstarbyte 10-28-2012 09:40 AM

root@darkstar:~# ls /usr/lib64/python2.7/site-packages/
M2Crypto/ iobench/
M2Crypto-0.21.1-py2.7.egg-info libical/
PIL.pth libstdcxx/
PyKDE4/ libsvn/
Pyrex/ libxml2mod.a
Pyrex-0.9.9-py2.7.egg-info***** libxsltmod.a***** mercurial/* mercurial-2.2.2-py2.7.egg-info* msi/* obexftp/* obexftp-0.23-py2.7.egg-info****
audiopy/ pisock.pyc
blueman/ pisockextras.pyc
buildbot/ plist/
caca/ pssh-2.3.1-py2.7.egg-info
cairo/ psshlib/
ccbench/ pybench/ pycups-1.9.61-py2.7.egg-info
compiler/ pycurl-7.19.0-py2.7.egg-info*** pygtk.pth*
cupshelpers/ pygtk.pyc
cupshelpers-1.0-py2.7.egg-info pygtk.pyo
curl/ pynche/
dbus/ pysane-2.0-py2.7.egg-info python_libpisock-0.12.5-py2.7.egg-info
faqwiz/ radialnet/ rpm/
fetchmailconf.pyo sane.pyc
freeze/* scripts/
getmail-4.30.1-py2.7.egg-info ssl/
getmailcore/ svn/
git_remote_helpers/ unicode/
git_remote_helpers-0.1.0-py2.7.egg-info urwid/
glib/ urwid-1.0.1-py2.7.egg-info
gobject/ versioncheck/
gsf/ webchecker/
gtk-2.0/ world/
hgext/ xcb/* xcbgen/* xml2po/
i18n/ zenmap-6.01-py2.7.egg-info
ieee1284module.a zenmapCore/* zenmapGUI/*

sycamorex 10-28-2012 09:47 AM

It seems like wicd hasn't been correctly installed. You should have the wicd directory in site-packages. Have you installed any other version of Python on top of the stock one?

What's the output of:


# find / -name wicd 2>/dev/null

darkstarbyte 10-28-2012 10:25 AM

root@darkstar:~# find / -name wicd 2>/dev/null

sycamorex 10-28-2012 10:32 AM

It looks like it's not a fresh install after all. You installed wicd before the upgrade of Python from 2.6 to 2.7. The upgrade took place a few months ago before the release of Slackware 14. Uninstall wicd and install it from /extra in Slackware64 14.

darkstarbyte 10-28-2012 10:38 AM

I deleted everything today, so I can guarantee that is a fresh install. Though the iso I made might have not been, so I will download the package from a new source, considering that this iso I made could have been from a bad mirror from what you said.

darkstarbyte 10-28-2012 10:43 AM

Yeah it is a bad mirror, so I guess I am going to have to reinstall everything and delete the scripts and get the official iso. Sorry for wasting anyone's time.

All times are GMT -5. The time now is 09:54 PM.