Closed spvkgn closed 3 years ago
What are the contents of the cuesheet? (you can freely share it btw, it doesn't consist of anything copyrightable) I suspect this could be some character encoding issue, but the error detection/reporting in this application is currently very lacking.
There is nothing unusual in cuesheet https://paste.ubuntu.com/p/K9jFbD7HDz/
It works well when main.py
launched from current directory:
$ python3 main.py ../1972.\ Machine\ Head\ \(1987\,\ Warner-Pioneer\,\ Japan\,\ 32XD-564\)/Deep\ Purple\ -\ Machine\ Head\ \(Japan\ 32XD-564\)\ \[1st\ Pressing\].cue
01 - Highway Star: DR11
02 - Maybe I'm A Leo: DR13
03 - Pictures Of Home: DR12
04 - Never Before: DR11
05 - Smoke On The Water: DR13
06 - Lazy: DR11
07 - Space Truckin': DR12
Official DR = 12, Median DR = 12.0
Analyzed all tracks in 12.24 seconds
writing log to ../1972. Machine Head (1987, Warner-Pioneer, Japan, 32XD-564)/dr.txt
…done
But fails when setting path to main.py
as above.
Ah now I understand it, thanks for the details. Will attempt to fix it some time soon..
@spvkgn
I tried to reproduce it, but no luck. All the combinations of absolute/relative paths, current directories, etc., work fine.
I suspect this could be specific to Python version. Does this happen with Python 3.9.5?
Also can you try again with this branch?: https://github.com/magicgoose/simple_dr_meter/tree/issue-7-paths-problem
There I added a small change (convert path to absolute at the very beginning) which maybe should eliminate this difference.
@magicgoose Don't know how to install Python 3.9.5 in Ubuntu 20.04 yet, maybe I'll figure it out later. I've tried with the new branch and it works fine with Python 3.8.5. Thanks!