Failed on raspberry pi bullseye

Suggestions and discussion of future versions
Post Reply
kapitainsky
New User
New User
Posts: 5
Joined: Thu Jan 27, 2022 7:24 am

Failed on raspberry pi bullseye

Post 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?
kapitainsky
New User
New User
Posts: 5
Joined: Thu Jan 27, 2022 7:24 am

Re: Failed on raspberry pi bullseye

Post 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.
kapitainsky
New User
New User
Posts: 5
Joined: Thu Jan 27, 2022 7:24 am

Re: Failed on raspberry pi bullseye

Post 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.
mhertz
Moderator
Moderator
Posts: 2195
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Failed on raspberry pi bullseye

Post 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 :)
kapitainsky
New User
New User
Posts: 5
Joined: Thu Jan 27, 2022 7:24 am

Re: Failed on raspberry pi bullseye

Post by kapitainsky »

Thank you for your reply.
kapitainsky
New User
New User
Posts: 5
Joined: Thu Jan 27, 2022 7:24 am

Re: Failed on raspberry pi bullseye

Post by kapitainsky »

Good lesson for future builds - always start with previous builds throughly removed.
Post Reply