Question #698112 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698112
Description changed to: I am having the same issue as in https://answers.launchpad.net/sikuli/+question/265660 I have followed the suggestions in that question but it has not resolved my issue. I get the following error ------------------------------------------------------ [error] script [ design_loading1 ] stopped with error in line 3 [error] ImportError ( No module named commonFunctions ) [error] --- Traceback --- error source first line: module ( function ) statement 3: main ( <module> ) from commonFunctions import * [error] --- Traceback --- end -------------- ----------------------------------------------------- I was previously using sikuli(x) 1.0.0 and wanted to upgrade to the latest version to take advantage of some of the newest features (including the OCR). Previously the scripts were run from a .bat/.cmd file that issued a command line to run the sikilu-script.jar, but I see that this is no longer used and that I should be using the new sikuli-ide.jar for running a script from the command line. The previous command issued was : "C:/Program Files (x86)/\Java\jre1.8.0_271\bin\java.exe" -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dpython.path=C:/Users/richardc/dev/eCS21_1_tpmgr/ncs_autotest/utils/SikuliScripts -jar "C:\Users\richardc\dev\eCS21_1_tpmgr\ncs_autotest\utils\Sikuli\sikuli- script.jar" -r C:/Users/richardc/dev/eCS21_1_tpmgr/ncs_autotest/ncs_vbp_p/start/SikuliScripts/design_loading1.sikuli where Dpython.path is the location of the common scripts. Trying to run the exact same script using the new version (2.0.5) and the command I use is the following: "C:\Program Files\Java\jre1.8.0_291\bin\java.exe" -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dpython.path=C:/Users/richardc/dev/eCS21_1_tpmgr/ncs_autotest/utils/SikuliScripts -jar "C:\Users\richardc\dev\eCS21_1_tpmgr\ncs_autotest\utils\Sikuli\sikulixide-2.0.5.jar" -r C:/Users/richardc/dev/eCS21_1_tpmgr/ncs_autotest/ncs_vbp_p/start/SikuliScripts/design_loading1.sikuli I have tried setting up the PYTHONPATH, JYTHONPATH and CLASSPATH but this had no affect. ... log deleted - not relevant as can be seen my required path is not being added to sys.path. Any help would be appreciated. Thaknks -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

