sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24050
Re: [Question #243487]: [1.0.1] Win7 64: IDE: I get a typeError from NetBeans 7.4
Question #243487 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243487
Status: Answered => Open
Rod Caverly is still having a problem:
I just launch NetBeans 7.4, Java 1.7.0_51 With the debug parameters
plugged in from prior tests... Just selected to RUN not debug the
script ...
# To change this license header, choose License Headers in Project Properties.
# To change this template file, choose Tools | Templates
# and open the template in the editor.
import org.sikuli.basics.SikuliXforJython
from sikuli import *
__author__="rod"
__date__ ="$Feb 6, 2014 2:19:05 PM$"
if __name__ == "__main__":
print "Hello World"
The output is as follows...
[debug] SikuliXforJython: sys.path[0]: C:\Users\rod\Documents\NetBeansProjects\NewPythonProject4\src
[debug] SikuliXforJython: sys.path[1]: C:\Users\rod\AppData\Roaming\NetBeans\7.4\jython-2.5.1\Lib
[debug] SikuliXforJython: sys.path[2]: C:\Users\rod\AppData\Roaming\NetBeans\7.4\jython-2.5.1\Lib\site-packages
[debug] SikuliXforJython: sys.path[3]: C:\SikuliX\sikuli-java.jar\Lib
[debug] SikuliXforJython: sys.path[4]: C:\Users\rod\Documents\NetBeansProjects\NewPythonProject4\src
[debug] SikuliXforJython: sys.path[5]: __classpath__
[debug] SikuliXforJython: sys.path[6]: __pyclasspath__/
[debug] SikuliXforJython: found Sikuli Jython in:
/C:/SikuliX/sikuli-java.jar/Lib
[debug] SikuliXforJython: Trying to add to sys.path
[debug] SikuliXforJython: new Jython path:
[debug] SikuliXforJython: sys.path[0]: C:\Users\rod\Documents\NetBeansProjects\NewPythonProject4\src
[debug] SikuliXforJython: sys.path[1]: C:\Users\rod\AppData\Roaming\NetBeans\7.4\jython-2.5.1\Lib
[debug] SikuliXforJython: sys.path[2]: C:\Users\rod\AppData\Roaming\NetBeans\7.4\jython-2.5.1\Lib\site-packages
[debug] SikuliXforJython: sys.path[3]: C:\SikuliX\sikuli-java.jar\Lib
[debug] SikuliXforJython: sys.path[4]: C:\Users\rod\Documents\NetBeansProjects\NewPythonProject4\src
[debug] SikuliXforJython: sys.path[5]: __classpath__
[debug] SikuliXforJython: sys.path[6]: __pyclasspath__/
[debug] SikuliXforJython: sys.path[7]: /C:/SikuliX/sikuli-java.jar/Lib
[debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013135849
Traceback (most recent call last):
File "C:\Users\rod\Documents\NetBeansProjects\NewPythonProject4\src\newpythonproject4.py", line 5, in <module>
from sikuli import *
File "C:\SikuliX\sikuli-java.jar\Lib\sikuli\__init__.py", line 6, in <module>
TypeError: log(): 1st arg can't be coerced to String
On Monday, February 10, 2014 12:11 PM, RaiMan <question243487@xxxxxxxxxxxxxxxxxxxxx> wrote:
Your question #243487 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243487
Status: Open => Answered
RaiMan proposed the following answer:
What about running this in a normal (not debugging) session?
Might be, that there is some class name clash on sys.path with the
debugging environment in netbeans.
Sikuli's class org.sikuli.basics.Debug with debug level 3 logs valuable
output on the start up sequence.
--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/sikuli/+question/243487/+confirm?answer_id=12
If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/sikuli/+question/243487
You received this question notification because you asked the question.
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.