pynetworktables not working.

We are attempting to get pynetworktables running on a BeagleBone Black. We are currently trying to run the sample code to get it working.

https://github.com/robotpy/pynetworktables/blob/master/samples/nt_driverstation.py

When using the correct IP address we get the following output.


root@beaglebone:~# python main2.py 10.24.81.100
robotTime: N/A
robotTime: N/A
INFO:nt:Client 0x00164648 entered connection state: CONNECTED_TO_SERVER
robotTime: N/A
robotTime: N/A
robotTime: N/A
robotTime: N/A

When using the incorrect IP address we get the following output.


root@beaglebone:~# python main2.py 10.24.81.101
robotTime: N/A
robotTime: N/A
robotTime: N/A
robotTime: N/A
robotTime: N/A
robotTime: N/A

Based on the logs I feel like it is connecting to the roboRio correctly but when using OutlineViewer we don’t see robotTime which makes sense given we are getting a KeyError in the code above.

Has anyone else ran into problems like this?

Are you running LabVIEW on the robot? The stock version of pynetworktables is not compatible with LabVIEW NT implementations, you’ll need to use the alpha release instead.

No…but the version was the problem. A another team member setup the first BeagleBone and used version 2015.3.0 I setup the second one using pip and ended up with version 2016.0.0alpha1 Downgrading to 2015.3.1 fixed the problem.

Thanks!!!