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

Inspecting some NDI instance variables makes program close #5

Open
Tomas1337 opened this issue Dec 7, 2020 · 4 comments
Open

Inspecting some NDI instance variables makes program close #5

Tomas1337 opened this issue Dec 7, 2020 · 4 comments
Assignees
Labels
bug Something isn't working confirmed

Comments

@Tomas1337
Copy link

I've come across this problem several times while developing an application but i've always just let it pass since it's a debug problem. I'll open this issue since its becoming more prevalent:

Example:
source_object = ndi.Source() source_object.ndi_name = ndi_name print(source_object.url_address)

Expected Behavior:
print(source_object.url_address) should print None or output an error

Actual Behavior:
Exits the application immediately
When debugging using VS Code and PTVSD, Server[1] closes unexpectedly

@rawbengal
Copy link

I just ran into this as well. For some instance variables NULL is a legitimate value and you should be able to set/get them.
e.g. p_groups, ndi_name

@tgentry1986
Copy link

hey @rawbengal and @Tomas1337 im wondering if this is similar behavior to what im seeing (see the latest issue that ive posted)...

No matter what i do i cant get the data from an NDI audio frame, though i could just be doing something very wrong!

Driving me a bit nuts as its the last part of a project i need to get working :)

Any assistance greatly appreciated!

@buresu
Copy link
Owner

buresu commented Mar 23, 2022

Hi, sorry for late reply.
I confirmed the problem and reproduced it.
I will try fix it.

@buresu buresu self-assigned this Mar 23, 2022
@buresu buresu added bug Something isn't working confirmed labels Mar 23, 2022
@buresu
Copy link
Owner

buresu commented Mar 23, 2022

I added a fix at 956379f
Since ndi_name is type string, it returns empty string if it is empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed
Projects
None yet
Development

No branches or pull requests

4 participants