sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #01310
[Bug 718891] Re: X-1.0rc2: Windows: automatic %PATH% insert has \\ - ....C:\Program Files\Java\jre6\\bin
Interestingly I saw this two, but my impression (Win 7 32) was, that it did no harm.
Ok, anyway, it should not be.
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/718891
Title:
X-1.0rc2: Windows: automatic %PATH% insert has \\ - ....C:\Program
Files\Java\jre6\\bin
Status in Sikuli:
New
Bug description:
Sikuli inserts an extra slash in the path for JRE breaking Sikuli IDE and any other use of Sikuli.
Found on Vista32 and Win7 32
C:\Program Files\Sikuli X\libs; C:\Program Files\Java\jre6\\bin
Note the extra slash between jre6 and bin jre6\\bin shoud be jre6\bin
Change to a single slash and the issue is resolved.
Repro steps:
Install Sikuli IDE, enter code for popup as a test popup ("Sikuli is
awesome")
run
result
[error] Stopped [error] An error occurs at line 1 [error] Error message: Traceback (most recent call last): File " ", line 1, in File "C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\__init__.py", line 1, in File "C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\Sikuli.py", line 25, in java.lang.NoClassDefFoundError: Could not initialize class org.sikuli.script.App at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.python.core.SyspathJavaLoader.loadClass(SyspathJavaLoader.java:107) at java.lang.ClassLoader.loadClass(Unknown Source) at org.python.core.Py.findClassEx(Py.java:817) at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:133) at org.python.core.packagecache.PackageManager.findClass(PackageManager.java:28) at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:122) at org.python.core.PyJavaPackage.__findattr_ex__(PyJav
aPackage.java:137) at org.python.core.PyObject.__findattr__(PyObject.java:869) at org.python.core.imp.import_name(imp.java:771) at org.python.core.imp.importName(imp.java:806) at org.python.core.ImportFunction.__call__(__builtin__.java:1232) at org.python.core.PyObject.__call__(PyObject.java:367) at org.python.core.__builtin__.__import__(__builtin__.java:1202) at org.python.core.imp.importFromAs(imp.java:884) at org.python.core.imp.importFrom(imp.java:860) at sikuli.Sikuli$py.f$0(C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\Sikuli.py:209) at sikuli.Sikuli$py.call_function(C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\Sikuli.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:326) at org.python.core.util.importer.importer_load_module(importer.java:109) at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161) a
t org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source) at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47) at org.python.core.imp.loadFromLoader(imp.java:451) at org.python.core.imp.find_module(imp.java:408) at org.python.core.PyModule.impAttr(PyModule.java:109) at org.python.core.imp.import_next(imp.java:637) at org.python.core.imp.import_name(imp.java:746) at org.python.core.imp.importName(imp.java:806) at org.python.core.ImportFunction.__call__(__builtin__.java:1232) at org.python.core.PyObject.__call__(PyObject.java:367) at org.python.core.__builtin__.__import__(__builtin__.java:1202) at org.python.core.__builtin__.__import__(__builtin__.java:1185) at org.python.core.imp.importAll(imp.java:904) at sikuli$py.f$0(C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\__init__.py:1) at sikuli$py.call_function(C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\__init__.py) at org.python.c
ore.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:326) at org.python.core.util.importer.importer_load_module(importer.java:109) at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161) at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source) at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47) at org.python.core.imp.loadFromLoader(imp.java:451) at org.python.core.imp.find_module(imp.java:408) at org.python.core.imp.import_next(imp.java:635) at org.python.core.imp.import_name(imp.java:746) at org.python.core.imp.importName(imp.java:806) at org.python.core.ImportFunction.__call__(__builtin__.java:1232) at org.python.core.PyObject.__call__(PyObject.java:367) at org.python.core.__builtin__.__import__(__builtin__.java:1202) at org.python.core.__builtin__.__import__(__builtin__.java
:1185) at org.python.core.imp.importAll(imp.java:904) at org.python.pycode._pyx8.f$0( :1) at org.python.pycode._pyx8.call_function( ) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.Py.runCode(Py.java:1204) at org.python.core.Py.exec(Py.java:1248) at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172) at org.sikuli.script.ScriptRunner.runPython(ScriptRunner.java:52) at org.sikuli.ide.SikuliIDE$ButtonRun.runPython(SikuliIDE.java:1511) at org.sikuli.ide.SikuliIDE$ButtonRun$1.run(SikuliIDE.java:1616) java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: Could not initialize class org.sikuli.script.App
References