Repository navigation
[BUG] -LIDARR - /run: line 1601: [: : integer expression expected #180
Description
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
RandomNinjaAtk commentedon Feb 6, 2024
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....
norgur commentedon Feb 6, 2024
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.
RandomNinjaAtk commentedon Feb 6, 2024
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...
norgur commentedon Feb 6, 2024
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
RandomNinjaAtk commentedon Feb 6, 2024
Where it should be failing is this line:
arr-scripts/lidarr/Audio.service.bash
Line 1455 in 6cbec2a
You probably need to see if you can run the python command from the CLI to troubleshoot further, replace variables and etc....
RandomNinjaAtk commentedon Feb 6, 2024
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....
norgur commentedon Feb 6, 2024
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.
RandomNinjaAtk commentedon Feb 6, 2024
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....
norgur commentedon Feb 6, 2024
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.