ISISComputingGroup / IBEX

Top level repository for IBEX stories
5 stars 2 forks source link

Path in scripting window for Linux #1058

Closed kjwoodsISIS closed 8 years ago

kjwoodsISIS commented 8 years ago

As a Linux user I would like my path to be set correctly in the scripting window.

After #1026 is completed the Windows paths should be correct. Some more thought needs to go in to getting the Linux ones right.

kjwoodsISIS commented 8 years ago

Imported from trac issue 1060. Created by whb43145 on 2016-02-11T13:45:32, last modified: 2016-02-11T13:45:32

kjwoodsISIS commented 8 years ago

Should just work if genie_python is correctly installed. Just need to check and fix, if required.

John-Holt-Tessella commented 8 years ago

Yes path is: os.getenv("PATH") Out[7]: '/home/vagrant/from_script/EPICS/base/master/bin/linux-x86_64;C:\Instrument\Apps\EPICS_UTILS;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/vagrant/EPICS/base/bin/linux-x86_64:/home/vagrant/.local/bin/:/vagrant/EPICS/base/bin/linux-x86_64:/home/vagrant/.local/bin/'

PATH is expanded. Note the windows path in here. I will look at fixing this.

John-Holt-Tessella commented 8 years ago

Paths are set in uk.ac.stfc.isis.ibex.preferences/src/uk/ac/stfc/isis/ibex/preferences/PreferenceSupplier.java there should be a linux version of this. Put in ticker #1204

John-Holt-Tessella commented 8 years ago

Review: Merge in the linux environment script in https://github.com/ISISComputingGroup/ibex_utils/pull/1

IsabellaRey commented 8 years ago

Reviewing. Checking instructions of first paragraph on https://github.com/ISISComputingGroup/ibex_developers_manual/wiki/building-on-linux

IsabellaRey commented 8 years ago

Added some extra comments on the instructions as part of the review