slaclab / pysmurf

Other
2 stars 9 forks source link

Server crashing in new release v7.3.0 with error ModuleNotFoundError: No module named 'SmurfKcu1500RssiOffload' #766

Closed swh76 closed 1 year ago

swh76 commented 1 year ago

Describe the bug

Server crashing in new release v7.3.0 with error ModuleNotFoundError: No module named 'SmurfKcu1500RssiOffload'

Suspect due to bumping smurf-pcie version from 2.0.0 to 2.3.0 here - https://github.com/slaclab/pysmurf/pull/765. Let's try reverting.

swh76 commented 1 year ago

I think this is definitely the problem. In the server docker, /usr/local/src/smurf-pcie/software/python is in the PYTHONPATH but in the newer version v2.3.0 of smurf-pcie, that folder's not there. I think it maybe got moved to smurf-pcie/firmware/python/SmurfPcie/ and renamed to SmurfKcu1500RssiOffload10GbE, but for now just going to revert. @ruck314 should we update this?

swh76 commented 1 year ago

This worked!