[2.0.5] IDE: import sub as su and from sub import * need IDE restart on changes in sub --- workaround
Bug #2015283 reported by
RaiMan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
In Progress
|
Medium
|
RaiMan |
Bug Description
follow up on GitHub: https:/
------------------- workaround
only use
import sub
-------
I use IDE version 2.0.5, and I'm working with two files:
-index.sikuli
-utils.sikuli
Imagining that I make a change in the utils.sikuli file, for example in a print("123") to print("234"), and after saving the file, when I run it, it continues to print "123". I need to restart the IDE for it to get it to print the "234".
I've been investigating and I'm not even able to find a solution, from for example setting sikuli.properties to not keeping the cache, or using the reload method.
Sorry if this is a dumb question, and my poor English
Changed in sikuli: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 2.0.6 |
description: | updated |
To post a comment you must log in.
one way that it worked for me as workaround was to use
import util
reload(util)
util.py is the file