error import

Asked by SHIH-JIE HSU

When I use the Sikuli-2.0.5(WIN10)
I have the .py want to import.
But he always have the error situation , when i import the py.

 java.lang.IllegalArgumentException ( java.lang.IllegalArgumentException: !!WHILE IMPORTING!! java.lang.IllegalArgumentException: Cannot create PyString with non-byte value

How can I solve this situation?
I try to put two py in the same folder, but it doesn't work.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
masuo
Solved:
Last query:
Last reply:
Revision history for this message
Best masuo (masuo-ohara) said :
#1

@SHIH-JIE HSU
I suspect that non-byte characters are used in places other than comments in the script file you want to import.

Revision history for this message
SHIH-JIE HSU (boya0411) said :
#2

Thanks ~ I will check the code at first.

Revision history for this message
SHIH-JIE HSU (boya0411) said :
#3

Thanks masuo, that solved my question.