Skip to content

Export compiled Binary fails when board references variant from different vendor #4026

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
per1234 opened this issue Oct 24, 2015 · 3 comments
Assignees
Labels
Component: IDE The Arduino IDE
Milestone

Comments

@per1234
Copy link
Collaborator

per1234 commented Oct 24, 2015

Using Arduino IDE 1.6.6 2015/10/23 11:42

  • Select board that references a variant from a different vendor.
  • Sketch > Export compiled Binary
  • Error:
java.nio.file.InvalidPathException: Illegal char <:> at index 110: C:\Users\per\AppData\Local\Temp\untitled1839340130.tmp\sketch_oct24a\sketch_oct24a.ino.with_bootloader.arduino:mega.hex
    at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
    at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
    at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
    at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
    at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
    at java.nio.file.Paths.get(Paths.java:84)
    at cc.arduino.Compiler.saveHex(Compiler.java:370)
    at cc.arduino.Compiler.saveHex(Compiler.java:346)
    at cc.arduino.Compiler.build(Compiler.java:148)
    at processing.app.Sketch.build(Sketch.java:1108)
    at processing.app.Sketch.build(Sketch.java:1083)
    at processing.app.Editor$BuildHandler.run(Editor.java:2011)
    at java.lang.Thread.run(Thread.java:745)
Illegal char <:> at index 110: C:\Users\per\AppData\Local\Temp\untitled1839340130.tmp\sketch_oct24a\sketch_oct24a.ino.with_bootloader.arduino:mega.hex

This is caused by the colon that is used in the reference syntax being included in the filename of the .hex file.

@ffissore ffissore self-assigned this Oct 26, 2015
@ffissore ffissore added this to the Release 1.6.6 milestone Oct 26, 2015
@ffissore ffissore added the Component: IDE The Arduino IDE label Oct 26, 2015
@ffissore
Copy link
Contributor

Which board have you selected? I see the bug but I would like to reproduce it myself, instead of blindly fixing it

@ffissore ffissore added the Waiting for feedback More information must be provided before we can proceed label Oct 26, 2015
@per1234
Copy link
Collaborator Author

per1234 commented Oct 26, 2015

That particular error message came from a work in progress board but Adafruit Metro will do it:
https://github.com/adafruit/Adafruit_Arduino_Boards
Boards Manager URL: https://adafruit.github.io/arduino-board-index/package_adafruit_index.json

@ffissore
Copy link
Contributor

Fixed. Fix will be available with next hourly build http://www.arduino.cc/en/Main/Software#hourly

@ffissore ffissore removed the Waiting for feedback More information must be provided before we can proceed label Oct 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE The Arduino IDE
Projects
None yet
Development

No branches or pull requests

2 participants