Re: [Sikuli-driver] [Question #231118]: [1.0] problems importing .sikuli scripts in the same directory

2013-06-23 Thread RaiMan
Question #231118 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/231118 Linked to bug: #1193783 https://bugs.launchpad.net/bugs/1193783 "[request] import should be more verbose on possible error causes, when import fails" -- You received this question notification

Re: [Sikuli-driver] [Question #231118]: [1.0] problems importing .sikuli scripts in the same directory

2013-06-23 Thread RaiMan
Question #231118 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/231118 RaiMan posted a new comment: LOL, one of the oldest oddities with Sikuli. I will add an error message to the Sikuli import for the case that a script.sikuli does not contain a script.py. -- You received th

Re: [Sikuli-driver] [Question #231118]: [1.0] problems importing .sikuli scripts in the same directory

2013-06-22 Thread robert gonzales
Question #231118 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/231118 Status: Open => Solved robert gonzales confirmed that the question is solved: i believe i found the problem. originally oxpToolKit was called workToolKit. as i started writing more code i decided to rena

Re: [Sikuli-driver] [Question #231118]: [1.0] problems importing .sikuli scripts in the same directory

2013-06-21 Thread robert gonzales
Question #231118 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/231118 Status: Needs information => Open robert gonzales gave more information on the question: well i just tried importing a test script with just a single variable and it worked, so i must have a syntax erro

Re: [Sikuli-driver] [Question #231118]: [1.0] problems importing .sikuli scripts in the same directory

2013-06-21 Thread RaiMan
Question #231118 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/231118 Status: Open => Needs information RaiMan requested more information: sys.path looks ok. Sure, you do not have any syntax error in your oxpToolKit.sikuli ? -- You received this question notification be

Re: [Sikuli-driver] [Question #231118]: [1.0] problems importing .sikuli scripts in the same directory

2013-06-21 Thread robert gonzales
Question #231118 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/231118 Status: Answered => Open robert gonzales is still having a problem: it still didnt work, i tried it on windows 7 and windows 8 this is the printout i got from the try statment : C:\Program Files\sikuli

Re: [Sikuli-driver] [Question #231118]: [1.0] problems importing .sikuli scripts in the same directory

2013-06-21 Thread RaiMan
Question #231118 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/231118 RaiMan posted a new comment: if it really does not work, pls. add the following: try: import oxpToolKit except: for e in sys.path: print e exit() and post the printout -- You received this que

Re: [Sikuli-driver] [Question #231118]: [1.0] problems importing .sikuli scripts in the same directory

2013-06-21 Thread RaiMan
Question #231118 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/231118 Status: Open => Answered RaiMan proposed the following answer: Supposing this: some_script.sikuli # importing oxpToolKit opxToolKit.sikuli # either this or opxToolKit.py in the same folder. then impor

[Sikuli-driver] [Question #231118]: [1.0] problems importing .sikuli scripts in the same directory

2013-06-20 Thread robert gonzales
New question #231118 on Sikuli: https://answers.launchpad.net/sikuli/+question/231118 hello, i am trying to import one .sikuli file into another so that i can reuse some code. both files are in the same folder. this is what i tried first: from sikuli import * from java.awt import Toolkit fr