Hi everybody;
could you please help me to resolve this probleme:
i have written some programmes for Arduino uno,and they worked fine .then i have bought an Arduino mega 2560 and configured Arduino ide for the mega2560.But the problem now is that i can't open any more my ino files made for Arduino uno, i get empty sketches.
and thank you in advance.(sorry for my bad English)
I think you need to add some more details such as the IDE version etc.
Did you read the posts at the top of the forum ?
There are also some international language sections if you wold feel more comfortable in one of those.
Scroll down the list of forums sections to get to them.
Bob.
i am using ide v1.8.9. i have tried with an old version 1.8.0 but it's Always the same probleme.i am also using win10.
thank you for your help
When you try open an INO file are there any other warnings or errors listed in the lower console of the IDE ?
You may need to turn on VERBOSE in the settings to see them.
Also have you changed the default sketches directory at all ?
hi
when i open my ino file i get no error message at all .all i get is a blank sheet.but when i try to compile it even it's empty , i get the Following errors
Arduino : 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Carte : "Arduino/Genuino Uno"
java.io.IOException: Impossible de retirer la vieille version de C:\SYLLABUS\PROJETGPS\sketch_mar11a\sketch_mar11a.ino
at processing.app.BaseNoGui.saveFile(BaseNoGui.java:904)
at processing.app.SketchFile.save(SketchFile.java:287)
at processing.app.Sketch.save(Sketch.java:138)
at processing.app.SketchController.save(SketchController.java:352)
at processing.app.Editor.handleSave2(Editor.java:1923)
at processing.app.Editor.handleSave(Editor.java:1898)
at processing.app.Editor.handleRun(Editor.java:1607)
at processing.app.Editor.handleRun(Editor.java:1602)
at processing.app.EditorToolbar.handleSelectionPressed(EditorToolbar.java:465)
at processing.app.EditorToolbar.mousePressed(EditorToolbar.java:448)
at java.awt.Component.processMouseEvent(Component.java:6536)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4532)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Impossible de retirer la vieille version de C:\SYLLABUS\PROJETGPS\sketch_mar11a\sketch_mar11a.ino
Do you have proper permissions to access the files in that location? I notice that the path to the .ino files is not within your documents folder; windows 10 has gotten increasingly aggressive about interfering with accessing files that aren't within your user folder. And the error indicates a problem saving the file (in english: Unable to remove old version of ), indicative of permissions problems.
I think it's either file permissions, or windows-store-app restrictions on file access (windows store apps are more constrained about what they can do, in the name of "security")
Does the problem happen with the normal (non-windows-store) version? Windows store version often has strange issues that don't effect everyone and which generally appear nonsensical (this is not just true of the Arduino IDE - it's common in windows store ports of normal desktop applications; I recommend avoiding the windows store whenever possible)