How to turn on package.json debugging

27 views
Skip to first unread message

Rick Anderson

unread,
Oct 31, 2015, 1:30:18 PM10/31/15
to Arduino Developer's List

Is there a way to turn on error message for debugging a package.json file? I'm running Arduino 1.6.6 from master.

I'm sure there is something wrong with my download url or the signature for my compiler and programmer downloads.  All, I can see is that staging and packages only contain the core file. No messages that say can't find file or signed improperly. I got these message using Arduino 1.6.5.


--Rick

--
Co-founder
Fair Use Building and Research (FUBAR) Labs
http://fubarlabs.org

Thibaut VIARD

unread,
Nov 6, 2015, 3:40:20 AM11/6/15
to devel...@arduino.cc

Hi Rick,

I got the same issue and spent hours understanding what was wrong with my package: comparison with officially listed third-party in github wiki, json file validation, etc...

I finally discovered a wiki page for 1.6.6 telling postfix and prefix file name is mandatory being resp. package_ and _index.json.

This solved my issue but I would follow you in that IDE should tell why it refuses a package given in preferences instead of staying quiet.

PS: the package url in preferences still disallow file:// url, making the validation process a bit more lengthy with needed intermediate uploads to a server.

Thibaut

--
You received this message because you are subscribed to the Google Groups "Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to developers+...@arduino.cc.

Rick Anderson

unread,
Nov 6, 2015, 8:33:02 AM11/6/15
to devel...@arduino.cc

Thanks. This helps. It matches my experience exactly. Sounds like it's time to file these as issues on github.

--Rick

Thibaut VIARD

unread,
Nov 6, 2015, 12:33:03 PM11/6/15
to devel...@arduino.cc

Rick,
I created issues 4097 and 4098 to ask for possible improvements.

Reply all
Reply to author
Forward
0 new messages