Skip to content

[BUG] -LIDARR - /run: line 1601: [: : integer expression expected #180

Closed

Description

@norgur

Application
Lidarr

Host platform
Docker/Raspbian (Host)

Script
AudioService.bash (pobably)

Script Version
latest

Describe the bug
Every query with Tidal fails because the Damerau-Levenstein-Instance seems not to return an Integer:
Calculating Damerau-Levenshtein distance...

./run: line 1601: [: : integer expression expected

To Reproduce
Unknown

Expected behavior
Tidal Matching working again

Logs/Screenshots
2024-02-06 14:35:55 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs BADASS :: Tidal Match Not Found :: Calculated Difference () greater than 5

2024-02-06 14:35:55 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs BADASS :: Checking for Match...

2024-02-06 14:35:55 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs BADASS :: Calculating Damerau-Levenshtein distance...

./run: line 1601: [: : integer expression expected

2024-02-06 14:35:55 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs BADASS :: Tidal Match Not Found :: Calculated Difference () greater than 5

2024-02-06 14:35:56 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs TeenageDream2 :: Checking for Match...

2024-02-06 14:35:56 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs TeenageDream2 :: Calculating Damerau-Levenshtein distance...

./run: line 1601: [: : integer expression expected

2024-02-06 14:35:56 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs TeenageDream2 :: Tidal Match Not Found :: Calculated Difference () greater than 5

2024-02-06 14:35:56 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs DemonHigh :: Checking for Match...

2024-02-06 14:35:56 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs DemonHigh :: Calculating Damerau-Levenshtein distance...

./run: line 1601: [: : integer expression expected

2024-02-06 14:35:56 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs DemonHigh :: Tidal Match Not Found :: Calculated Difference () greater than 5

2024-02-06 14:35:56 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs DemonHigh :: Checking for Match...

2024-02-06 14:35:56 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs DemonHigh :: Calculating Damerau-Levenshtein distance...

./run: line 1601: [: : integer expression expected

2024-02-06 14:35:56 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs DemonHigh :: Tidal Match Not Found :: Calculated Difference () greater than 5

2024-02-06 14:35:56 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs bbycakes :: Checking for Match...

2024-02-06 14:35:56 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs bbycakes :: Calculating Damerau-Levenshtein distance...

./run: line 1601: [: : integer expression expected

2024-02-06 14:35:56 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs bbycakes :: Tidal Match Not Found :: Calculated Difference () greater than 5

2024-02-06 14:35:56 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs bbycakes :: Checking for Match...

2024-02-06 14:35:56 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs bbycakes :: Calculating Damerau-Levenshtein distance...

./run: line 1601: [: : integer expression expected

2024-02-06 14:35:56 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs bbycakes :: Tidal Match Not Found :: Calculated Difference () greater than 5

2024-02-06 14:35:57 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs bbycakes :: Checking for Match...

2024-02-06 14:35:57 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs bbycakes :: Calculating Damerau-Levenshtein distance...

./run: line 1601: [: : integer expression expected

2024-02-06 14:35:57 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs bbycakes :: Tidal Match Not Found :: Calculated Difference () greater than 5

2024-02-06 14:35:57 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs Heavy :: Checking for Match...

2024-02-06 14:35:57 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs Heavy :: Calculating Damerau-Levenshtein distance...

./run: line 1601: [: : integer expression expected

2024-02-06 14:35:57 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs Heavy :: Tidal Match Not Found :: Calculated Difference () greater than 5

2024-02-06 14:35:57 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs Heavy :: Checking for Match...

2024-02-06 14:35:57 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs Heavy :: Calculating Damerau-Levenshtein distance...

./run: line 1601: [: : integer expression expected

2024-02-06 14:35:57 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs Heavy :: Tidal Match Not Found :: Calculated Difference () greater than 5

2024-02-06 14:35:57 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs Heavy :: Checking for Match...

2024-02-06 14:35:57 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs Heavy :: Calculating Damerau-Levenshtein distance...

./run: line 1601: [: : integer expression expected

2024-02-06 14:35:57 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs Heavy :: Tidal Match Not Found :: Calculated Difference () greater than 5

2024-02-06 14:35:57 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs OverYourHead :: Checking for Match...

2024-02-06 14:35:57 :: Audio :: 2.31 :: 1 :: missing :: 5 of 844 :: Lil Uzi Vert :: Endless Fashion :: Single :: Artist Search :: Tidal :: Clean :: Endless Fashion :: EndlessFashion vs OverYourHead :: Calculating Damerau-Levenshtein distance...

./run: line 1601: [: : integer expression expected

Additional context
Add any other context about the problem here.

NOTE
Your request will not be addressed without proper detail and logs. Always make sure you have updated to the latest script versions before opening an issue or your issue will not be reviewed.

Activity

  1. RandomNinjaAtk commented on Feb 6, 2024

    @RandomNinjaAtk
    Owner

    If your on an ARM based platform, which seems like you are based on the OS... so that might be the issue... ARM is untested and I don't provide support for it for that reason....

  2. norgur commented on Feb 6, 2024

    @norgur
    ContributorAuthor

    Sorry for the confusion, I made a mistake there. This particular Lidarr instance is not running on Raspbian, but on Debian Bookworm on AMD64 and the downloader was working just fine before.

  3. RandomNinjaAtk commented on Feb 6, 2024

    @RandomNinjaAtk
    Owner

    hmm, try updating the image and force restarting the container. Make sure there are no errors in the setup script that installs dependencies needed, because the error is a result of a function not working... which requires a certain package to be installed.

    Reference for changes: #173

    The error is not reproducible in my own setup... So forcing an image update, and restarting the container a couple times to ensure you have all updates might be all that is needed....

    Just some thoughts...

  4. norgur commented on Feb 6, 2024

    @norgur
    ContributorAuthor

    No use, sadly. I didn't spot any errors during startup or the like, restarted at least 10 times, removed the extended folder and config and the contents of the custom-services-folder, issue persists

  5. RandomNinjaAtk commented on Feb 6, 2024

    @RandomNinjaAtk
    Owner

    Where it should be failing is this line:

    diff=$(python -c "from pyxdameraulevenshtein import damerau_levenshtein_distance; print(damerau_levenshtein_distance(\"${lidarrAlbumReleaseTitleClean,,}\", \"${deezerAlbumTitleClean,,}\"))" 2>/dev/null)

    You probably need to see if you can run the python command from the CLI to troubleshoot further, replace variables and etc....

  6. RandomNinjaAtk commented on Feb 6, 2024

    @RandomNinjaAtk
    Owner

    Something I thought of... Are you using the init script? (which is in the instructions for configuration)

    If your not, maybe your not pulling the latest setup script which install the dependencies....

  7. norgur commented on Feb 6, 2024

    @norgur
    ContributorAuthor

    pyxdameraulevenshtein was missing. I am using the init script and I didn't notice any errors during startup/dependency setup. I installed the dependency manually and it works for now.

  8. RandomNinjaAtk commented on Feb 6, 2024

    @RandomNinjaAtk
    Owner

    Hmm, the init script runs the latest setup script from online... So not sure why I didn't just work for you... Probably something for you to investigate further as I cannot reproduce the problem...

    So something unique to your setup/config....

  9. added
    invalidThis doesn't seem right
    wontfixThis will not be worked on
    and removed
    Needs TriageNeeds to be validated/confirmed
    on Feb 6, 2024
  10. norgur commented on Feb 6, 2024

    @norgur
    ContributorAuthor

    Oh dear this is embarrassing. I corrected the missing " in one of your latest commits and thus forked the repo. To correct the error on my end, I changed the setup script to pull the forked one instead of your's... thank you very much for your time, I'm going to facepalm for the rest of the evening now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    User ErrorProblem on the users end only.invalidThis doesn't seem rightlidarrwontfixThis will not be worked on

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions