Script Generator Troubleshooting
Cannot import inst
When using the script generator not on an instrument the instrument scripts will not be available. This means we cannot import inst.
Therefore we cannot use inst outside of the run
function. Our suggestion is to import inst
inside the run function and use it as normal in there:
def run(...):
import inst
inst.instrument_script_method()
Warning: Could not load any script definitions from
The definitions have not been loaded into the correct place in the filesystem
To fix simply move them into the location that is given in the warning message
The place IBEX is looking for script definitions in the file
See “Want your script definitions to be loaded from …?” below
It is possible the script definitions have errors in them
The script generator will display a table detailing these errors if this is the case
Please review your definitions keeping in mind the errors detailed in the table
If it is none of these there is a chance it is because part of the script generator has crashed
Please contact the IBEX team to see if it is a bug: see How do I report a problem with IBEX?
Some of my script definitions have not loaded
The definitions may be placed in the wrong place
Please place your definitions on the filesystem where your definitions are loaded from
One of the locations where definitions are loaded from may be incorrect
See “Want your script definitions to be loaded from …?” below
Some of the script definitions may have errors in the and so failed to load
These errors will be displayed in a table in the script generator graphical user interface
Please fix the script or ask the maintainer of the script to fix it
I get a blank screen where the script generator should be
Please contact the IBEX team to see if it is a bug: see How do I report a problem with IBEX?
My script generator never finished loading
Please contact the IBEX team to see if it is a bug: see How do I report a problem with IBEX?
One possible issue is that a dependency called git has not been loaded correctly. A workaround for this may be to install git separately to the script generator, please see https://git-scm.com/book/en/v2/Getting-Started-Installing-Git