-
Notifications
You must be signed in to change notification settings - Fork 12
[BUG]: Server and CvSource constructors hang; cannot use CTRL-C #107
Comments
Which version of cscore, which version of Python, and on what platform (x86, rpi, etc... ) |
Also: what Linux distro? |
Running I always run the Python code in question using Running Running
Also it's probably helpful to note that I'm running this code on a Nvidia Jetson Nano. |
Ah, this is probably #105. I'm guessing you're using my distro packages from build.opensuse.org? Looks like I forgot to update the robotpy-cscore package there with that bugfix. I'll push up 2021.0.2 in a bit. |
Yep, I downloaded the debian file from opensuse here (https://software.opensuse.org/download.html?project=home%3Aauscompgeek%3Arobotpy&package=python3-cscore) for Ubuntu. |
Updated the OBS repo. Your 2021.0.2 bionic aarch64 package should be available for download now. Let us know how it goes. |
The CameraServer code is no longer hanging, but I've also got an issue with the pynetworktables code hanging. It's on version Code snippet:
I've been running this code without issues for the past couple of weeks, but it suddenly stopped working. The cscore update hasn't changed the status of this error. |
Sorry we didn't get back to you last year! But it sounds like your cscore issue has been resolved. In 2023 everything will be switching over to ntcore, so I expect this will disappear. |
Problem description
When I run the code snippet to
addServer
to theCameraServer
instance, the program sporadically hangs on that line. Then I have to terminate the Python script withCTRL-\
becauseCTRL-C
doesn't work. Then when I try it again, it usually makes it past that hang, but then hangs at the next line, where I set theCvSource
for the server. Then I have to terminate again, run the script again, and usually on this third try the program will make it through.I haven't been able to discern a particular reason as to why it hangs, it just does sometimes but once I restart the script twice it's usually back to normal.
Operating System
Linux
Installed Python Packages
No response
Reproducible example code
The text was updated successfully, but these errors were encountered: