Git Product home page Git Product logo

Comments (16)

hockeygoalie35 avatar hockeygoalie35 commented on May 24, 2024 1

@RandomNinjaAtk See this post, I was having the same issue. Running pip install jellyfish==0.10 on the CLI and then restarting the container fixes it until container rebuild. I opened an issue on jellyfish's repo to make a built distribution for Alpine linux (which Linuxserver.io's image is based on).

Maybe a PR to install Jellyfish 0.10 for now? The version after is a re-write in rust.

@nothing2obvi to get around the cargo issue, try the above.

from arr-scripts.

cherryontopknife avatar cherryontopknife commented on May 24, 2024 1

Found a fatal SMA setup error:

WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
************ setup SMA ************
************ setup directory ************
************ download repo ************
fatal: destination path '/usr/local/sma' already exists and is not an empty directory.

I went into console and deleted the folder. Restarted, and in the next start-up I saw:

************ setup SMA ************
************ setup directory ************
************ download repo ************
Cloning into '/usr/local/sma'...
************ create logging file ************
************ install pip dependencies ************
error: externally-managed-environment

× This environment is externally managed
╰─> 
    The system-wide python installation should be maintained using the system
    package manager (apk) only.
    
    If the package in question is not packaged already (and hence installable via
    "apk add py3-somepackage"), please consider installing it inside a virtual
    environment, e.g.:
    
    python3 -m venv /path/to/venv
    . /path/to/venv/bin/activate
    pip install mypackage
    
    To exit the virtual environment, run:
    
    deactivate
    
    The virtual environment is not deleted, and can be re-entered by re-sourcing
    the activate file.
    
    To automatically manage virtual environments, consider using pipx (from the
    pipx package).

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

I still see the same SMA error that I saw before. Same as OP'S. It throws an error, deletes the file, then moves the nfo and the thumbnail

03/25/2024
01:10:17 AM
2024-03-25 01:10:17 :: Video :: 3.7 :: 1/21 :: BADBADNOTGOOD :: IMVDB :: 2/3 :: Chompy's Paradise :: ERROR: SMA Processing Error
03/25/2024
01:10:17 AM
2024-03-25 01:10:17 :: Video :: 3.7 :: 1/21 :: BADBADNOTGOOD :: IMVDB :: 2/3 :: Chompy's Paradise :: INFO: deleted: Chompy's Paradise-video.mkv

from arr-scripts.

hockeygoalie35 avatar hockeygoalie35 commented on May 24, 2024 1

Pull Request #217 created, need to add --break-system-packages to the pip command for installing SMA, and adding the hard version for Jellyfish before Beets is installed.

@cherryontopknife thanks for the info, that was helpful. The reason you're getting the /etc/sma error is because you restarted the container, not a new container creation. Once the PR is approved, try restarting your container again. If that doesn't fix it, you may need to nuke the container and recreate it.

from arr-scripts.

cherryontopknife avatar cherryontopknife commented on May 24, 2024 1

I repeated the steps of letting lidarr start, then deleting the sma folder. Once I did that, I restarted, and now videos are processing with sma successfully, and moving over to the expected folder.

My issue is resolved! Thanks @hockeygoalie35 add @RandomNinjaAtk

from arr-scripts.

nothing2obvi avatar nothing2obvi commented on May 24, 2024 1

I deleted /usr/local/sma within the container, ran pip install jellyfish==0.10 --break-system-packages within the container (although it gave me the message seen below), removed the container, rebuilt the container, and now videos are processed with SMA successfully, and moving over to the expected folder.

