robotpy / robotpy-wpilib

Moved to https://github.com/robotpy/mostrobotpy
https://robotpy.github.io
Other
169 stars 59 forks source link

[BUG]: OSError with robotpy-hal library #702

Closed SchoolComp2984 closed 2 years ago

SchoolComp2984 commented 2 years ago

Problem description

 OSError: /usr/local/lib/python3.10/site-packages/hal/lib/libwpiHal.so: undefined symbol: _ZN5nFPGA16nFRC_2022_22_2_020g_currentTargetClassE 

Robot code succesfully deployed from Visual Studio Code, Roborio 'no-code' light is red and driver station 'no-code' light is red. When not connected to the computer, the 'no-code' light on the Roborio is not on.

Operating System

Windows

Installed Python Packages

pip                      21.2.4
pynetworktables          2021.0.0
pyntcore                 2022.3.1.0
robotpy                  2022.0.39
robotpy-ctre             2022.0.5
robotpy-hal              2022.3.1.0
robotpy-rev              2022.0.1
robotpy-wpilib-utilities 2022.0.1
robotpy-wpimath          2022.3.1.0
robotpy-wpiutil          2022.3.1.0
setuptools               58.1.0
wpilib                   2022.3.1.0

Reproducible example code

Simplest robot code with `import wpilib, rev, ctre` in the robot.py file, deployed from VSCode.
TheTripleV commented 2 years ago

You have to reimage your roborio to the new image.

https://github.com/wpilibsuite/allwpilib/releases/tag/v2022.3.1