[1.0.1 ok] Renaming (using SaveAs) a .sikuli project, leaves old files .py and .html

Bug #976865 reported by RonBraithwaite on 2012-04-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
Critical
RaiMan

Bug Description

--- fixed with 1.0.1

OSX version 10.7.3
Sikuli 1.0rc3

If you rename the project from within the Sikuli IDE, not all internal files are renamed and nothing works. The only workaround is to create a new project with the right name and then copy and paste.

RaiMan (raimund-hocke) wrote :

-- If you rename the project from within the Sikuli IDE
To be clear: there is no rename feature in the IDE.
The only possibility is to say "Save as ..." for a currently open script old-name.sikuli (frontmost IDE tab), which saves the current content under the new-name.sikuli.
If you do this, old-name.sikuli and new-name.sikuli exist in the file system, but inside of new-name.sikuli, the files old-name.py and old-name.html are still present (which is a bug, but does not hurt).

-- not all internal files are renamed and nothing works
what files are you talking about?
what are the symptoms of "nothing works"?

Changed in sikuli:
status: New → Opinion
RonBraithwaite (1wp-rma-f1r) wrote :

My apologies. The problem was when I used Save As and the inner files old-name-py and old-name.html are not renamed. Those were the files that I meant when I said they were not renamed and "nothing works" means the app doesn't run. Again, my apologies for the vague bug report.

RaiMan (raimund-hocke) wrote :

No problem at all. No apologies.

If you do not know that "lightweight" bug, that the old files are preserved within the .sikuli folder, it is at least irritating.

thanks for feedback.

Changed in sikuli:
status: Opinion → Confirmed
summary: - Renaming a .sikuli project breaks it
+ X-1.0rc3: Renaming (using SaveAs) a .sikuli project, leaves old files
+ .py and .html
RaiMan (raimund-hocke) on 2012-11-02
Changed in sikuli:
status: Confirmed → Fix Committed
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → x1.0
RaiMan (raimund-hocke) on 2012-11-02
tags: added: idemenu
RaiMan (raimund-hocke) on 2013-02-21
Changed in sikuli:
importance: Undecided → High
RaiMan (raimund-hocke) on 2013-05-06
Changed in sikuli:
milestone: x1.0 → x1.1
RaiMan (raimund-hocke) on 2013-05-07
Changed in sikuli:
importance: High → Medium
RaiMan (raimund-hocke) on 2013-07-16
description: updated
Changed in sikuli:
importance: Medium → Critical
RaiMan (raimund-hocke) on 2013-08-14
summary: - X-1.0rc3: Renaming (using SaveAs) a .sikuli project, leaves old files
+ [1.0.1 ok] Renaming (using SaveAs) a .sikuli project, leaves old files
.py and .html
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers