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

Bug #976865 reported by RonBraithwaite
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
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.

Tags: idemenu
Revision history for this message
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
Revision history for this message
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.

Revision history for this message
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)
Changed in sikuli:
status: Confirmed → Fix Committed
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → x1.0
RaiMan (raimund-hocke)
tags: added: idemenu
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Undecided → High
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: x1.0 → x1.1
RaiMan (raimund-hocke)
Changed in sikuli:
importance: High → Medium
RaiMan (raimund-hocke)
description: updated
Changed in sikuli:
importance: Medium → Critical
RaiMan (raimund-hocke)
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
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → Fix Released
milestone: 1.1.0 → none
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.