sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #18949
Re: [Question #231453]: In Eclipse the program fails to start up using Jython run
Question #231453 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/231453
Description changed to:
Hello,
I am facing this error in the Console in eclipse when running in the
Virtual Machine. I have installed everything accordingly in the Virtual
Machine and I'm starting to run inside the Virtual Machine but without
any success. Could anyone please help me out as what is the real issue
here. Or am I doing something wrong here!
OS: Windows 7 (64 bit )
Thanks for your help in advance!
Best Regards,
Ebi.
....
java.io.FileNotFoundException: C:\Windows\jline_.dll (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at jline.WindowsTerminal.loadLibrary(WindowsTerminal.java:293)
at jline.WindowsTerminal.initializeTerminal(WindowsTerminal.java:240)
at jline.Terminal.setupTerminal(Terminal.java:75)
at org.python.util.JLineConsole.<init>(JLineConsole.java:74)
at org.python.util.JLineConsole.<init>(JLineConsole.java:58)
at org.python.util.JLineConsole.<init>(JLineConsole.java:54)
at org.python.util.jython.newInterpreter(jython.java:347)
at org.python.util.jython.run(jython.java:168)
at org.python.util.jython.main(jython.java:129)
....
*sys-package-mgr*: can't write index file
*sys-package-mgr*: processing new jar, 'C:\Program Files (x86)\Java\jre6\lib\ext\sunpkcs11.jar'
*sys-package-mgr*: can't write cache file for 'C:\Program Files (x86)\Java\jre6\lib\ext\sunpkcs11.jar'
*sys-package-mgr*: can't write index file
Finding files... done.
java.io.IOException: Unable to create JNI library working directory C:\Windows\tmplib
at com.wapmx.nativeutils.jniloader.DefaultJniExtractor.getJniDir(DefaultJniExtractor.java:80)
at com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractResource(DefaultJniExtractor.java:128)
at com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractJni(DefaultJniExtractor.java:110)
at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:43)
at org.sikuli.script.Finder.<clinit>(Finder.java:33)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
...
at org.python.core.PyObject.__call__(PyObject.java:387)
at org.python.core.PyObject.__call__(PyObject.java:391)
at pydev_runfiles$py._PydevTestRunner__get_module_from_str$13(D:\derusseb\Sikuli Environment\Sikuli Test Environment\eclipse-jee-helios-win32\eclipse\plugins\org.python.pydev_2.7.5.2013052819\pysrc\pydev_runfiles.py:452)
at pydev_runfiles$py.call_function(D:\derusseb\Sikuli Environment\Sikuli Test Environment\eclipse-jee-helios-win32\eclipse\plugins\org.python.pydev_2.7.5.2013052819\pysrc\pydev_runfiles.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
...
at org.python.util.jython.main(jython.java:129)
java.io.IOException: Unable to create JNI library working directory C:\Windows\tmplib
at com.wapmx.nativeutils.jniloader.DefaultJniExtractor.getJniDir(DefaultJniExtractor.java:80)
at com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractResource(DefaultJniExtractor.java:128)
at com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractJni(DefaultJniExtractor.java:110)
at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:43)
at org.sikuli.script.Win32Util.<clinit>(Win32Util.java:19)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.sikuli.script.Env.getOSUtil(Env.java:91)
at org.sikuli.script.App.<clinit>(App.java:9)
at java.lang.Class.forName0(Native Method)
...
at org.python.util.jython.main(jython.java:129)
java.io.IOException: Unable to create JNI library working directory C:\Windows\tmplib
at com.wapmx.nativeutils.jniloader.DefaultJniExtractor.getJniDir(DefaultJniExtractor.java:80)
at com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractResource(DefaultJniExtractor.java:128)
at com.wapmx.nativeutils.jniloader.DefaultJniExtractor.extractJni(DefaultJniExtractor.java:110)
at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:43)
at org.sikuli.script.VDictProxy.<clinit>(VDictProxy.java:25)
...
Importing test modules ... D:\derusseb\Sikuli Environment\Sikuli Test Environment\eclipse-jee-helios-win32\eclipse\plugins\org.python.pydev_2.7.5.2013052819\pysrc
D:\derusseb\workspace\Multicode
C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib
C:\Program Files (x86)\Sikuli-IDE\sikuli-script.jar
C:\Jython 2.5.3\Lib
C:\Jython 2.5.3\Lib\site-packages
C:\Program Files (x86)\Java\jre6\lib\resources.jar
C:\Program Files (x86)\Java\jre6\lib\rt.jar
C:\Program Files (x86)\Java\jre6\lib\jsse.jar
C:\Program Files (x86)\Java\jre6\lib\jce.jar
C:\Program Files (x86)\Java\jre6\lib\charsets.jar
C:\Program Files (x86)\Java\jre6\lib\ext\dnsns.jar
C:\Program Files (x86)\Java\jre6\lib\ext\localedata.jar
C:\Program Files (x86)\Java\jre6\lib\ext\sunjce_provider.jar
C:\Program Files (x86)\Java\jre6\lib\ext\sunmscapi.jar
C:\Program Files (x86)\Java\jre6\lib\ext\sunpkcs11.jar
__classpath__
__pyclasspath__/
D:/derusseb/workspace/Multicode
[log] Ctrl+TYPE ""
Failed to load VisionProxy.
java.io.IOException: Unable to create JNI library working directory C:\Windows\tmplib
[log] Ctrl+TYPE ""
[log] Ctrl+TYPE ""
[log] Ctrl+TYPE ""
[log] Ctrl+TYPE ""
[log] Ctrl+TYPE ""
[log] Ctrl+TYPE ""
[log] Ctrl+TYPE ""
[log] Ctrl+TYPE ""
[log] Ctrl+TYPE ""
[log] Ctrl+TYPE ""
[log] Ctrl+TYPE ""
[log] Ctrl+TYPE ""
Traceback (most recent call last):
File "D:\derusseb\Sikuli Environment\Sikuli Test Environment\eclipse-jee-helios-win32\eclipse\plugins\org.python.pydev_2.7.5.2013052819\pysrc\pydev_runfiles_xml_rpc.py", line 131, in run
self.server.notifyCommands(commands)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1147, in __call__
return self.__send(self.__name, args)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1433, in _ServerProxy__request
response = self.__transport.request(
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1183, in request
self.send_content(h, request_body)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1297, in send_content
connection.endheaders()
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 860, in endheaders
self._send_output()
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 732, in _send_output
self.send(msg)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 699, in send
self.connect()
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 683, in connect
raise socket.error, msg
error: (-1, 'Unmapped exception: java.net.SocketException: Unrecognized Windows Sockets error: 10104: socket')
Traceback (most recent call last):
File "D:\derusseb\Sikuli Environment\Sikuli Test Environment\eclipse-jee-helios-win32\eclipse\plugins\org.python.pydev_2.7.5.2013052819\pysrc\pydev_runfiles_xml_rpc.py", line 131, in run
self.server.notifyCommands(commands)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1147, in __call__
return self.__send(self.__name, args)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1433, in _ServerProxy__request
response = self.__transport.request(
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1183, in request
self.send_content(h, request_body)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1297, in send_content
connection.endheaders()
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 860, in endheaders
self._send_output()
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 732, in _send_output
self.send(msg)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 699, in send
self.connect()
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 683, in connect
raise socket.error, msg
error: (-1, 'Unmapped exception: java.net.SocketException: Unrecognized Windows Sockets error: 10104: socket')
Traceback (most recent call last):
File "D:\derusseb\Sikuli Environment\Sikuli Test Environment\eclipse-jee-helios-win32\eclipse\plugins\org.python.pydev_2.7.5.2013052819\pysrc\pydev_runfiles_xml_rpc.py", line 131, in run
self.server.notifyCommands(commands)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1147, in __call__
return self.__send(self.__name, args)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1433, in _ServerProxy__request
response = self.__transport.request(
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1183, in request
self.send_content(h, request_body)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1297, in send_content
connection.endheaders()
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 860, in endheaders
self._send_output()
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 732, in _send_output
self.send(msg)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 699, in send
self.connect()
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 683, in connect
raise socket.error, msg
error: (-1, 'Unmapped exception: java.net.SocketException: Unrecognized Windows Sockets error: 10104: socket')
Traceback (most recent call last):
File "D:\derusseb\Sikuli Environment\Sikuli Test Environment\eclipse-jee-helios-win32\eclipse\plugins\org.python.pydev_2.7.5.2013052819\pysrc\pydev_runfiles_xml_rpc.py", line 131, in run
self.server.notifyCommands(commands)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1147, in __call__
return self.__send(self.__name, args)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1433, in _ServerProxy__request
response = self.__transport.request(
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1183, in request
self.send_content(h, request_body)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1297, in send_content
connection.endheaders()
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 860, in endheaders
self._send_output()
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 732, in _send_output
self.send(msg)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 699, in send
self.connect()
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 683, in connect
raise socket.error, msg
error: (-1, 'Unmapped exception: java.net.SocketException: Unrecognized Windows Sockets error: 10104: socket')
Traceback (most recent call last):
File "D:\derusseb\Sikuli Environment\Sikuli Test Environment\eclipse-jee-helios-win32\eclipse\plugins\org.python.pydev_2.7.5.2013052819\pysrc\pydev_runfiles_xml_rpc.py", line 131, in run
self.server.notifyCommands(commands)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1147, in __call__
return self.__send(self.__name, args)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1433, in _ServerProxy__request
response = self.__transport.request(
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1183, in request
self.send_content(h, request_body)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\xmlrpclib.py", line 1297, in send_content
connection.endheaders()
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 860, in endheaders
self._send_output()
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 732, in _send_output
self.send(msg)
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 699, in send
self.connect()
File "C:\Program Files (x86)\Sikuli-IDE\sikuli-script\Lib\httplib.py", line 683, in connect
raise socket.error, msg
error: (-1, 'Unmapped exception: java.net.SocketException: Unrecognized Windows Sockets error: 10104: socket')
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.