← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #174015]: [error] Error message: SyntaxError:

 

Question #174015 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/174015

Description changed to:
I just experienced something strange. I am writing this script for a FB
game and it worked perfectly. I moved the folders to my drop box then
switched to another computer to work on it and  it gave me this error
even though the script worked perfectly before in the other computer.
What does this error mean. It said there is an error in line 1 but it
doesn't have ANYTHING in line 1.

Ok, another weird thing is that when I log back on to the previous
computer it won't work for the old computer as well, but the script
works again, when I cut and paste the entire thing into a new script.


[error] Error message: SyntaxError: ("no viable alternative at character '?'", ('', 1, 64, "if len(sys.argv)==0 or 'C:/Documents and Settings/Tony's Backup/??/Test 1.sikuli/' != sys.argv[0]: sys.argv.insert(0, 'C:/Documents and Settings/Tony's Backup/??/Test 1.sikuli/')\n"))

Thanks again in advance


Tony

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.