Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Agent error while installing tools (installed.json corruption) #977

Closed
Assignees
MatteoPologruto
Milestone
@Xayton

Description

@Xayton

Environment details: macOS, Agent 1.6.0
Reported by@charlesbones

The agent starts and the closes immediately with a panic, with the following logs:

ERRO[0001] Error downloading serial-discovery: invalid character ‘y’ after top-level valuepanic: invalid character ‘y’ after top-level valuegoroutine 69 [running]:main.(*SerialPortList).runSerialDiscovery(0x1400027ecc0?)/Users/runner/work/arduino-create-agent/arduino-create-agent/serial.go:130 +0x568main.(*SerialPortList).Run(0x140001a0180?)/Users/runner/work/arduino-create-agent/arduino-create-agent/serial.go:118 +0x2ccreated by main.loop in goroutine 50/Users/runner/work/arduino-create-agent/arduino-create-agent/main.go:410 +0x1244

Looking at the message, this might be ainstalled.json corruption problem. See also this previous issue:#635

Here is the content of the JSON file on the same machine (note the wrong data at the end):

{"arduino-fwuploader":"/Users/carlos/.arduino-create/arduino/arduino-fwuploader/2.4.1","arduino-fwuploader-2.4.1":"/Users/carlos/.arduino-create/arduino/arduino-fwuploader/2.4.1","bossac":"/Users/carlos/.arduino-create/arduino/bossac/1.7.0","bossac-1.7.0":"/Users/carlos/.arduino-create/arduino/bossac/1.7.0","bossac-1.9.1-arduino5":"/Users/carlos/.arduino-create/arduino/bossac/1.9.1-arduino5","fwupdater":"/Users/carlos/.arduino-create/arduino/fwupdater/0.1.12","fwupdater-0.1.12":"/Users/carlos/.arduino-create/arduino/fwupdater/0.1.12","rp2040tools":"/Users/carlos/.arduino-create/arduino/rp2040tools/1.0.6","rp2040tools-1.0.6":"/Users/carlos/.arduino-create/arduino/rp2040tools/1.0.6","serial-discovery":"/Users/carlos/.arduino-create/builtin/serial-discovery/1.4.1","serial-discovery-1.4.0":"/Users/carlos/.arduino-create/builtin/serial-discovery/1.4.0","serial-discovery-1.4.1":"/Users/carlos/.arduino-create/builtin/serial-discovery/1.4.1"}y/1.4.1"}

Additional context

Additional reports

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp