Mojave : SikuliX IDE : [error] FileManager: Not a valid Sikuli script project:

Asked by Melvin Raymond on 2019-02-01

I'm running examples of using Robot Framework to learn how to use it, and getting an error on the output I don't understand

- [error] FileManager: Not a valid Sikuli script project:
- SikuliX IDE: version was built at 2019-01-30_21:31 (Build 187)
- Python 2.7.10

THE CODE:

runScript("""
*** Settings ***
Library String

*** Test Cases ***
Test Robot Framework Logging
  Log Test Logging
  Log Many First Entry Second Entry
  Log To Console Display to console while Robot is running

Test For Loop
    : FOR ${INDEX} IN RANGE 1 3
    \ Log ${INDEX}
    \ ${RANDOM_STRING}= Generate Random String ${INDEX}
    \ Log ${RANDOM_STRING}
""")

THE OUTPUT:

[error] Runner: given script location not supported or not valid:
http://*** Settings ***
Library String

*** Test Cases ***
Test Robot Framework Logging
Log Test Logging
Log Many First Entry Second Entry
Log To Console Display to console while Robot is running

Test For Loop
/ FOR ${INDEX} IN RANGE 1 3
\ Log ${INDEX}
\ ${RANDOM_STRING}= Generate Random String ${INDEX}
\ Log ${RANDOM_STRING}
[error] FileManager: Not a valid Sikuli script project:
/Users/labquest_automation/Desktop/SikuliX/ FOR ${INDEX} IN RANGE 1 3
\ Log ${INDEX}
\ ${RANDOM_STRING}= Generate Random String ${INDEX}
\ Log ${RANDOM_STRING}.sikuli

1.1.4-SNAPSHOT-2019-01-30_21:31/Mac10.14.2/Java8(64)1.8.0_201-b09

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Melvin Raymond
Solved:
2019-02-02
Last query:
2019-02-02
Last reply:
2019-02-02
masuo (masuo-ohara) said : #1

"robot" is need before "*** Settings ***"

Melvin Raymond (fribian) said : #2

Wow! Can't believe I missed that. That was the problem. Thank you so much masuo.