HelTecAutomation / Heltec_ESP8266

Arduino library for Heltec ESP8266 based boards
Other
54 stars 18 forks source link

package_heltec_esp8266_index.json issue #3

Open abubakas opened 4 years ago

abubakas commented 4 years ago

Skipping contributed index file C:\Users\abubakas\AppData\Local\Arduino15\package_heltec_esp8266_index.json, parsing error occured: com.fasterxml.jackson.databind.JsonMappingException: Unexpected character ('£' (code 163)): was expecting comma to separate ARRAY entries at [Source: java.io.FileInputStream@202df7; line: 44, column: 11] (through reference chain: ContributionsIndex["packages"]->java.util.ArrayList[0]->ContributedPackage["platforms"])

brobergp commented 4 years ago

Yeah, get the same complains when trying to install the board library. The Json file is messed up.

endeebee commented 4 years ago

Confirmed - discovered the same. Arduino 1.8.10 on MacOS

piedade2007 commented 4 years ago

Same problem.

Where I got so far... copied the Json file to my PC and edit it to replace the reported line 44 wrong char for a comma. Then found there are also things missing, a "]" and "}" at the end of the file. Then setup a local web-server (eg. fenix-windows2.0 or Zwamp) and placed the new json with the corrections on the local web-server ( in my case the new link to feed on arduinoIDE configuration is as follows: http://localhost/package_heltec_esp8266_index.json ) the problem is although the json file now seems to be ok there's a lot of java errors being reported on the IDE console... If someone can push this further please share what you find. Thanks!