/***************
Slackware 12.0
KDE 3.5.7
***************/
After solving the dependencies and compiling the deluge, I run the
deluge. But:
vvoody@vvhostname:/usr/local/deluge-0.5.8/bin$ ./deluge
Traceback (most recent call last):
File "./deluge", line 42, in <module>
import deluge
ImportError: No module named deluge
###################################
STEP 1.pygobject-2.14.0 (./configure && make && sudo make install)
STEP 2.cairo-1.4.12(update from 1.4.10) (./configure && make && sudo make install)
STEP 3.pycairo-1.4.12 (./configure --prefix=/usr/ && make && sudo make install)
STEP 4.pygtk-2.12.0 (./configure && make && sudo make install)
STEP 5.deluge-0.5.8 (./configure --prefix=/usr/local/deluge-0.5.8/ && make && sudo make install)
I compiled them successfully. What does the error mean? I don't know Python. How can I do?
Relevant discussion:
http://groups.google.com/group/alt.os.l ... b19a647b8d
compiled 'Deluge-0.5.8' successfully, but run failed.
Re: compiled 'Deluge-0.5.8' successfully, but run failed.
I'm not familiar with Slackware file layout.
But what I can tell you from that error is that deluge cannot find "deluge" directory in your python lib.
Try look in /usr/lib/python/site-packages or /usr/lib/python2.4/site-packages (where your python resides, could be in different path, maybe in /usr/local/lib).
Try reinstall using make install and look at where all the files goes to.
You might need to change the prefix according to where your python is installed.
If your python is located on /usr/lib then you should use --prefix=/usr.
If your python is located on /usr/local/lib then use --prefix=/usr/local
Good luck.
But what I can tell you from that error is that deluge cannot find "deluge" directory in your python lib.
Try look in /usr/lib/python/site-packages or /usr/lib/python2.4/site-packages (where your python resides, could be in different path, maybe in /usr/local/lib).
Try reinstall using make install and look at where all the files goes to.
You might need to change the prefix according to where your python is installed.
If your python is located on /usr/lib then you should use --prefix=/usr.
If your python is located on /usr/local/lib then use --prefix=/usr/local
Good luck.
Re: compiled 'Deluge-0.5.8' successfully, but run failed.
I found python was in '/usr/lib/python2.5/' and '/usr/local/lib/python2.5'. They both have a 'site-packages' directory.oshiri wrote:I'm not familiar with Slackware file layout.
But what I can tell you from that error is that deluge cannot find "deluge" directory in your python lib.
Try look in /usr/lib/python/site-packages or /usr/lib/python2.4/site-packages (where your python resides, could be in different path, maybe in /usr/local/lib).
Try reinstall using make install and look at where all the files goes to.
You might need to change the prefix according to where your python is installed.
If your python is located on /usr/lib then you should use --prefix=/usr.
If your python is located on /usr/local/lib then use --prefix=/usr/local
Good luck.
Then I reinstalled -> vv@vv:/path/deluge-torrent-0.5.8$ PREFIX=/usr/local/ sudo make install
'deluge' directory appeared in the '/usr/local/lib/python2.5/site-packages'.
BUT I run the deluge, I still met the same error said "No module named deluge".
I have searched the '/usr/local/lib/python2.5', there were 'deluge_core.so', 'deluge_stats.py' and 'deluge_stats.pyc'.
What does the "module deluge" mead? Which file do ./deluge need?
Re: compiled 'Deluge-0.5.8' successfully, but run failed.
boost-1.34.1-i486-1gds.tgz
cairo-1.4.12(slk default 1.4.10)
pyopenssl-0.6
pygobject-2.14.0
pycairo-1.4.12
pyxdg-0.15
dbus-python-0.82.4
pygtk-2.12.0
+deluge-0.5.8
It works now.
cairo-1.4.12(slk default 1.4.10)
pyopenssl-0.6
pygobject-2.14.0
pycairo-1.4.12
pyxdg-0.15
dbus-python-0.82.4
pygtk-2.12.0
+deluge-0.5.8
It works now.
-
- Compulsive Poster
- Posts: 1230
- Joined: Thu May 24, 2007 11:27 pm
- Location: Chicago, IL, USA
- Contact:
Re: compiled 'Deluge-0.5.8' successfully, but run failed.
glad to hearvvoody99 wrote:boost-1.34.1-i486-1gds.tgz
cairo-1.4.12(slk default 1.4.10)
pyopenssl-0.6
pygobject-2.14.0
pycairo-1.4.12
pyxdg-0.15
dbus-python-0.82.4
pygtk-2.12.0
+deluge-0.5.8
It works now.

Re: compiled 'Deluge-0.5.8' successfully, but run failed.
I have Vista Ultimate ... when i click "Deluge 0.5.8" from my desktop ... i have this error... can u help me ?
Traceback (most recent call last):
File "deluge", line 45, in <module>
File "deluge\_dbus.pyo", line 32, in <module>
File "dbus\__init__.pyo", line 75, in <module>
File "dbus\types.pyo", line 6, in <module>
File "_dbus_bindings.pyo", line 12, in <module>
File "_dbus_bindings.pyo", line 10, in __load
ImportError: DLL load failed: Invalid access to memory location.
Traceback (most recent call last):
File "deluge", line 45, in <module>
File "deluge\_dbus.pyo", line 32, in <module>
File "dbus\__init__.pyo", line 75, in <module>
File "dbus\types.pyo", line 6, in <module>
File "_dbus_bindings.pyo", line 12, in <module>
File "_dbus_bindings.pyo", line 10, in __load
ImportError: DLL load failed: Invalid access to memory location.
Re: compiled 'Deluge-0.5.8' successfully, but run failed.
I use deluge under Linux. Maybe you should install the dbus-python for windows.realcs wrote:I have Vista Ultimate ... when i click "Deluge 0.5.8" from my desktop ... i have this error... can u help me ?
Traceback (most recent call last):
File "deluge", line 45, in <module>
File "deluge\_dbus.pyo", line 32, in <module>
File "dbus\__init__.pyo", line 75, in <module>
File "dbus\types.pyo", line 6, in <module>
File "_dbus_bindings.pyo", line 12, in <module>
File "_dbus_bindings.pyo", line 10, in __load
ImportError: DLL load failed: Invalid access to memory location.
Sorry for relying you so late.