Pages: [1]   Go Down
Author Topic: 0017 File Save Error  (Read 1068 times)
0 Members and 1 Guest are viewing this topic.
Denver
Offline Offline
God Member
*****
Karma: 20
Posts: 779
Inactive - PM
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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]

« Last Edit: August 21, 2009, 05:59:28 pm by BroHogan » Logged

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

Denver
Offline Offline
God Member
*****
Karma: 20
Posts: 779
Inactive - PM
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Discovered this has now been written up . . .
http://code.google.com/p/arduino/issues/detail?id=88
Logged

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

Denver
Offline Offline
God Member
*****
Karma: 20
Posts: 779
Inactive - PM
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: August 25, 2009, 12:45:10 pm by BroHogan » Logged

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

Wuppertal/Germany
Offline Offline
God Member
*****
Karma: 1
Posts: 895
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Denver
Offline Offline
God Member
*****
Karma: 20
Posts: 779
Inactive - PM
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

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

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

SF Bay Area
Offline Offline
Edison Member
*
Karma: 11
Posts: 1244
Arduino Ninja
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Unique RGB LED Modules and Arduino shields: http://www.macetech.com/store

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.)
Logged

Wuppertal/Germany
Offline Offline
God Member
*****
Karma: 1
Posts: 895
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Same on processing 1.0.6
Eberhard
Logged

Pages: [1]   Go Up
Jump to: