← Back to team overview

sikuli-driver team mailing list archive

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

ashi posted a new comment:
Hi, RaiMan, I just have the same problem on Win7 64:

I run it from command line:

c:\>java  -Xmx512m -Xss1152k -Dsikuli.Debug=3
-Dpython.home="C:\jython2.5.1"
-Dpython.executable="C:\jython2.5.1\bin\jython.bat" -classpath
"C:\jython2.5.1\jython.jar";"c:\Program Files (x86)\sikuli\sikuli-
java.jar" org.python.util.jython

and then in the jython interpreter:

Jython 2.5.1 (Release_2_5_1:6813, Sep 26 2009, 13:47:54)
[Java HotSpot(TM) Client VM (Oracle Corporation)] on java1.7.0_51
Type "help", "copyright", "credits" or "license" for more information.
>>> import org.sikuli.basics.SikuliXforJython
[debug] SikuliXforJython: sys.path[0]:
[debug] SikuliXforJython: sys.path[1]: C:\jython2.5.1\Lib
[debug] SikuliXforJython: sys.path[2]: __classpath__
[debug] SikuliXforJython: sys.path[3]: __pyclasspath__/
[debug] SikuliXforJython: sys.path[4]: C:\jython2.5.1\Lib\site-packages
[debug] SikuliXforJython: found Sikuli Jython in:
/C:/Program Files (x86)/sikuli/sikuli-java.jar/Lib
[debug] SikuliXforJython: Trying to add to sys.path
[debug] SikuliXforJython: new Jython path:
[debug] SikuliXforJython: sys.path[0]:
[debug] SikuliXforJython: sys.path[1]: C:\jython2.5.1\Lib
[debug] SikuliXforJython: sys.path[2]: __classpath__
[debug] SikuliXforJython: sys.path[3]: __pyclasspath__/
[debug] SikuliXforJython: sys.path[4]: C:\jython2.5.1\Lib\site-packages
[debug] SikuliXforJython: sys.path[5]: /C:/Program Files (x86)/sikuli/sikuli-jav
a.jar/Lib
[debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013135849
>>>
>>> from sikuli import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Program Files (x86)\sikuli\sikuli-java.jar\Lib\sikuli\__init__.py", l
ine 6, in <module>
TypeError: log(): 1st arg can't be coerced to String
>>>

Thanks,
ashi

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.