Conversation
RussBerg
commented
Nov 3, 2025
- Removed support for windows paths, merged data directory env vars to just DATA_DIRECTORY
- Merged environment variables for Pixelator and nx-server to just use DATA_SUB_PORT
- Added updates to README for startup and configuration
…rces package is slated for removal warning
… env var DATA_DIR
… env var DATA_DIR
|
I'm testing with a clean copy of this branch. miniforge is already installed, but not on by default (i.e. is not in .bashrc) and I will activate it first with
This is less of an instruction and more of a "sucks to be you".
That looks like success to me. |
|
I tried to run a scan and Pixelator crashed because I hadn't set the "NeXusBaseDirectory" config to something sensible. PyStxm refused to close (^C also gave weird errors that didn't close it down) and I had to send it a kill signal! Set config properly and the next attempt at a sample scan worked OK. |
I treat things like this like they are a red emergency switch, once thrown it requires human intervention, for example if a person forgets to set the variable the error is reported "Can't connect to data server host IP ADDR HERE" gives a pretty good indication as to what is wrong and how to fix it. So in the case where there is a locally running Pixelator for settingsNoHardware and they forget to set it, if it was automatically 127.0.0.1 it will appear to be working but then they might waste time trying to understand why they can't change energy for example because they thought they were connected to the production Pixelator, thats the reasoning anyway. |