arduino-upload icon indicating copy to clipboard operation
arduino-upload copied to clipboard

FIle not part of Arduino ... repeat of #3

Open hex705 opened this issue 7 years ago • 10 comments

Have left comment on #3.

this error is back for me.

When trying to upload I get the FILE isn't part of sketch error. The FILE is part of sketch, really.

All packages updated. OSX 10.10.5 Yosemite ATOM 1.23.3 Package 1.3.2 PATH = /Applications/Arduino.app (note .app required on my system). Error from command line as well as drop down.

hex705 avatar Jan 12 '18 17:01 hex705

Is it in the root sketch folder or somewhere deeper nested?

Sorunome avatar Jan 12 '18 17:01 Sorunome

Thanks for fast reply.

The program has multiple tabs.
Same problem if I try to upload from one of the secondary TABS or from or the main file (the one that shared the folder name.

Also, do you mean is the main folder in my Arduino sketch folder? No it is not. Does it need to be?

I don't use the Arduino sketchbook folder for organizing code.

s

hex705 avatar Jan 12 '18 17:01 hex705

I mean, what does the folder structure of your file(s) look like? Which one do you have selected when trying to compile?

Sorunome avatar Jan 12 '18 18:01 Sorunome

Sorry for my confusion.

One main folder. That folder is about 6 layers down in my user folder.

A file inside that which shares the folder name.

Several additional files that are a part of the project... but with distinct names which open as tabs in arduino.

Error occurs regardless of file is selected at time of compile / upload attempt.

The file does have underscores ... but works fine inside the arduino ide.

On Fri, Jan 12, 2018 at 1:23 PM Sorunome [email protected] wrote:

I mean, what does the folder structure of your file(s) look like? Which one do you have selected when trying to compile?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Sorunome/arduino-upload/issues/33#issuecomment-357310501, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQUJh-DmQ3nNx3neYN2wFFlb_7oERucks5tJ6A2gaJpZM4RclF6 .

hex705 avatar Jan 12 '18 21:01 hex705

is the folder names the same way as the main ino file? case-sensitive

Sorunome avatar Jan 12 '18 21:01 Sorunome

Yes.

S

On Fri, Jan 12, 2018 at 4:16 PM Sorunome [email protected] wrote:

is the folder names the same way as the main ino file? case-sensitive

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Sorunome/arduino-upload/issues/33#issuecomment-357356305, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQUJkkHkrFtcbZ843iC565ZKPxmcyjoks5tJ8vGgaJpZM4RclF6 .

--

-- Steve Daniels New Media Program RTA School of Media Ryerson University Toronto, ON, Canada

www.spinningtheweb.org

twitter (program) @RyersonNewMedia

hex705 avatar Jan 12 '18 21:01 hex705

File compiles as is from with in arduino .

On Fri, Jan 12, 2018 at 4:18 PM Steve Daniels [email protected] wrote:

Yes.

S

On Fri, Jan 12, 2018 at 4:16 PM Sorunome [email protected] wrote:

is the folder names the same way as the main ino file? case-sensitive

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Sorunome/arduino-upload/issues/33#issuecomment-357356305, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQUJkkHkrFtcbZ843iC565ZKPxmcyjoks5tJ8vGgaJpZM4RclF6 .

--

-- Steve Daniels New Media Program RTA School of Media Ryerson University Toronto, ON, Canada

www.spinningtheweb.org

twitter (program) @RyersonNewMedia

--

-- Steve Daniels New Media Program RTA School of Media Ryerson University Toronto, ON, Canada

www.spinningtheweb.org

twitter (program) @RyersonNewMedia

hex705 avatar Jan 12 '18 21:01 hex705

What file types are you working with? Just multiple .ino files (the default tab file type or something special like .h or .cpp)?

StaticRocket avatar Mar 12 '18 17:03 StaticRocket

i use & upload at .h and .cpp files all the time, that shouldn't be the issue

Sorunome avatar Mar 12 '18 18:03 Sorunome

Sorry for my confusion. One main folder. That folder is about 6 layers down in my user folder. A file inside that which shares the folder name. Several additional files that are a part of the project... but with distinct names which open as tabs in arduino. Error occurs regardless of file is selected at time of compile / upload attempt. The file does have underscores ... but works fine inside the arduino ide. On Fri, Jan 12, 2018 at 1:23 PM Sorunome @.***> wrote: I mean, what does the folder structure of your file(s) look like? Which one do you have selected when trying to compile? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#33 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQUJh-DmQ3nNx3neYN2wFFlb_7oERucks5tJ6A2gaJpZM4RclF6 .

Hi, I'm having the same issue but could make it work in these scenarios: -If the same file is open with Arduino IDE it is possible to upload from Atom -I have folder and .ino file with underscore in the name (if underscore is removed it can be upload even without having the Arduino IDE open with the same .ino file)

Hope it helps

Milton0123 avatar Sep 12 '19 21:09 Milton0123