sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #10792
Re: [Question #196872]: Script Sikuli in Eclipse - pythonpath problem
Question #196872 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/196872
j posted a new comment:
Okay, I seem to have imported the Lib/sikuli directory incorrect.
Thanks for your help, the imports are found now. =)
However, there are two other problems I encountered:
1. getBundlePath() always returns None when I run my scripts in Eclipse.
It doesn't when run in sikuli-ide. This is not so important for me
because I only used getBundlePath parallel to sys.argv[0] so I can
replace it with the latter.
2. I have a Sikuli module named logging.sikuli. This is imported
correctly in sikuli-ide. In Eclipse, the Sikuli importer does NOT import
my logging.sikuli but the Jython logging module
(Jython2.5.2/Lib/logging). I debugged this problem and found the source
in SikuliImporter.py in method def _load_module(self, fullname): the imp
module fetches the wrong module (jython logging) although the
Sikuliimporter has the right path to the sikuli module. I solved this by
renaming my module, but this is some kind of bug.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.