← Back to team overview

sikuli-driver team mailing list archive

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

 

Public bug reported:

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

** Affects: sikuli
     Importance: Undecided
         Status: New

** Description changed:

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

** Description changed:

  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

-- 
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:
  Importing doesn't work when imported file changes: Requires Sikuli
  restart

Status in Sikuli:
  New

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


Follow ups

References