Open gwbischof opened 3 years ago
During the testing phase of the deployment, we noticed that documents were not published to ZMQ as expected. We saw that it works correctly for older environments.
The cause of this was that this line fails in the newest environment, which prevents the remaining startup scripts from loading. https://github.com/NSLS-II-PDF/profile_collection/blob/master/startup/94-load.py#L79
We are seeing this error when the previous line executes:
Which appears to be caused by this:
A fix has been applied upstream in xpdacq and released in xpdacq 0.12.0. It needs to be verified at PDF.
The relevant commit is https://github.com/xpdAcq/xpdAcq/pull/580/commits/d0070ec45ee4f064d5d65744410c02944552036f. It removes use of pyFAI.gui.cli_calibration
(which evidently imports PyQt5) and uses pyFAI.calibrant
instead.
I propose to source-install xpdacq 0.12.0 to verify and then go through the process of making a new, fixed conda environment if it works.
This is what the preload logic in bsui does, but I think the logic is too restrictive (only looking for 2020-2.0* in the name).
Previsit
profile_collection
bsui
remotely (does it touch any hardware?) - usegit grep .put
orgit grep caput
Housekeeping
Test deployment
~/.bashrc
add the following and remember tosource ~/.bashrc
afterward.and (if needed) create those directories, making them world-read/write-able.
00-startup.py
https://gist.github.com/jklynch/a4366b8900ec0c03883403455ae711b2BS_ENV=collection-2021-1.0-xpdacq
2021C1.0