← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #271751]: Where to get sikuli-script.jar to run Jython .py from Java

 

Question #271751 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/271751

    Status: Answered => Open

deva is still having a problem:
i tried with  Sikuli 1.1 . but i got the same kind of error..

ERROR:

console: Failed to install '': java.nio.charset.UnsupportedCharsetException: cp0.
Exception in thread "main" Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "D:\sikuli1.1\sikulixapi.jar\Lib\sikuli\__init__.py", line 5, in <module>
java.lang.NoClassDefFoundError: sikuli (wrong name: Sikuli)

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(Unknown Source)

        at java.security.SecureClassLoader.defineClass(Unknown Source)

        at java.net.URLClassLoader.defineClass(Unknown Source)

        at java.net.URLClassLoader.access$100(Unknown Source)

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Unknown Source)

        at org.python.core.Py.loadAndInitClass(Py.java:933)

        at org.python.core.Py.findClassInternal(Py.java:868)

        at org.python.core.Py.findClassEx(Py.java:919)

        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__(PyJavaPackage.java:137)

        at org.python.core.PyObject.__findattr__(PyObject.java:879)

        at
org.python.core.packagecache.PackageManager.lookupName(PackageManager.java:136)

        at org.python.core.PyModule.impAttr(PyModule.java:107)

        at org.python.core.imp.import_next(imp.java:739)

        at org.python.core.imp.import_module_level(imp.java:856)

        at org.python.core.imp.importName(imp.java:946)

        at
org.python.core.ImportFunction.__call__(__builtin__.java:1300)

        at org.python.core.PyObject.__call__(PyObject.java:373)

        at org.python.core.__builtin__.__import__(__builtin__.java:1253)

        at org.python.core.imp.importFromAs(imp.java:1040)

        at org.python.core.imp.importFrom(imp.java:1016)

        at
sikuli$py.f$0(D:\sikuli1.1\sikulixapi.jar\Lib\sikuli\__init__.py:6)

        at
sikuli$py.call_function(D:\sikuli1.1\sikulixapi.jar\Lib\sikuli\__init__.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:393)

        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:520)

        at org.python.core.imp.find_module(imp.java:474)

        at org.python.core.imp.import_next(imp.java:737)

        at org.python.core.imp.import_module_level(imp.java:856)

        at org.python.core.imp.importName(imp.java:946)

        at
org.python.core.ImportFunction.__call__(__builtin__.java:1300)

        at org.python.core.PyObject.__call__(PyObject.java:373)

        at org.python.core.__builtin__.__import__(__builtin__.java:1253)

        at org.python.core.imp.importAll(imp.java:1066)

        at org.python.pycode._pyx3.f$0(<string>:1)

        at org.python.pycode._pyx3.call_function(<string>)

        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:1312)

        at org.python.core.Py.exec(Py.java:1356)

        at
org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206)

        at
org.sikuli.scriptrunner.JythonScriptRunner.executeScriptHeader(JythonScriptRunner.java:686)

        at
org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunner.java:166)

        at runsikuli.main(runsikuli.java:38)


java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: sikuli (wrong name: Sikuli)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.