Page 1 of 1

Failed on raspberry pi bullseye

Posted: Sun Jul 24, 2022 7:46 am
by kapitainsky
I build v2.1.1 from source but when I try to run it:

Code: Select all

# deluged -V
Traceback (most recent call last):
  File "/usr/local/bin/deluged", line 33, in <module>
    sys.exit(load_entry_point('deluge==2.1.1', 'gui_scripts', 'deluged')())
  File "/usr/local/bin/deluged", line 25, in importlib_load_entry_point
    return next(matches).load()
StopIteration
I have no issue when I build 2.0.5 - then everything works:

Code: Select all

# deluged -V
deluged 2.0.5
libtorrent: 2.0.7.0
Python: 3.9.2
OS: Linux Raspbian GNU/Linux 11 bullseye

Above error message does not point me into any direction what might be wrong. Anybody able to help?

Re: Failed on raspberry pi bullseye

Posted: Sun Jul 24, 2022 11:21 am
by kapitainsky
It must be related to some raspberry pi specific issue as I tried the same build on Debian Bullseye running on Intel CPU and all works:

Code: Select all

# deluged -V
deluged 2.1.1
libtorrent: 2.0.7.0
Python: 3.9.2
OS: Linux 5.10.0-16-amd64
Unfortunately error I've got on RPi does not point into anything specific. Hopefully somebody can help me to figure out where the problems is.

Re: Failed on raspberry pi bullseye

Posted: Sun Jul 24, 2022 11:34 am
by kapitainsky
OK I made it to work:

Code: Select all

# deluged -V
deluged 2.1.1
libtorrent: 2.0.7.0
Python: 3.9.2
OS: Linux Raspbian GNU/Linux 11 bullseye
Something from previous builds caused issue.. I removed any traces of deluge from /usr/local and it started working.

Re: Failed on raspberry pi bullseye

Posted: Sun Jul 24, 2022 11:41 am
by mhertz
This link here outlines several possibilities and fixes, not the title though, as not related to dev tag, but regardless. To sum up, possibly could be related to needing update pip and/or setuptools, or lingering dir/files from previous install needing deleted from pip and possibly need manually deleted in filesystem.

https://stackoverflow.com/questions/625 ... ng-dev-tag

Edit: Forgot post link and when editing it in, then noticed new post I missed with issue already fixed - awesome, great job, and thanks for posting back your solution :)

Re: Failed on raspberry pi bullseye

Posted: Sun Jul 24, 2022 12:11 pm
by kapitainsky
Thank you for your reply.

Re: Failed on raspberry pi bullseye

Posted: Sun Jul 24, 2022 12:12 pm
by kapitainsky
Good lesson for future builds - always start with previous builds throughly removed.