Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnboundLocalError when providing any 'hints' #2

Open
hcphoenix opened this issue Jul 15, 2024 · 0 comments
Open

UnboundLocalError when providing any 'hints' #2

hcphoenix opened this issue Jul 15, 2024 · 0 comments

Comments

@hcphoenix
Copy link

hcphoenix commented Jul 15, 2024

Steps to reproduce:

  1. Download LamentOfDilbert.zip (any file I've tried this with will do, but just in case...)
  2. Run crosslooper --loop-len-min 168 LamentOfDilbert.ogg from inside any folder

You'll get an error like this: UnboundLocalError: cannot access local variable 'best_length' where it is not associated with a value
image

Occurs on both Windows and Debian with Python 3.12.4.

168 (i.e. 2 mins 48 seconds) is a reasonable value for the loop length of the test file, which is set up to loop very cleanly. I haven't yet had a file I've tested crosslooper with where hinting with args didn't give either this error or a result identical to if I provided no hints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant