[2.0.x] IDE: delete images on save: orphan string delimiter message --- fixed in 2.0.4

Bug #1857600 reported by Jeff_Vallis on 2019-12-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
High
RaiMan

Bug Description

2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9

Orphan string delimiter )" or ')
in line 3760

this was on saving a script in the IDE
my script file has 3318 lines

so I have a problem finding there error line

Jeff_Vallis (vallis-pj) wrote :

[error] EditorPane: DeleteImagesOnSave: No images deleted, caused by orphan string delimiter (" or ') in line 3760
[error] EditorPane: cleanBundle aborted (uncomplete_string_error)

RaiMan (raimund-hocke) on 2019-12-26
summary: - Orphan Delimiter
+ IDE: delete images on save: orphan string delimiter message line number
+ too large
summary: - IDE: delete images on save: orphan string delimiter message line number
- too large
+ [2.0.x] IDE: delete images on save: orphan string delimiter message line
+ number too large
Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 2.0.2

I reproduced this error by accident and worked out that it traced to an apostrophe in a comment. Sikuli still reads that as a delimiter even though it's following a # or inside a ''' ''' block.

RaiMan (raimund-hocke) on 2020-09-15
summary: - [2.0.x] IDE: delete images on save: orphan string delimiter message line
- number too large
+ [2.0.x] IDE: delete images on save: orphan string delimiter message ---
+ fixed in 2.0.4
Changed in sikuli:
status: In Progress → Fix Committed
importance: Medium → High
milestone: 2.0.2 → 2.0.5
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers