← 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

    Status: Answered => Open

Rod Caverly is still having a problem:

Hi RaiMan,

I have added .Dsikuli.Debug=3 as a Command Argument to my main module
and all I get is ...

[LOG]PythonDebugger : overall Starting
[LOG]PythonDebugger.taskStarted : I am Starting a new Debugging Session ...
[LOG]This window is an interactive debugging context aware Python Shell 
[LOG]where you can enter python console commands while debugging 
>>>c:\users\rod\appdata\roaming\netbeans\7.4\config\nbpython\debug\nbpythondebug\jpydaemon.py
args =  ['C:\\Users\\rod\\AppData\\Roaming\\NetBeans\\7.4\\config\\nbPython\\debug\\nbpythondebug\\jpydaemon.py', 'localhost', '29100']
localDebuggee= None
JPyDbg connecting  localhost  on in=  29100 /out= 29101
JPyDbgI0001 : connected to  localhost
>>>log(): 1st arg can't be coerced to String['Traceback (most recent call last):
deamon ended
', '  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
"]
Debug session normal end

Going into the module "__init__.py"  I find

1 # Copyright 2010-2013, Sikuli.org
2 # Released under the MIT License.
3 # modified RaiMan 2013
4
5 from org.sikuli.basics import Debug
6 Debug.log(3,"Jython: sikuli: __init__: entering")
7 from Sikuli import *

I am experiencing an error on the first Debug command.  What output do
you expect from using a debug command?



On Saturday, February 8, 2014 6:16 AM, 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:
in your project settings run section you have an entry field VM Options.
There you enter Java runtime options like -D...

-- 
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=10

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.