sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #02896
[Bug 704981] Re: [request] IDE: want a reset feature to get import repeated
Yeah this is really annoying. Import of other .sikuli is very useful for
anything more than a toy example, and it's a pain to have to restart the
IDE every time the imported .sikuli is changed.
A workaround is to edit the scripts in a separate IDE instance where I
never run them, and run them from command line with "sikuli_ide.sh -s -r
...", but that defeats the "I" in the "IDE".
Import should just work automatically on every run. For reference, the
boilerplate that I'm using for import:
bundle_path = os.path.dirname(getBundlePath())
if not bundle_path in sys.path: sys.path.append(bundle_path)
import my_utility_sikuli_module
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/704981
Title:
[request] IDE: want a reset feature to get import repeated
Status in Sikuli:
New
Bug description:
With the new feature "import other .sikuli", you always have to
restart the IDE, if something is changed in an imported script. This
might be inconvenient, if some tabs are open.
A button like the run-button would be helpful, that internally resets
the IDE, so that imports are done again.
References