Neurrone / beets-audible

Organize Your Audiobook Collection With Beets
MIT License
110 stars 19 forks source link

Error with plugins when starting up #56

Closed Julian-mostert closed 1 day ago

Julian-mostert commented 9 months ago
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
Neurrone commented 9 months ago

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.

Julian-mostert commented 9 months ago

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 commented 9 months ago

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

Neurrone commented 9 months ago

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?

Julian-mostert commented 9 months ago

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

Neurrone commented 1 day ago

I'm closing this to do some cleanup of old issues. Let me know if this is still happening.