Skip to content

Expgui slicepath

Gibbs, Ian requested to merge expgui_slicepath into main

EWM 4726

There is an issue with using liveplot on bl100-analysis1.sns.gov. To reproduce (without any conda activated)

$ expgui

things will work fine. Then

$ source /opt/anaconda/bin/activate $ expgui

and the liveplot button will show a dialog box with "Error -- Unable to load the BLT package; cannot run liveplot". Then inject a PATH that does not include conda directories

$ PATH=/SNS/users/pf9/.local/bin:/SNS/users/pf9/bin:/usr/local/bin:/usr/local/sbin:/opt/gsas/exe/:/SNS/software/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin:/opt/thinlinc/bin expgui

and liveplot will work again.

The fix appears to be to create a script in nsd-app-wrap installed in /usr/bin/expgui that modifies the PATH and launches /SNS/software/gsas/expgui/expgui. This will need to be coordinated with linux-support to remove the existing link from /usr/bin/expgui->/SNS/software/gsas/expgui/expgui

Merge request reports