What a train wreck...Time for a Break

Yikes, I go to execute a newly downloaded arduino-1.0.1 arduino.exe and get a messagebox 'Time for a Break' with the text of "You've reached the limit for auto naming new sketches for the day. how about going for a walk instead?" Now the arduino.exe will only do the messagebox!!!

When first ran arduino.exe it began doing something to all kinds of document files pdf, doc etc. and I could not stop it

Does anyone know why? How can I move on or work around?

Thank you in Advance

TimeForBreak.jpg

Looks like a virus.. Not sure how you could fix this, maybe get avg and run a quick scan to make sure..

http://d.hatena.ne.jp/toriimiyukki/20100720/1279552063

Looks like you are not the only one.

I can reproduce that. Make 26 new sketches. They are named sketch_aug12a through to sketch_aug12z. After that:

Looks like you are only allowed to make 26 new sketches a day. :wink:

If you try again:

Try restarting the IDE. That seemed to fix it for me. I assume you don't actually have 26 sketches named like that. If so, better start renaming them.

Did the developers REALLY put those messages in the java code?
Otherwise, 'Occupy Arduino' is here. A terrorist is attacking the Arduino project?
Because of the word 'sketches' in the message box precludes a virus attack making this problem a direct attack on the Arduino Project?
Can someone please contact the java developers about the text in the messagebox to prove if they ever wrote that code in the IDE or Arduino interfacing GUI?

Thank you - we will get to the bottom of this or we are sunk...

http://code.google.com/p/arduino/issues/detail?id=1005

That must have crept in during early development.

I've searched through the sources of the latest arduino-Arduino-409da1d and it did find 34 occurencies of the message, ie. in Base.java:

      if (index == 26) {
        // In 0159, avoid running past z by sending people outdoors.
        if (!breakTime) {
          Base.showWarning(_("Time for a Break"),
                           _("You've reached the limit for auto naming of new sketches\n" +
                             "for the day. How about going for a walk instead?"), null);
          breakTime = true;
        } else {
          Base.showWarning(_("Sunshine"),
                           _("No really, time for some fresh air for you."), null);

Frankly, I think it is a good remainder for those users where the "abnormal" behaviour could be indicated :slight_smile:

Thanks, well that was good news from the attack side.

Is there a forced stop to the renaming procedure?
My OS is Windows 7 I never had this happen with XP.
Or should just let it happen each day until someday it might be done? shhhee.

// In 0159, avoid running past z by sending people outdoors.

LOL.

What if they are in Antarctica? Go outside and DIE!

pito:
Frankly, I think it is a good remainder for those users where the "abnormal" behaviour could be indicated :slight_smile:

Oh yes, very good. Use the supplied software 27 times and you have to take a walk. Does your email program insist that you only send 26 emails a day?

Funny guy...
If I go out I fry, Miami, hehe.

What is the process going on with the IDE?
Why is it renaming and what is it renaming ?
I see no results anywhere on my drives.

I find the IDE is trying to rename just about every file on my document directory.
The first file is has the message box picture attached to this reply.

IgnoringSketch.jpg

Maybe you can explain why you are calling your sketch .pdf?

It's the autonaming of new sketches that is the problem (they get named "date[a..z]" (ie aug12a), so once you get to aug12z the algorithm is done.
If you "save as" some of the sketches with meaningful names and restart the IDE (deleting the non-saved temporary sketch windows), you won't have any problem starting the IDE again and creating additional sketches.

OK, not a problem. Right.

Show me any word processor that won't let you create 27 documents without saving them. Or any program.

Youse guys don't understand that I never get the IDE up to the point of fully opening it locks up with those message boxes so I can't 'save as' or edit anything.

If I click on an existing sketch.pde it does the 'Ignore...yada yada' message box.
If I execute the arduino.exe I get the 'Time for a Break' message box. I have no choices.

What direction can go now?
Thanks you.

I am not calling any sketch this or that the IDE is scanning my V:\DOC directory and saying it is renaming any and all files be they .pdf or .doc or any extension. And the sad thing, it ain't saving them either...It's a Train Wreck!!!

You have basicaly two chioces:
a) to go for a walk instead :slight_smile:
b) to reinstall the arduino IDE.. and remove/delete everything from following folders:
C:\Documents and Settings\user\Application Data\Arduino
C:\Documents and Settings\user\Local Settings\Temp
where the user is you..

I've done both.
I've re-install the JVM
I've run older versions, 0018, 0022 same results.
The IDE is determined to attack my V:\DOC directory files acting like it is renaming each and every one except the ones that have invalid characters in their names no matter if a pdf or doc file.
I just wish it would not be automatic so I could run it and save a file as a sketch.pde but it is automatically 'going off the rails' -
Train Wreck!!!