On Sat, 15 Mar 2014 14:00:14 GMT, Andrej Mitrovic wrote:

On Sat, 15 Mar 2014 13:59:41 GMT, Andrej Mitrovic wrote:

I'm not sure what happened but since recently I'm getting this error at this page:

http://code.dlang.org/my_packages/dchip

Errors:

    Branch ~master: JSON format error at byte 5: Expected valid json token, got '18693<!DOCTYPE ht'.

It works fine locally. :s

Also it works fine from this page:
http://code.dlang.org/packages/dchip

But not here:
http://code.dlang.org/my_packages/dchip

Every now and then (I think this is the third time) the downloaded JSON from github contains some corrupted bytes (not sure where this is caused) and then gets cached with those corruptions, so the error stays even after triggering a manual update. I'll add some code to retry the download in case parsing the JSON fails so that it can fix itself automatically.