-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError raised when loading plugin paths #3717
Comments
After modifying this Line 1115 in b89a265
to beetsplug.__path__ = paths + list(beetsplug.__path__) It get works again. However, I have little knowledge with python and I don't use any plugins, so I'm not sure this syntax and explicit type convertion is correct. as |
Huh, this is odd. On my machine, which also is running Python 3.8.5, this value has type
But it looks like it's doing something quite different on your machine? I am pretty confused about why this is the case, but maybe it can't hurt to add that |
Also running under Arch, installed beets from git repository (so currently running the master branch), I'm unable to recreate the issue: ~ python
Python 3.8.5 (default, Jul 27 2020, 08:42:51)
[GCC 10.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import beetsplug
>>> print(type(beetsplug.__path__))
<class 'list'>
|
Related: pypa/setuptools#885 and https://docs.python.org/3/reference/import.html#namespace-packages However, I don't see right now whether this is something we need to cope with, or a broken installation. EDIT: Actually, this probably means that |
Thanks @wisp3rwind, I found that there's another |
I'm still not sure what causes this problem (or more pertinently, what makes this problem *not* happen for me and others), but this should work around it regardless.
Problem
Due to #3674, I've installed the latest source version with command
pip install https://github.com/beetbox/beets/tarball/master
under the FAQ guidance.but it seems that I've got problem in plugin loading. Every command including
beet config
crashes.Running this command in verbose (
-vv
) mode:Led to this problem:
Every command leads here.
Setup
pip install https://github.com/beetbox/beets/tarball/master
)My configuration (output of
beet config
) is:(Even beet config outputs like this, and this is copied from
~/.config/beets/config.yaml
)The text was updated successfully, but these errors were encountered: