Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

postbuild command not executed #1114

Open
maxcurzi opened this issue Oct 14, 2020 · 1 comment
Open

postbuild command not executed #1114

maxcurzi opened this issue Oct 14, 2020 · 1 comment

Comments

@maxcurzi
Copy link

maxcurzi commented Oct 14, 2020

Hi, vscode-arduino v0.3.2
Vs code 1.50.0
First time using this feature so I don't know if it ever worked on Windows and previous releases (postbuild is not even documented in the extensions info but I saw here this was added #786 (comment))

Expected behaviour: near the end of the log (attached) there should be something like:
> Run postbuild command: echo "POSTBUILD"
POSTBUILD

However this does not happen.
Any idea why?

My arduino.json

{
"board": "arduino:avr:uno",
"sketch": "servo-control.ino",
"port": "COM5",
"output": "../ArduinoOutput",
"prebuild": "prebuild.sh",
"postbuild": "echo "POSTBUILD""
}

Output:

[Starting] Verify sketch - servo-control.ino
Run prebuild command: prebuild.sh
Please see the build logs in Output path: c:\p4359\ArduinoOutput
Loading configuration...
Initialising packages...
Preparing boards...
Verifying...
2020-10-14T19:16:58.004Z INFO c.a.u.n.HttpConnectionManager:153 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Connect to https://builder.arduino.cc/builder/v1/boards/0x1366/0x0105, method=GET, request id=EE0E36DA47B54852
2020-10-14T19:16:58.573Z INFO c.a.u.n.HttpConnectionManager:157 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Request complete URL="https://builder.arduino.cc/builder/v1/boards/0x1366/0x0105", method=GET, response code=404, request id=EE0E36DA47B54852, headers={null=[HTTP/1.1 404 Not Found], Cache-Control=[no-cache, no-store, must-revalidate], Server=[nginx], Connection=[keep-alive], Vary=[Origin], Pragma=[no-cache], Expires=[0], Content-Length=[0], Date=[Wed, 14 Oct 2020 19:16:58 GMT]}
2020-10-14T19:16:58.574Z WARN p.a.h.BoardCloudResolver:64 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Fail to get the Vid Pid information from the builder response code=404
2020-10-14T19:16:58.589Z INFO c.a.u.n.HttpConnectionManager:153 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Connect to https://builder.arduino.cc/builder/v1/boards/0x0403/0x6001, method=GET, request id=ABCE5E157911418C
2020-10-14T19:16:58.714Z INFO c.a.u.n.HttpConnectionManager:157 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Request complete URL="https://builder.arduino.cc/builder/v1/boards/0x0403/0x6001", method=GET, response code=404, request id=ABCE5E157911418C, headers={null=[HTTP/1.1 404 Not Found], Cache-Control=[no-cache, no-store, must-revalidate], Server=[nginx], Connection=[keep-alive], Vary=[Origin], Pragma=[no-cache], Expires=[0], Content-Length=[0], Date=[Wed, 14 Oct 2020 19:16:58 GMT]}
2020-10-14T19:16:58.714Z WARN p.a.h.BoardCloudResolver:64 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Fail to get the Vid Pid information from the builder response code=404
2020-10-14T19:16:58.720Z INFO c.a.u.n.HttpConnectionManager:153 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Connect to https://builder.arduino.cc/builder/v1/boards/0x067B/0x2303, method=GET, request id=8204122467AF4672
2020-10-14T19:16:58.832Z INFO c.a.u.n.HttpConnectionManager:157 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Request complete URL="https://builder.arduino.cc/builder/v1/boards/0x067B/0x2303", method=GET, response code=404, request id=8204122467AF4672, headers={null=[HTTP/1.1 404 Not Found], Cache-Control=[no-cache, no-store, must-revalidate], Server=[nginx], Connection=[keep-alive], Vary=[Origin], Pragma=[no-cache], Expires=[0], Content-Length=[0], Date=[Wed, 14 Oct 2020 19:16:58 GMT]}
2020-10-14T19:16:58.833Z WARN p.a.h.BoardCloudResolver:64 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Fail to get the Vid Pid information from the builder response code=404
Sketch uses 3382 bytes (10%) of program storage space. Maximum is 32256 bytes.
Global variables use 311 bytes (15%) of dynamic memory, leaving 1737 bytes for local variables. Maximum is 2048 bytes.
[Done] Finished verify sketch - servo-control.ino

@pxlfrk
Copy link

pxlfrk commented Mar 12, 2021

Also running in this issue. :/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants