I have a fairly large sketch ( several thousand lines of code spread over a few tabs ) which I can currently compile and upload using IDE 2.xx on my Mac. I recently subscribed to a Plan to enable OTA Updates... but not having much success uploading my Sketch ( actually import is failing ) to the Clloud Editor.
The error message is : No sketches or libraries found in the ZIP file.
I have tried removing the Library folder ( containing my custom libs ) but I still get the same error message. Might this be a "Mac thing" or me being dumb or a bug with the import process ?
Hi @anoracknophobia2. Is the sketch something you can share with us here? If so, please attach the ZIP file to a reply here on the forum thread. I should be able to spot the cause of the failed import and provide instructions for fixing it once I can take a look at the file.
- Open a forum reply here by clicking the "Reply" button.
- Click the "Upload" icon () on the post composer toolbar:
The "Open" dialog will open. - Select the ZIP from the "Open" dialog.
- Click the "Open" button.
The dialog will close. - Click the "Reply" button to publish the post.
Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the ZIP file onto the post composer field to attach it.
Thanks for the offer of help. The files are commercially sensitive, but I'll try something else and if the "fault" persists I'll post the zip for you to peruse.
I understand. If you like, you can create a ZIP file that produces the same import error, but doesn't contain any sensitive code. You can just make a simple throwaway sketch by selecting File > New Sketch from the Arduino IDE menus and then put that in the ZIP file instead of your real sketch.
It looks like the filename was too long.
I uploaded the file(s)...including the many tabs.
Looks like I might have a few compliance issues, for I'll read through the guidance document.
I've uploaded my sketch ( and other tab files ) to the cloud.
How do I add the additional tabs ( "arduino_secrets" , "thingProperties" etc ) or are they added automatically by some other process .. and how do I invoke it ?
The aim is to end up with files ready for over the air update.
Alternatively is there a description or video which describes the use of IDE 2.xxx and the Cloud Editor ... as I am confused as to how I can edit on the local IDE and transfere between cloud / local / cloud .
I've made some progress : my project 's files are now in the Arduino cloud, and I've addressed some of the errors thrown up by the compiler (variables of type "byte" are now changed to "int", and type "boolean" are now "bool" ). However the function "memset" is now flagged as "undeclared", as is "Serial1" and "delay"... I did not expect such issues to arise when migrating to the web editor. More importantly, are there methods to fix these as they are fundamental to my project ?