Requirement already satisfied: jellyfish==0.10 in /usr/lib/python3.11/site-packages (0.10.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

Thank you, @hockeygoalie35, @cherryontopknife, and @RandomNinjaAtk!

I still do get the following errors, event though the video, nfo, and jpg still successfully download.

03/25/2024
12:31:17 PM
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
03/25/2024
12:31:17 PM
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (1/3)...
03/25/2024
12:31:17 PM
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
03/25/2024
12:31:17 PM
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (2/3)...
03/25/2024
12:31:17 PM
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
03/25/2024
12:31:17 PM
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (3/3)...
03/25/2024
12:31:17 PM
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
03/25/2024
12:31:17 PM
WARNING: [youtube] Unable to download API page: HTTP Error 400: Bad Request (caused by <HTTPError 400: Bad Request>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
03/25/2024
12:31:18 PM
2024-03-25 12:31:18 :: Video :: 3.7 :: 20/21 :: Troye Sivan :: IMVDB :: 6/17 :: Got Me Started :: https://www.youtube.com/watch?v=WjLcVqjIkLo...
03/25/2024
12:31:18 PM
[youtube] Extracting URL: https://www.youtube.com/watch?v=WjLcVqjIkLo
03/25/2024
12:31:18 PM
[youtube] WjLcVqjIkLo: Downloading webpage
03/25/2024
12:31:19 PM
[youtube] WjLcVqjIkLo: Downloading ios player API JSON
03/25/2024
12:31:19 PM
[youtube] WjLcVqjIkLo: Downloading android player API JSON
03/25/2024
12:31:19 PM
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
03/25/2024
12:31:19 PM
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (1/3)...
03/25/2024
12:31:19 PM
[youtube] WjLcVqjIkLo: Downloading android player API JSON
03/25/2024
12:31:19 PM
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
03/25/2024
12:31:19 PM
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (2/3)...
03/25/2024
12:31:19 PM
[youtube] WjLcVqjIkLo: Downloading android player API JSON
03/25/2024
12:31:19 PM
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
03/25/2024
12:31:19 PM
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (3/3)...
03/25/2024
12:31:19 PM
[youtube] WjLcVqjIkLo: Downloading android player API JSON
03/25/2024
12:31:19 PM
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
03/25/2024
12:31:19 PM
WARNING: [youtube] Unable to download API page: HTTP Error 400: Bad Request (caused by <HTTPError 400: Bad Request>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
03/25/2024
12:31:20 PM
[youtube] WjLcVqjIkLo: Downloading m3u8 information

I'm not sure if you want me to leave this issue open or close it, so I'll leave it open.

from arr-scripts.

RandomNinjaAtk avatar RandomNinjaAtk commented on May 24, 2024

Looks like your having issue with connecting or a yt-dlp problem, which would be upstream. I'll try to see if I can reproduce it, but if I can't, then it'll definitely be an issue on your end...

from arr-scripts.

nothing2obvi avatar nothing2obvi commented on May 24, 2024

Okay, thanks.

The above logs indicate I should be using the latest version of yt-dlp. I tried upgrading within the Lidarr container with apk -U upgrade yt-dlp but it still says I'm using version 2023.11.16.

Just for further context, I restarted Lidarr and found the following errors regarding NPM and Rust/Cargo. I tried installing Rust within the Lidarr container according to the link provided (https://rustup.rs/) and did the . "$HOME/.cargo/env" command as suggested, then restarted Lidarr, but it still says I don't have Rust/Cargo.

03/24/2024
11:42:54 PM
[custom-init] Files found, executing
03/24/2024
11:42:54 PM
[custom-init] scripts_init.bash: executing...
03/24/2024
11:42:54 PM
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
03/24/2024
11:42:54 PM
                                 Dload  Upload   Total   Spent    Left  Speed
03/24/2024
11:42:54 PM
*** install packages ***
03/24/2024
11:42:54 PM

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  5722  100  5722    0     0  25191      0 --:--:-- --:--:-- --:--:-- 25207
03/24/2024
11:42:55 PM
fetch http://dl-cdn.alpinelinux.org/alpine/v3.19/main/aarch64/APKINDEX.tar.gz
03/24/2024
11:42:55 PM
fetch http://dl-cdn.alpinelinux.org/alpine/v3.19/community/aarch64/APKINDEX.tar.gz
03/24/2024
11:42:55 PM
OK: 553 MiB in 225 packages
03/24/2024
11:42:55 PM
*** install freyr client ***
03/24/2024
11:42:55 PM
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz
03/24/2024
11:42:56 PM
fetch http://dl-cdn.alpinelinux.org/alpine/v3.19/main/aarch64/APKINDEX.tar.gz
03/24/2024
11:42:56 PM
fetch http://dl-cdn.alpinelinux.org/alpine/v3.19/community/aarch64/APKINDEX.tar.gz
03/24/2024
11:42:56 PM
OK: 553 MiB in 225 packages
03/24/2024
11:43:08 PM
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
03/24/2024
11:43:08 PM
npm WARN deprecated [email protected]: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
03/24/2024
11:43:09 PM
npm WARN deprecated [email protected]: Please upgrade to v7.0.2+ of superagent.  We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing.  See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>.
03/24/2024
11:43:13 PM
03/24/2024
11:43:13 PM
changed 307 packages in 16s
03/24/2024
11:43:13 PM
03/24/2024
11:43:13 PM
90 packages are looking for funding
03/24/2024
11:43:13 PM
  run `npm fund` for details
03/24/2024
11:43:13 PM
*** install python packages ***
03/24/2024
11:43:14 PM
Collecting beets
03/24/2024
11:43:14 PM
  Downloading beets-1.6.0.tar.gz (1.7 MB)
03/24/2024
11:43:14 PM
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 19.8 MB/s eta 0:00:00
03/24/2024
11:43:14 PM
  Installing build dependencies: started
03/24/2024
11:43:16 PM
  Installing build dependencies: finished with status 'done'
03/24/2024
11:43:16 PM
  Getting requirements to build wheel: started
03/24/2024
11:43:17 PM
  Getting requirements to build wheel: finished with status 'done'
03/24/2024
11:43:17 PM
  Preparing metadata (pyproject.toml): started
03/24/2024
11:43:17 PM
  Preparing metadata (pyproject.toml): finished with status 'done'
03/24/2024
11:43:17 PM
Collecting yq
03/24/2024
11:43:17 PM
  Downloading yq-3.2.3-py3-none-any.whl.metadata (8.7 kB)
03/24/2024
11:43:17 PM
Collecting pyxDamerauLevenshtein
03/24/2024
11:43:17 PM
  Downloading pyxDamerauLevenshtein-1.7.1.tar.gz (39 kB)
03/24/2024
11:43:17 PM
  Installing build dependencies: started
03/24/2024
11:43:19 PM
  Installing build dependencies: finished with status 'done'
03/24/2024
11:43:19 PM
  Getting requirements to build wheel: started
03/24/2024
11:43:19 PM
  Getting requirements to build wheel: finished with status 'done'
03/24/2024
11:43:19 PM
  Preparing metadata (pyproject.toml): started
03/24/2024
11:43:19 PM
  Preparing metadata (pyproject.toml): finished with status 'done'
03/24/2024
11:43:19 PM
Collecting pyacoustid
03/24/2024
11:43:19 PM
  Downloading pyacoustid-1.3.0.tar.gz (17 kB)
03/24/2024
11:43:19 PM
  Installing build dependencies: started
03/24/2024
11:43:21 PM
  Installing build dependencies: finished with status 'done'
03/24/2024
11:43:21 PM
  Getting requirements to build wheel: started
03/24/2024
11:43:21 PM
  Getting requirements to build wheel: finished with status 'done'
03/24/2024
11:43:21 PM
  Preparing metadata (pyproject.toml): started
03/24/2024
11:43:21 PM
  Preparing metadata (pyproject.toml): finished with status 'done'
03/24/2024
11:43:21 PM
Collecting requests
03/24/2024
11:43:21 PM
  Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
03/24/2024
11:43:21 PM
Collecting colorama
03/24/2024
11:43:21 PM
  Downloading colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
03/24/2024
11:43:21 PM
Collecting python-telegram-bot
03/24/2024
11:43:21 PM
  Downloading python_telegram_bot-21.0.1-py3-none-any.whl.metadata (15 kB)
03/24/2024
11:43:21 PM
Collecting pylast
03/24/2024
11:43:21 PM
  Downloading pylast-5.2.0-py3-none-any.whl.metadata (7.3 kB)
03/24/2024
11:43:21 PM
Requirement already satisfied: mutagen in /usr/lib/python3.11/site-packages (1.47.0)
03/24/2024
11:43:21 PM
Collecting r128gain
03/24/2024
11:43:21 PM
  Downloading r128gain-1.0.7.tar.gz (25 kB)
03/24/2024
11:43:21 PM
  Installing build dependencies: started
03/24/2024
11:43:23 PM
  Installing build dependencies: finished with status 'done'
03/24/2024
11:43:23 PM
  Getting requirements to build wheel: started
03/24/2024
11:43:23 PM
  Getting requirements to build wheel: finished with status 'done'
03/24/2024
11:43:23 PM
  Preparing metadata (pyproject.toml): started
03/24/2024
11:43:24 PM
  Preparing metadata (pyproject.toml): finished with status 'done'
03/24/2024
11:43:24 PM
Collecting tidal-dl
03/24/2024
11:43:24 PM
  Downloading tidal_dl-2022.10.31.1-py3-none-any.whl.metadata (352 bytes)
03/24/2024
11:43:24 PM
Collecting deemix
03/24/2024
11:43:24 PM
  Downloading deemix-3.6.6-py3-none-any.whl.metadata (2.2 kB)
03/24/2024
11:43:24 PM
Collecting unidecode (from beets)
03/24/2024
11:43:24 PM
  Downloading Unidecode-1.3.8-py3-none-any.whl.metadata (13 kB)
03/24/2024
11:43:24 PM
Collecting musicbrainzngs>=0.4 (from beets)
03/24/2024
11:43:24 PM
  Downloading musicbrainzngs-0.7.1-py2.py3-none-any.whl.metadata (3.3 kB)
03/24/2024
11:43:24 PM
Collecting pyyaml (from beets)
03/24/2024
11:43:24 PM
  Downloading PyYAML-6.0.1.tar.gz (125 kB)
03/24/2024
11:43:24 PM
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.2/125.2 kB 153.5 MB/s eta 0:00:00
03/24/2024
11:43:24 PM
  Installing build dependencies: started
03/24/2024
11:43:27 PM
  Installing build dependencies: finished with status 'done'
03/24/2024
11:43:27 PM
  Getting requirements to build wheel: started
03/24/2024
11:43:28 PM
  Getting requirements to build wheel: finished with status 'done'
03/24/2024
11:43:28 PM
  Preparing metadata (pyproject.toml): started
03/24/2024
11:43:28 PM
  Preparing metadata (pyproject.toml): finished with status 'done'
03/24/2024
11:43:28 PM
Collecting mediafile>=0.2.0 (from beets)
03/24/2024
11:43:28 PM
  Downloading mediafile-0.12.0-py3-none-any.whl.metadata (2.3 kB)
03/24/2024
11:43:28 PM
Collecting confuse>=1.0.0 (from beets)
03/24/2024
11:43:28 PM
  Downloading confuse-2.0.1-py3-none-any.whl.metadata (3.7 kB)
03/24/2024
11:43:28 PM
Collecting munkres>=1.0.0 (from beets)
03/24/2024
11:43:28 PM
  Downloading munkres-1.1.4-py2.py3-none-any.whl.metadata (980 bytes)
03/24/2024
11:43:28 PM
Collecting jellyfish (from beets)
03/24/2024
11:43:28 PM
  Downloading jellyfish-1.0.3.tar.gz (363 kB)
03/24/2024
11:43:28 PM
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 363.7/363.7 kB 403.9 MB/s eta 0:00:00
03/24/2024
11:43:28 PM
  Installing build dependencies: started
03/24/2024
11:43:30 PM
  Installing build dependencies: finished with status 'done'
03/24/2024
11:43:30 PM
  Getting requirements to build wheel: started
03/24/2024
11:43:30 PM
  Getting requirements to build wheel: finished with status 'done'
03/24/2024
11:43:30 PM
  Preparing metadata (pyproject.toml): started
03/24/2024
11:43:30 PM
  Preparing metadata (pyproject.toml): finished with status 'error'
03/24/2024
11:43:30 PM
  error: subprocess-exited-with-error
03/24/2024
11:43:30 PM
  
03/24/2024
11:43:30 PM
  × Preparing metadata (pyproject.toml) did not run successfully.
03/24/2024
11:43:30 PM
  │ exit code: 1
03/24/2024
11:43:30 PM
  ╰─> [6 lines of output]
03/24/2024
11:43:30 PM
      
03/24/2024
11:43:30 PM
      Cargo, the Rust package manager, is not installed or is not on PATH.
03/24/2024
11:43:30 PM
      This package requires Rust and Cargo to compile extensions. Install it through
03/24/2024
11:43:30 PM
      the system's package manager or via https://rustup.rs/
03/24/2024
11:43:30 PM
      
03/24/2024
11:43:30 PM
      Checking for Rust toolchain....
03/24/2024
11:43:30 PM
      [end of output]
03/24/2024
11:43:30 PM
  
03/24/2024
11:43:30 PM
  note: This error originates from a subprocess, and is likely not a problem with pip.
03/24/2024
11:43:30 PM
error: metadata-generation-failed
03/24/2024
11:43:30 PM
03/24/2024
11:43:30 PM
× Encountered error while generating package metadata.
03/24/2024
11:43:30 PM
╰─> See above for output.
03/24/2024
11:43:30 PM
03/24/2024
11:43:30 PM
note: This is an issue with the package mentioned above, not pip.
03/24/2024
11:43:30 PM
hint: See above for details.
03/24/2024
11:43:31 PM
Download QueueCleaner service...

As well as:

03/24/2024
11:43:51 PM
2024-03-24 23:43:51 :: Video :: 3.7 :: CONFIG :: ERROR :: Cookies File Not Found!
03/24/2024
11:43:51 PM
2024-03-24 23:43:51 :: Video :: 3.7 :: CONFIG :: ERROR :: Add yt-dlp compatible cookies.txt to the following location: /config/cookies.txt
03/24/2024
11:43:51 PM
2024-03-24 23:43:51 :: Video :: 3.7 :: CONFIG :: Complete

Please let me know if there's anything I can try on my end.

from arr-scripts.

nothing2obvi avatar nothing2obvi commented on May 24, 2024

I just noticed there's something about an SMA Processing Error:

03/25/2024
01:10:17 AM
2024-03-25 01:10:17 :: Video :: 3.7 :: 1/21 :: BADBADNOTGOOD :: IMVDB :: 2/3 :: Chompy's Paradise :: ERROR: SMA Processing Error
03/25/2024
01:10:17 AM
2024-03-25 01:10:17 :: Video :: 3.7 :: 1/21 :: BADBADNOTGOOD :: IMVDB :: 2/3 :: Chompy's Paradise :: INFO: deleted: Chompy's Paradise-video.mkv
03/25/2024
01:10:17 AM
2024-03-25 01:10:17 :: Video :: 3.7 :: 1/21 :: BADBADNOTGOOD :: IMVDB :: 2/3 :: Chompy's Paradise :: Writing NFO

from arr-scripts.

cherryontopknife avatar cherryontopknife commented on May 24, 2024

Same issue here. It looks like it encounters an SMA processing error, then deletes the file. This occurs with all my Tidal video downloads.

from arr-scripts.

cherryontopknife avatar cherryontopknife commented on May 24, 2024

I know this wouldn't be a solution, but is there a way to skip SMA entirely, and just move the file?

from arr-scripts.

cherryontopknife avatar cherryontopknife commented on May 24, 2024

I tried the above steps
I ran pip install jellyfish==0.10 --break-system-packages, let it install, and restarted my container. Same issue.

from arr-scripts.

hockeygoalie35 avatar hockeygoalie35 commented on May 24, 2024

Looks like OP has 2 different issues then. @cherryontopknife Do you get any issues on container start while setup.bash runs? that can help narrow it down.

from arr-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.