X-1.0rc3: Windows: Cannot run scripts saved at root level --- at least one folder level needed

Bug #852940 reported by Steve Hoey
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
Critical
RaiMan

Bug Description

Every Script that I open errors out with
[error] Stopped
[error] An error occurs at line 1
[error] Error message: SyntaxError: ('mismatched character \'\\n\' expecting \'"\'', ('', 1, 17, 'addModPath("C:\\")\n'))

If I create a new script and hit run without saving its fine.

The complexity of the script doesnt matter.
Just using this causes it
popup("hi")

Version:1.0rc3 also continuous build 912
OS: 64bit ultimate win 7

Tags: filenames
Revision history for this message
Tsung-Hsiang Chang (vgod) wrote :

It seems this only happens when the script is saved in C:\. If you save the script in a folder, it works well.

Changed in sikuli:
status: New → Confirmed
Changed in sikuli:
status: Confirmed → Fix Committed
milestone: none → x1.0
Revision history for this message
Vinay Kulkarni (vinay-s) wrote :

I saved my script in e:\.
Its not working same error

Revision history for this message
RaiMan (raimund-hocke) wrote : Re: X-1.0rc3: Windows: Cannot run scripts saved at C:\

@ Vinay
It seems, that at least one folder level is needed.

So e:\some-folder should work.

summary: - Cannot run saved scripts [error] Error message: SyntaxError:
- ('mismatched character \'\\n\' expecting \'"\'', ('', 1, 17,
- 'addModPath("C:\\")\n'))
+ X-1.0rc3: Windows: Cannot run scripts saved at C:\
RaiMan (raimund-hocke)
summary: - X-1.0rc3: Windows: Cannot run scripts saved at C:\
+ X-1.0rc3: Windows: Cannot run scripts saved at root level --- at least
+ one folder level needed
RaiMan (raimund-hocke)
Changed in sikuli:
assignee: nobody → RaiMan (raimund-hocke)
RaiMan (raimund-hocke)
tags: added: filenames
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Undecided → High
RaiMan (raimund-hocke)
Changed in sikuli:
importance: High → Critical
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.