Go Down

Topic: Cannot Open arduino_test.pde on MAC OSX 10.5.8 (Read 2 times) previous topic - next topic

Jim@Austin

Mar 03, 2012, 10:24 pm Last Edit: Mar 13, 2012, 02:56 pm by Jim@Austin Reason: 1
I downloaded the test sketch but keep getting the message from my MAC OS X 10.5.8 that "there is no default application specified to open the document "arduino_test.pde""   What is the application needed, and how do I find it?  What am I doing wrong?

madworm

Just open the IDE. Then use "file-->open..." and so forth.
• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!

Jim@Austin

I hit file>open and that's when the message appears, stating that there is no default application to open it.

James C4S

Did you already download the Arduino IDE?

1.0 switched to using .ino as the file extension.  So PDE may not be associated with the Arduino IDE.  The suggestion to use "File -> Open" was from inside of the Arduino IDE and not Finder.  Try opening the PDE from inside the Arduino IDE or right-click on the .PDE file and select "Open With...".
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Jim@Austin

#4
Mar 12, 2012, 05:27 pm Last Edit: Mar 12, 2012, 05:32 pm by Jim@Austin Reason: 1
I opened the Arduino IDE and tried to open arduino_test.pde within the IDE, but when I clicked to open, the message was that there is no default application to open arduino_test.pde.  When I right clicked on arduino_test.pde, I clicked onto "open with".  I was given the option to choose an application.  When I clicked on Arduino as the application, I could not go any further.  The only option was to cancel.  How can I designate the application?

kd7eir

#5
Mar 12, 2012, 10:54 pm Last Edit: Mar 12, 2012, 10:58 pm by kd7eir Reason: 1
The only time that I have seen OS X only show the CANCEL option when choosing what program to open a file with was when a non-executable file was selected.

Make sure that you are clicking on the arduino application and not a zip or dmg file. 

James C4S

You can attach files to posts.  Attach the pde to a post so others can try opening it.  Perhaps the file is corrupted.
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Jim@Austin

Here is the application sequence:

/Applications/Arduino/Arduino/arduino_test/arduino_test.pde

James C4S

That doesn't make any sense.

Please attach the pde to post.
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Jim@Austin

#9
Mar 13, 2012, 04:02 am Last Edit: Mar 13, 2012, 02:53 pm by Jim@Austin Reason: 1
Here is the file

Thanks for your help.

James C4S

I don't know why you can't open it.  I was able to open it in the Arduino IDE versions 0022 and 1.0, on Lion.

Here's the code you can copy / paste into a new sketch:

Code: [Select]


const int LED = 13;          // LED to digital pin 13 (D13)
const int POT = A0;          // pot to analog pin 0 (A0)
int potValue = 0;            // variable for pot value

void setup() {
  // initialize digital pin 13 as an output
  pinMode(LED, OUTPUT);     
}

void loop() {
  potValue = analogRead(POT);  // read pot value
  digitalWrite(LED, HIGH);     // turn LED on
  delay(potValue);             // wait for value (milliseconds)
  digitalWrite(LED, LOW);      // turn LED off
  delay(potValue);             // wait for value (milliseconds)
}
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Nick Gammon

#11
Mar 13, 2012, 06:17 am Last Edit: Mar 13, 2012, 06:20 am by Nick Gammon Reason: 1

Here is the application sequence:

/Applications/Arduino/Arduino/arduino_test/arduino_test.pde


What is the file arduino_test.pde doing inside the application? What have you done?

The test file should be in the documents folder. I don't know how it ended up inside /Applications/Arduino/.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Nick Gammon

And can you amend the topic heading please? "Pardon my ignorance" doesn't encourage people to open the thread. Something like "Cannot open .pde file on Mac OS/X 10.5.8" would be more appropriate.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

kd7eir

Worked fine on OS X Lion using 1.0 for me as well.


Go Up