Torrents won't delete

General support for problems installing or using Deluge
nSpectre
New User
New User
Posts: 6
Joined: Fri Sep 15, 2017 12:06 am

Re: Torrents won't delete

Postby nSpectre » Wed May 27, 2020 3:56 am

Thanks for that, novamanus.

I tried it in 3.8 but just get a ModuleNotFoundError: No module named 'deluge.libtorrent':

Code: Select all

File "/usr/lib/python3/dist-packages/deluge/_libtorrent.py", line 23, in <module>
    import deluge.libtorrent as lt
ModuleNotFoundError: No module named 'deluge.libtorrent'


Do you by chance have a clue for the clueless like me? :D

I did confirm that that file does exist at that path.

I do notice that the error produced is missing an underscore in the line "import deluge.libtorrent as lt" and the example given in _libtorrent.py does have an underscore. Yet the uncommented code in _libtorrent.py doesn't use an underscore. Which just makes me go cross-eyed.

I dorked around with it a bit by adding underscores, but then it just threw all kinds of other errors so I gave up. I don't know jack about Python. :)

novamanus
New User
New User
Posts: 4
Joined: Wed Sep 03, 2014 2:53 pm

Re: Torrents won't delete

Postby novamanus » Wed May 27, 2020 4:52 am

Hi nSpectre.

Sure, lets see if we can get this to work for you.

First thing, can you post the commands you ran? We shouldn't be importing from deluge.libtorrent with this script.

Also, off the top of my head from seeing that error message, I'd ask if there's a deluge-dev or similar development/header package that you can install.

nSpectre
New User
New User
Posts: 6
Joined: Fri Sep 15, 2017 12:06 am

Re: Torrents won't delete

Postby nSpectre » Wed May 27, 2020 6:36 am

Sorry. Got busy.

I'll try again tomorrow evening. :)


Return to “Support”

Who is online

Users browsing this forum: No registered users and 6 guests