I was using 2015.01 star, and, yes, Virgin UK is the ISP. The URL ( http://ecosystem-api.p6c.org/projects.json ) returns a 200 + HTML content. The ISP form to get it unblocked says "2-3 weeks for a resolution". Ugh!
cheers Paul -----Original Message----- From: Steve Mynott [mailto:steve.myn...@gmail.com] Sent: 08 February 2015 14:47 To: perl6-bugs-follo...@perl.org Cc: p...@cpan.org Subject: Re: [perl #123758] panda doesn't cope well when projects.json isn't a JSON document This error message (seen with Virgin UK) was fixed yesterday so I assume if Paul was seeing this today he was using an old version -- maybe the one in Star. The behaviour I saw was a zero length projects.json. On 8 February 2015 at 14:04, Moritz Lenz via RT <perl6-bugs-follo...@perl.org> wrote: > On Sun Feb 08 04:58:14 2015, pmqs wrote: >> My ISP is currently blocking access to http://ecosystem- >> api.p6c.org/projects.json & returning a HTML document instead, with >> at >> 200 OK. >> >> This makes panda blow up. > > FWIW panda bugs are better reported at > https://github.com/tadzik/panda/issues > >> $ panda >> No such method 'ast' for invocant of type 'Any' >> in sub from-json at >> /home/paul/perl/perl6/rakudo/languages/perl6/lib/JSON/Tiny.pm:51 >> in submethod BUILD at >> /home/paul/perl/perl6/rakudo/languages/perl6/lib/Panda/Ecosystem.pm:36 >> in method BUILDALL at src/gen/m-CORE.setting:979 >> in method bless at src/gen/m-CORE.setting:961 >> in method new at src/gen/m-CORE.setting:947 >> in sub make-default-ecosystem at >> /home/paul/perl/perl6/rakudo/languages/perl6/lib/Panda/App.pm:39 >> in block <unit> at /home/paul/perl/perl6/rakudo/bin/panda:11 >> >> Can panda be made more user-friendly when this happns? > > The new error message is: > > Cannot parse > /home/moritz/p6/rakudo/install/languages/perl6/site/panda/projects.json as > JSON: Unable to parse expression in array; couldn't find final ']' > > (this is an example where I added garbage in front of the closing ']') > > Cheers, > Moritz > -- 4096R/EA75174B Steve Mynott <steve.myn...@gmail.com>