← Back to team overview

sikuli-driver team mailing list archive

[Bug 1188186] Re: Importing doesn't work when imported file changes: Requires Sikuli restart

 

Known problem.
Look docs: reload()

# coding: utf-8
from sikuli import *
... Not needed in main.sikuli

from sikuli import *
... Only needed in subs.sikuli

** Changed in: sikuli
       Status: New => Confirmed

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

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

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

** Summary changed:

- Importing doesn't work when imported file changes: Requires Sikuli restart
+ [1.0] IDE: Importing doesn't work when imported file changes: Requires Sikuli restart

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

Title:
  [1.0] IDE: Importing doesn't work when imported file changes: Requires
  Sikuli restart

Status in Sikuli:
  Confirmed

Bug description:
  Sikuli cannot import changes from another sikuli project to main
  sikuli project without restarting Sikuli.

  Let say we have main.sikuli and some functions on separate sikuli
  project (let say functions.sikuli).  Importing works fine but doesn't
  work when doing changes on the imported Functions.sikuli. Both
  projects are open simultaneously and I do quite often changes to
  functions when developing because on test automation chains can be
  very long and reusable code is needed.

  This is very annoying to shut down Sikuli always when changing other
  project and then restarting it. It causes sometimes really strange
  errors if forgot to restart...

  Basically this happens always for me. Below is import part of the main.sikuli.
  # coding: utf-8
  from sikuli import *
  import os
  import Functions

  OS: Windows 7 SP1 64 bit
  Sikuli v1.0.0 32bit on 64bit platform because Java is forced 32bit

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


References