Traceback (most recent call last):
File "C:\Scripts\getLabel.py", line 5, in <module>
from deluge.ui.client import client
ImportError: No module named 'deluge'
This is with python. Does anyone have the slightest clue about what to do to get this working. If someone knows how to fix this please reply or even if you could just provide additional info. I really need this. Thanks a million to anyone who helps. I just want to import the client and I have restarted deluge multiple times with both classic mode enabled and disabled to no avail. Please help if someone knows how to as multiple people are using this script. Thanks again. Hoping that it works this time.
Deluge application is standalone (i.e. has it's own python) so the only way to run the script is to either install Deluge from source in your Python or place the script in the Deluge app folder and run it from there
Thank you so much for responding. I don't know how to install deluge from source or what that means. I placed the script in the deluge folder and the error disappeared except another error was returned -
Traceback (most recent call last):
File "C:\Program Files\Deluge\deluge-1.3.11-py2.6.egg\getLabel.py", line 5, in <module>
from deluge.ui.client import client
ImportError: bad magic number in 'deluge.ui.client': b'\xd1\xf2\r\n'
Any way to fix this or could you tell me how to install deluge from source?
Again thanks a lot for responding. This is the first time I've been able to make this script work a little bit.
This means mismatching Python versions between Deluge Python and your OS Python installed version, most likely Py2.7? If so install the Deluge that contains py2.7 and it should work..
could you tell me how to install deluge from source?
Alright so I installed a bunch of things and made everything go past the first two lines but now i get this error
Traceback (most recent call last):
File "C:\Program Files\Deluge\deluge-1.3.13-py2.7.egg\getLabel.py", line 13, in <module>
torrent_id = sys.argv[1]
IndexError: list index out of range
>>>
I'm not sure what this means. It's definitely something with deluge though.
Edit- When I change the 1 to a 0 it gives me this
[Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by other side: 10061: No connection could be made because the target machine actively refused it..
]
Does this mean it's working with 0 or something? Could not have gotten this far without you so thanks.