Skip to content

{recipe.output.tmp_file} missing. #193

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
AppDevMichael opened this issue Apr 13, 2019 · 5 comments
Closed

{recipe.output.tmp_file} missing. #193

AppDevMichael opened this issue Apr 13, 2019 · 5 comments
Labels
status: waiting for information More information must be provided before work can proceed

Comments

@AppDevMichael
Copy link

Hi all,

I am having a bit of a problem with compiling.
This is my error:

Sketch uses 3308 bytes (55%) of program storage space. Maximum is 6012 bytes.
Global variables use 92 bytes of dynamic memory.
Error: open C:\Users\USERNAME\AppData\Local\Temp\arduino-sketch-2A2571335EBEE0BEF9DF3C1808A4F396/{recipe.output.tmp_file}: The system cannot find the file specified.
Error copying output file.

Thanks in advance.

@per1234
Copy link
Contributor

per1234 commented Apr 13, 2019

Please post the arduino-cli command you used when you got this error.

@AppDevMichael
Copy link
Author

arduino-cli compile --fqbn digistump:avr:digispark-tiny sketch.ino

@per1234
Copy link
Contributor

per1234 commented Apr 13, 2019

It's really a bug in the digistump:avr hardware core, rather than in arduino-cli. The bug has actually been fixed, but Digistump hasn't made a release since that time. Probably the best solution for you to be able to use arduino-cli with the Digispark is to implement this patch on your installation of Digistump AVR Boards:
digistump/DigistumpArduino@d208cb7
The platform.txt file is most likely at C:\Users\USERNAME\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\platform.txt.

It is possible this issue is present in other 3rd party hardware cores, since a missing recipe.output.tmp_file definition only affects the rarely used Sketch > Export Compiled Binary in the Arduino IDE. I'm leaning toward just closing this as not being our problem, but I'll leave it open for now in case someone else here wants to consider whether there is a way to provide compatibility with outdated hardware cores that are missing recipe.output.tmp_file. In the case of Digistump, the whole Digispark project seems to have been abandoned, so I don't expect them to make a release with the updated platform.txt.

@AppDevMichael
Copy link
Author

When I do apply this patch I get another error;

Sketch uses 3320 bytes (55%) of program storage space. Maximum is 6012 bytes.
Global variables use 92 bytes of dynamic memory.
Error: open TestCmdOpen\TestCmdOpen.ino\TestCmdOpen.ino.digistump.avr.digispark-tiny.hex: The system cannot find the path specified.
Error copying output file.

@per1234
Copy link
Contributor

per1234 commented Apr 14, 2019

You should not specify the .ino file to the compile command (#51). Only specify the sketch folder which contains that .ino file:

arduino-cli compile --fqbn digistump:avr:digispark-tiny TestCmdOpen

The reason is that sketches may contain multiple files, so the entire folder is the sketch, rather than just a single .ino file.

@per1234 per1234 added the bug label May 24, 2019
@cmaglie cmaglie added the status: waiting for information More information must be provided before work can proceed label Sep 12, 2019
@github-actions github-actions bot added the stale label Sep 14, 2019
@masci masci removed stale labels Sep 18, 2019
@github-actions github-actions bot added the stale label Sep 19, 2019
per1234 added a commit that referenced this issue Aug 9, 2021
…results

Provide schema validation results in package index project data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for information More information must be provided before work can proceed
Projects
None yet
Development

No branches or pull requests

4 participants