Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
10-28-2012, 05:06 AM
|
#1
|
|
Member
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Linux mint, Slackware
Posts: 228
Rep:
|
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/wicd-daemon.py", 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.
|
|
|
|
10-28-2012, 05:10 AM
|
#2
|
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,089
|
How did you try to load wicd?
Try to load the daemon first:
and start the client later:
|
|
|
|
10-28-2012, 05:14 AM
|
#3
|
|
Member
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Linux mint, Slackware
Posts: 228
Original Poster
Rep:
|
root@darkstar:~# wicd
Traceback (most recent call last):
File "/usr/share/wicd/daemon/wicd-daemon.py", line 56, in <module>
from wicd import wpath
ImportError: No module named wicd
That is exactly what I did.
|
|
|
|
10-28-2012, 05:26 AM
|
#4
|
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,089
|
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:
Code:
ls -l /usr/bin/python
|
|
|
|
10-28-2012, 06:13 AM
|
#5
|
|
Member
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Linux mint, Slackware
Posts: 228
Original Poster
Rep:
|
lrwxrwxrwx 1 root root 9 Oct 28 03:58 /usr/bin/python -> python2.7*
|
|
|
|
10-28-2012, 07:08 AM
|
#6
|
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,089
|
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.
Last edited by sycamorex; 10-28-2012 at 07:11 AM.
|
|
|
|
10-28-2012, 07:19 AM
|
#7
|
|
Member
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Linux mint, Slackware
Posts: 228
Original Poster
Rep:
|
This is a fresh install, I installed the package form /extra, and it is the one from my architecture.
Last edited by darkstarbyte; 10-28-2012 at 07:24 AM.
|
|
|
|
10-28-2012, 09:23 AM
|
#8
|
|
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.4 OpenSuSE 12.2
Posts: 9,897
|
Moved: This thread is more suitable in Slackware and has been moved accordingly to help your thread/question get the exposure it deserves.
|
|
|
|
10-28-2012, 09:26 AM
|
#9
|
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,089
|
What's the content of /usr/lib(64)/python2.7/site-packages/wicd/ ? That's /usr/lib or /usr/lib64 depending on your architecture.
|
|
|
|
10-28-2012, 09:40 AM
|
#10
|
|
Member
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Linux mint, Slackware
Posts: 228
Original Poster
Rep:
|
root@darkstar:~# ls /usr/lib64/python2.7/site-packages/
M2Crypto/ iobench/
M2Crypto-0.21.1-py2.7.egg-info libical/
PIL/ libproxy.py
PIL.pth libstdcxx/
PyKDE4/ libsvn/
PyQt4/ libxml2.py
Pyrex/ libxml2mod.a
Pyrex-0.9.9-py2.7.egg-info libxml2mod.la*
_LibicalWrap.la* libxml2mod.so*
_LibicalWrap.so* libxslt.py
_blueman.la* libxsltmod.a
_blueman.so* libxsltmod.la*
_dbus_bindings.la* libxsltmod.so*
_dbus_bindings.so* mercurial/
_dbus_glib_bindings.la* mercurial-2.2.2-py2.7.egg-info
_dbus_glib_bindings.so* msi/
_gamin.la* obexftp/
_gamin.so* obexftp-0.23-py2.7.egg-info
_pisock.so* pcardext.la*
_sane.so* pcardext.so*
aotcompile.py pisock.py
audiopy/ pisock.pyc
bgen/ pisockextras.py
blueman/ pisockextras.pyc
buildbot/ plist/
caca/ pssh-2.3.1-py2.7.egg-info
cairo/ psshlib/
ccbench/ pybench/
classfile.py pycups-1.9.61-py2.7.egg-info
compiler/ pycurl-7.19.0-py2.7.egg-info
cups.so* pycurl.so*
cupsext.la* pygtk.pth
cupsext.so* pygtk.py
cupshelpers/ pygtk.pyc
cupshelpers-1.0-py2.7.egg-info pygtk.pyo
curl/ pynche/
dbus/ pysane-2.0-py2.7.egg-info
drv_libxml2.py python_libpisock-0.12.5-py2.7.egg-info
faqwiz/ radialnet/
fetchmailconf.py rpm/
fetchmailconf.pyc sane.py
fetchmailconf.pyo sane.pyc
framer/ scanext.la*
freeze/ scanext.so*
gamin.py scripts/
gamin.pyc sip.so*
gamin.pyo sipconfig.py
gdb/ sipdistutils.py
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/
hpmudext.la* xcbgen/
hpmudext.so* xml2po/
i18n/ zenmap-6.01-py2.7.egg-info
ieee1284module.a zenmapCore/
ieee1284module.la* zenmapGUI/
ieee1284module.so*
|
|
|
|
10-28-2012, 09:47 AM
|
#11
|
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,089
|
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:
Code:
# find / -name wicd 2>/dev/null
|
|
|
|
10-28-2012, 10:25 AM
|
#12
|
|
Member
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Linux mint, Slackware
Posts: 228
Original Poster
Rep:
|
root@darkstar:~# find / -name wicd 2>/dev/null
/etc/wicd
/usr/share/pixmaps/wicd
/usr/share/wicd
/usr/lib64/wicd
/usr/lib64/python2.6/site-packages/wicd
/usr/sbin/wicd
/var/lib/wicd
/var/log/wicd
|
|
|
|
10-28-2012, 10:32 AM
|
#13
|
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,089
|
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.
|
|
|
|
10-28-2012, 10:38 AM
|
#14
|
|
Member
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Linux mint, Slackware
Posts: 228
Original Poster
Rep:
|
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.
|
|
|
|
10-28-2012, 10:43 AM
|
#15
|
|
Member
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Linux mint, Slackware
Posts: 228
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:50 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|