beets-audible icon indicating copy to clipboard operation
beets-audible copied to clipboard

Error with plugins when starting up

Open Julian-mostert opened this issue 2 years ago • 5 comments

beets  | cp: not replacing '/config/beets.sh'
beets  | cp: not replacing '/config/config.yaml'
beets  | [custom-init] No custom files found, skipping...
beets  | ** error loading plugin copyartifacts:
beets  | Traceback (most recent call last):
beets  |   File "/lsiopy/lib/python3.11/site-packages/beets/plugins.py", line 268, in load_plugins
beets  |     namespace = __import__(modname, None, None)
beets  |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
beets  | ModuleNotFoundError: No module named 'beetsplug.copyartifacts'
beets  | 
beets  | ** error loading plugin audible:
beets  | Traceback (most recent call last):
beets  |   File "/lsiopy/lib/python3.11/site-packages/beets/plugins.py", line 268, in load_plugins
beets  |     namespace = __import__(modname, None, None)
beets  |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
beets  |   File "/plugins/audible/audible.py", line 13, in <module>
beets  |     from natsort import os_sorted
beets  | ModuleNotFoundError: No module named 'natsort'
beets  | 
beets  |  * Serving Flask app 'beetsplug.web'
beets  |  * Debug mode: off

Julian-mostert avatar Jan 23 '24 11:01 Julian-mostert

Can you provide any additional information such as how you're trying to run it? Otherwise, I won't be able to help with just this error message alone.

Neurrone avatar Jan 23 '24 13:01 Neurrone

thanks im running it from a docker container

version: "3"
services:
  beets:
    image: lscr.io/linuxserver/beets:latest
    container_name: beets
    environment:
      # Update as needed
      - PUID=1000
      - PGID=1000
      - TZ=Africa/Johannesburg
    volumes:
      - ./config:/config
      - ./plugins:/plugins
      - ./scripts:/config/custom-cont-init.d
      - G:\Audiobooks:/audiobooks
      - G:\temp\untagged:/untagged
    restart: unless-stopped

Julian-mostert avatar Jan 23 '24 14:01 Julian-mostert

Im actually using a fork of whaht you created https://github.com/seanap/beets-audible

Julian-mostert avatar Jan 23 '24 14:01 Julian-mostert

I'd suggest opening an issue there then, as I'm not familiar with how that fork works.

The only thing that jumps out at me is the image used is different from the one that I've tested and mentioned in the readme

image: lscr.io/linuxserver/beets:1.6.0-ls180

Does switching to this image work?

Neurrone avatar Jan 23 '24 15:01 Neurrone

I found Another comment by a user https://github.com/seanap/beets-audible/discussions/8

Julian-mostert avatar Jan 23 '24 19:01 Julian-mostert