compiled 'Deluge-0.5.8' successfully, but run failed.

General support for problems installing or using Deluge
Post Reply
vvoody99
New User
New User
Posts: 3
Joined: Sun Dec 30, 2007 3:17 pm

compiled 'Deluge-0.5.8' successfully, but run failed.

Post by vvoody99 »

/***************
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
oshiri
Member
Member
Posts: 40
Joined: Thu Nov 29, 2007 10:34 am

Re: compiled 'Deluge-0.5.8' successfully, but run failed.

Post by oshiri »

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.
vvoody99
New User
New User
Posts: 3
Joined: Sun Dec 30, 2007 3:17 pm

Re: compiled 'Deluge-0.5.8' successfully, but run failed.

Post by vvoody99 »

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.
I found python was in '/usr/lib/python2.5/' and '/usr/local/lib/python2.5'. They both have a 'site-packages' directory.
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?
vvoody99
New User
New User
Posts: 3
Joined: Sun Dec 30, 2007 3:17 pm

Re: compiled 'Deluge-0.5.8' successfully, but run failed.

Post by vvoody99 »

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.
markybob
Compulsive Poster
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.

Post by markybob »

vvoody99 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.
glad to hear :)
realcs

Re: compiled 'Deluge-0.5.8' successfully, but run failed.

Post by realcs »

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.
vvoody

Re: compiled 'Deluge-0.5.8' successfully, but run failed.

Post by vvoody »

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.
I use deluge under Linux. Maybe you should install the dbus-python for windows.

Sorry for relying you so late.
Post Reply