Go Down

Topic: 0017 File Save Error (Read 1 time) previous topic - next topic

bHogan

Aug 21, 2009, 06:22 am Last Edit: Aug 22, 2009, 12:59 am by BroHogan Reason: 1
Found this on the Windows 0017 release . . .
1. Open an existing sketch
2. Edit it but don't save yet
3. Open a read only example - i.e.Blink
4. Popup: "Save Changes to <sketch name> ?" - say YES
5. Popup: "Sketch is Read-only" - hit OK, cancel out of save as
6. Close IDE or move to another sketch
7. Edits were not saved

Basically the IDE is confused about which sketch is which when it runs across a RO sketch.

Great rel though! I love the new lib system. I finally understand what a "core" lib is. Didn't make much sense when they were all in the same folder.

Displaying that the compile is complete before the upload finishes is great too. If you have a simple clone now you know exactly when to push Reset.

[edit]There may be other sequences that don't save when you think it did. Perhaps when 2 files are open. (Unless it's just me!  :'()[/edit]

"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom."
~ Clifford Stoll

bHogan

"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom."
~ Clifford Stoll

bHogan

#2
Aug 25, 2009, 05:07 pm Last Edit: Aug 25, 2009, 07:45 pm by BroHogan Reason: 1
Hi BroHogan!

It's nice that you want to
Quote
"Help us improve the Arduino software, . . ."

You must be wondering if you and macegr are the only one's with this problem.  :o

It's gotten pretty simple to reproduce:
1. edit a sketch
2. either close with the X or just open a new sketch
3. you are prompted if you want to save your work - hit "Yes"
4. you loose your work
This happens on Windows (at least).

Well, just sit tight and keep pressing that save arrow! The doctor will be with you soon.

OK I admit this is pretty flip. But having a bug in an IDE that causes developers to loose their work is about as bad a bug as you can have (IMO). If I were a principal here, after verifying the bug, I would make a post to warn others. That's really my only goal here.
"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom."
~ Clifford Stoll

wayoda

Hi,
I thought I also bump this thread a bit until we either have 1000 views or  http://code.google.com/p/arduino/issues/detail?id=88 is at least tagged  Priority-Urgent

BTW:
I went back to 0016, but mind this Issue here :
http://code.google.com/p/arduino/issues/detail?id=79&can=1 tagged Won't fix

Eberhard

bHogan

There is now a request to "check if the latest version of Processing has the same problems" in the Google code writeup.

As I don't use Processing, and this lonely crusade has ended for me, perhaps someone else may want to look into that.
"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom."
~ Clifford Stoll

mellis

I do my best to fix things, but the more help I get, the faster it happens.

macegr

Quote
I do my best to fix things, but the more help I get, the faster it happens.


What do you need? I've provided instructions to duplicate the problem, but am not qualified to start messing around with the sourcecode. Is there anything else we can do to help out, other than do your QA testing? Please let me know if there is something I can help you do to resolve this problem.
Unique RGB LED Modules and Arduino shields: http://www.macetech.com/store

mellis

Testing this on the latest version of Processing http://processing.org/download/index.html would be a big help.  If they've fixed the problem, then I'll just copy their fixes over.  If not, I'd like to let them know so they can help figure out the fix.  

(The IDE code comes from Processing, so they have a much better understanding of how the save process works.)

wayoda

Same on processing 1.0.6
Eberhard

Go Up