sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #34230
Re: [Question #270538]: Is there a way to remove the sikuli import feature in the nightly build?
Question #270538 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/270538
Status: Open => Answered
RaiMan proposed the following answer:
to make it simple:
you have something like this in your script:
import Login
... and the script to be imported is in some Login.py found on sys.path.
Further I guess your main script is stored in some myscript.py and you
are running it using plain Jython or from the Python plugin in Eclipse.
If this is true, then you might have in your main script
from org.sikuli.basics import SikulixForJython
from sikuli import *
as well as in the imported scripts, that use Sikulix features
from sikuli import *
please confirm or tell me, what you have instead.
... and no, the import feature cannot be switched off (but might be a
good idea to be able to do that)
But anyways: Login.py should be imported without any problems. So if it
is not imported, this is bug, I have to fix.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.