You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run a simulation, a TypeError exception is being thrown; error shown below. I was finally able to track down the error to libpython3.12.so not being installed, but it would be nice if cocotb-test would be able to detect this case and provide a more informative error. I believe that cocotb-test could check if find_libpython.find_libpython() returned None or an empty string and raised an error at simulator.py:207 instead of setting LIBPYTHON_LOC to an empty string value which results in the TypeError getting thrown from subprocess.py.
cocotb version - 1.8, stable
cocotb-test version - 0.2.5 (installed w/ pip)
operating system - Ubuntu, 20.06.6 LTS, 64-bit
simulator version - GHDL, 4.0.0
python version - 3.12, in a virtual environment
error -
When trying to run a simulation, a
TypeError
exception is being thrown; error shown below. I was finally able to track down the error tolibpython3.12.so
not being installed, but it would be nice if cocotb-test would be able to detect this case and provide a more informative error. I believe that cocotb-test could check iffind_libpython.find_libpython()
returnedNone
or an empty string and raised an error at simulator.py:207 instead of settingLIBPYTHON_LOC
to an empty string value which results in theTypeError
getting thrown fromsubprocess.py
.cocotb version - 1.8, stable
cocotb-test version - 0.2.5 (installed w/ pip)
operating system - Ubuntu, 20.06.6 LTS, 64-bit
simulator version - GHDL, 4.0.0
python version - 3.12, in a virtual environment
error -
The text was updated successfully, but these errors were encountered: