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

Index Error with name_chars for empty list #319

Closed
jagusant opened this issue Apr 26, 2024 · 2 comments
Closed

Index Error with name_chars for empty list #319

jagusant opened this issue Apr 26, 2024 · 2 comments

Comments

@jagusant
Copy link

I'm running into this Index error:

site-packages/pedalboard/_pedalboard.py", line 586, in normalize_python_parameter_name
name_chars[-1]

I figured I can add this condition line in the code to _pedalboard.py to fix this index error. Basically adding a check to make sure name_chars is not empty before attempting to access name_chars[-1].

Screenshot 2024-04-26 at 1 05 48 PM
@czerpa-antdev
Copy link

+1 on this

@psobot
Copy link
Member

psobot commented May 20, 2024

Fixed by #331.

@psobot psobot closed this as completed May 20, 2024
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

3 participants