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

Incompatible with latest numba #77

Closed
mutiann opened this issue Feb 19, 2021 · 3 comments
Closed

Incompatible with latest numba #77

mutiann opened this issue Feb 19, 2021 · 3 comments

Comments

@mutiann
Copy link

mutiann commented Feb 19, 2021

When using resampy 0.2.2 with numba 0.51 or 0.52, error of "TypeError: 'NoneType' object is not callable" will randomly and occasionally occur inside resample_f when calling resampy.resample. It works if I downgrade to numba 0.39.

@bmcfee
Copy link
Owner

bmcfee commented Feb 19, 2021

That's strange. The latest librosa test builds pass without issue, and use numba 0.51 and resampy 0.2.2.

Relevant log: https://travis-ci.com/github/librosa/librosa/jobs/483493735#L819

Without a full log and environment dump, this will be impossible for me to debug. My hunch is that there's an old, cached resampy build in your environment that's gumming things up. Have you tried uninstalling and reinstalling resampy after upgrading numba?

@mutiann
Copy link
Author

mutiann commented Feb 21, 2021

The exception is thrown from numba when launching resample_f (which is a JIT decorated function). I actually tried re-installing resampy but it doesn't help. I will upload some dump when I reproduce the issue.

@mutiann mutiann closed this as completed Feb 21, 2021
@bmcfee bmcfee reopened this Feb 21, 2021
@bmcfee
Copy link
Owner

bmcfee commented Feb 26, 2021

@mutiann any update on this?

@bmcfee bmcfee closed this as completed Jun 17, 2022
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

2 participants