← Back to team overview

sikuli-driver team mailing list archive

[Bug 814089] Re: IDE: Made a change in imported code need a restart of IDE --- workaround

 

** Summary changed:

- IDE: Made a change in imported code need a restart of IDE
+ IDE: Made a change in imported code need a restart of IDE --- workaround

** Description changed:

- Hi, I'm just trying Sikuli X-1.0rc2. But I noticed something with IDE. 
+ **** workaround (this will not be fixed in Sikuli IDE)
+ 
+ --- use instead of: import module
+ 
+ import module
+ reload(module)
+ 
+ --- use instead of: from module import *
+ 
+ import module
+ reload(module)
+ from module import *
+ 
+ reload() is a Python/Jython built-in function, that reloads the given
+ module.
+ 
+ ------------------------------------------------------------------------
+ Hi, I'm just trying Sikuli X-1.0rc2. But I noticed something with IDE.
  I have created a class in a file. Then I'm calling this file in my main file. During my test a give a name to an object. But if I change name of this object and save file and run again the name during run is still the older one. Same when I delete a click with a screen shot. Each time I have to restart the IDE. I don't really know if it is due to my Environment. I'm on Windows 7 4bits and I'm working with dual displays.
  
  Please feel free to set this bug as invalid if it is, but with telling
  what I'm doing wrong.

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

Title:
  IDE: Made a change in imported code need a restart of IDE ---
  workaround

Status in Sikuli:
  Won't Fix

Bug description:
  **** workaround (this will not be fixed in Sikuli IDE)

  --- use instead of: import module

  import module
  reload(module)

  --- use instead of: from module import *

  import module
  reload(module)
  from module import *

  reload() is a Python/Jython built-in function, that reloads the given
  module.

  ------------------------------------------------------------------------
  Hi, I'm just trying Sikuli X-1.0rc2. But I noticed something with IDE.
  I have created a class in a file. Then I'm calling this file in my main file. During my test a give a name to an object. But if I change name of this object and save file and run again the name during run is still the older one. Same when I delete a click with a screen shot. Each time I have to restart the IDE. I don't really know if it is due to my Environment. I'm on Windows 7 4bits and I'm working with dual displays.

  Please feel free to set this bug as invalid if it is, but with telling
  what I'm doing wrong.

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


References