[check] IDE: a module home.sikuli cannot be used when running from command line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
In Progress
|
Medium
|
RaiMan |
Bug Description
Hello,
I am new to Sikuli. Here is my problem:
I created some scripts within multiple modules. It works perfectly when I debug from IDE UI. However, it throws following error when I ran it from command line like:
C:/sikuli/
or:
C:/sikuli/
Error message: [error] NameError ( name 'someFunction' is not defined )
I looked through the site and and there is no luck to find the solution. Here, the 'someFunction' structure is like:
script1.sikuli:
from sikuli import *
def someFunction:
....
script2.sikuli: # The entry file
from script1 import *
from sikuli import *
someFunction()
Again, it works from IDE but failed from command line. Thank you for your help.
Sikuli version: 1.0.1
Changed in sikuli: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.2.0 |
summary: |
- [1.1.0] IDE: a module home.sikuli cannot be used when running from + [check] IDE: a module home.sikuli cannot be used when running from command line |
Changed in sikuli: | |
milestone: | 2.0.0 → 2.0.1 |