** Description changed: + *** possible workaround --------------------------------- + use + import functions + reload(functions) + + ... but this only works if the module is fully reloadable (means: does not contain code, that should only run once) + ---------------------------------------------------------- + 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: [1.0] IDE: Importing doesn't work when imported file changes: Requires Sikuli restart Status in Sikuli: Confirmed Bug description: *** possible workaround --------------------------------- use import functions reload(functions) ... but this only works if the module is fully reloadable (means: does not contain code, that should only run once) ---------------------------------------------------------- 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 _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

