Page 6 of 6

Re: OMERO.server creation questions

PostPosted: Fri Jan 06, 2017 8:30 am
by jmoore
shaneklumpp wrote:When i re ran omero admin diagnostics I noticed my PYTHON PATH was unset again.
I reset it using
Code: Select all
CODE: SELECT ALL
~/OMERO.server/bin$ export PYTHONPATH=~/Checkout/webtagging:$PYTHONPATH
~/OMERO.server/bin$ ./omero admin restart
~/OMERO.server/bin$ ./omero admin diagnostics


Then restarted omero.admin and omero.web and it worked. Everything started up.

Am i going to have to do this every time I change something? Is there a way to save my python path?


You can put the `export PYTHONPATH` line into the `~/.bashrc` file for the given user. If `echo $PYTHONPATH` shows the correct value when you start a new shell, then the variable should be set for future restarts.

Cheers,
~Josh