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

Unable to copy value of extra_info to a new variables #398

Open
DamienDeepgram opened this issue Jul 30, 2023 · 1 comment
Open

Unable to copy value of extra_info to a new variables #398

DamienDeepgram opened this issue Jul 30, 2023 · 1 comment

Comments

@DamienDeepgram
Copy link

When I try to do this

val = file.extra_info

I get this error

TypeError: initializer for ctype 'struct SNDFILE_tag *' must be a cdata pointer, not NoneType

I am able to do this just fine tho

print(file.extra_info)

I want to put thew value of extra_info into a json response

@bastibe
Copy link
Owner

bastibe commented Aug 5, 2023

This sounds like the file might not contain any extra info?

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