Re: [Sikuli-driver] [Question #678873]: Exception in thread "main" ImportError: No module named __run__
Question #678873 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678873 RaiMan proposed the following answer: There should be another entry in the File menu: Export as jar This creates a jar, that contains the compiled sources and the images and can be run with plain Jython having sikulixapi.jar on the class path at runtime. jyton -jar your script.jar another option (not having a Jython environment installed) (only supported with 1.1.4) java -cp sikulixapi.jar:jython-standalone.jar org.python.util.jython -jar your script.jar the mentioned jars can be found in the SikuliX environment ... and another option is: run this sikuli script from command line: load() import __run__ -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #678873]: Exception in thread "main" ImportError: No module named __run__
Question #678873 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678873 Status: Open => Answered RaiMan proposed the following answer: Sorry, no currently. ... but with 1.1.4, there is no longer a setup needed. If you want to run scripts, you need a valid Java and have to download 2 jars. If you create your workflows with Java code, you could pack your own complete runnable jar (be aware: the resulting jar would be up to 80MB!) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #678873]: Exception in thread "main" ImportError: No module named __run__
Question #678873 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678873 Status: Answered => Open Theofanis Vlachos is still having a problem: So, is there any other way to run the script without installing SikuliX? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #678873]: Exception in thread "main" ImportError: No module named __run__
Question #678873 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678873 Status: Open => Answered RaiMan proposed the following answer: Sorry, but the feature is no longer supported and even switched off in 1.1.4 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #678873]: Exception in thread "main" ImportError: No module named __run__
Question #678873 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678873 Status: Needs information => Open Theofanis Vlachos gave more information on the question: I have version 1.1.2 so I went to File-> Export as runnable jar. I also tried creating the script using the command: java -jar sikulixsetup-1.1.2-jar scriptjar and when I am trying to run it I get a different error. Exception in thread "main" Traceback (most recent call last): File "__pyclasspath__/__run__$py.class", line 2, in File "C:\Users\fvlachos\AppData\Roaming\Sikulix\Lib\sikuli\__init__.py", line 6, in from Sikuli import * File "C:\Users\fvlachos\AppData\Roaming\Sikulix\Lib\sikuli\Sikuli.py", line 20, in import subprocess File "C:\Users\fvlachos\AppData\Roaming\Sikulix\Lib\subprocess.py", line 400, in import threading File "C:\Users\fvlachos\AppData\Roaming\Sikulix\Lib\threading.py", line 9, in from _threading import Lock, RLock, Condition, _Lock, _RLock, _threads, _active, _jthread_to_pythread, _register_thread, _unregister_thread ImportError: cannot import name _threads -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #678873]: Exception in thread "main" ImportError: No module named __run__
Question #678873 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678873 Status: Open => Needs information RaiMan requested more information: How did you create that "script"-jar? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp