sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #41389
[Question #447845]: Not importing sikuli scripts in debug mode in Netbeans
New question #447845 on Sikuli:
https://answers.launchpad.net/sikuli/+question/447845
Hi,
I wanted to better debug sikuli scripts in our application and installed NetBeans (8.2) to do so. Installed the NetBeans python plugin (for 8.1 but valid for 8.2).
I created a project in which I loaded all my sikuli/python scripts, select Jython 2.7.0 (the one provided with NetBeans) and configure Python Path pointing to sikulixapi.jar\Lib (I am in Windows 8.1 platform) and Java Path to sikulix.jar
My main script starts with a from sikuli import * and manage to run it with simple python code. The code import another sikuli script (called settings) which is regular sikuli directory structure format (settings.sikuli/settings.py).
When calling the same script in debugging mode it comes with an import error:
File "G:/Development/trunk/radiance/Testing/SystemTest/radianceForms/mainTest.sikuli/mainTest.py", line 24, in <module>
from settings import *
ImportError: No module named settings
What's done different in NetBeans when running in debug mode instead of regular run which is not able to import such file?
Thanks,
Carlos
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.