← Back to team overview

sikuli-driver team mailing list archive

[Bug 2015283] [NEW] [2.0.5] IDE: import sub as su and from sub import * need IDE restart on changes in sub --- workaround

 

Public bug reported:

follow up on GitHub: https://github.com/RaiMan/SikuliX1/issues/576

------------------- 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

** Affects: sikuli
     Importance: Medium
     Assignee: RaiMan (raimund-hocke)
         Status: In Progress

** Changed in: sikuli
       Status: New => In Progress

** Changed in: sikuli
   Importance: Undecided => Medium

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 2.0.6

** Description changed:

+ follow up on GitHub: https://github.com/RaiMan/SikuliX1/issues/576
+ 
  ------------------- 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

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to SikuliX.
https://bugs.launchpad.net/bugs/2015283

Title:
  [2.0.5] IDE: import sub as su and from sub import * need IDE restart
  on changes in sub --- workaround

Status in SikuliX:
  In Progress

Bug description:
  follow up on GitHub: https://github.com/RaiMan/SikuliX1/issues/576

  ------------------- 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/2015283/+subscriptions



Follow ups