On Wed, 10 Jul 2013 07:10:20 GMT, Sönke Ludwig wrote:

On Wed, 10 Jul 2013 07:08:21 GMT, Sönke Ludwig wrote:

On Wed, 10 Jul 2013 05:38:48 GMT, Jonathan M Davis wrote:

I'm trying to add the flac bindings from deimos to the dub registry, and I get this lovely message:

(...)

I've improved the error message and tested on a local instance (using https://github.com/D-Programming-Deimos/flac). I didn't get an error there, but it should now be easy to track down if it still occurs on the public site.

BTW there is a number of other JSON documents involved, generated by the github(/bitbucket) API, which is likely the cause of the error message here, as the package.json indeed looks fine.

I just tried again and got this error message instead:

500 - Internal Server Error

Internal Server Error

Internal error information:
object.Exception@source/dubregistry/repositories/github.d(123): Failed to read JSON from https://api.github.com/repos/D-Programming-Deimos/flac/commits/5e18db9a2a00bea3fcb1e4fdd3f45973b90a4b9c: Expected '}' or ',' - got 'e'.
----------------
./dub-registry(immutable(char)[][] dubregistry.repositories.github.GithubRepository.getBranches()+0x237) [0x603cdf]
./dub-registry(dubregistry.repositories.repository.PackageVersionInfo dubregistry.repositories.github.GithubRepository.getVersionInfo(immutable(char)[])+0xe6) [0x603f3e]
./dub-registry(void dubregistry.registry.DubRegistry.addPackage(vibe.data.json.Json, vibe.data.bson.BsonObjectID)+0xce) [0x59f106]
./dub-registry(void dubregistry.web.DubRegistryWebFrontend.addPackage(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse, userman.controller.User)+0x222) [0x60196a]
./dub-registry(void delegate(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse) userman.web.UserManWebInterface.auth(void delegate(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse, userman.controller.User)).void requestHandler(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0xfa) [0x6ef7fa]
./dub-registry(void vibe.http.router.URLRouter.handleRequest(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0x179) [0x614c8d]
./dub-registry(bool vibe.http.server.handleRequest(vibe.core.stream.Stream, immutable(char)[], vibe.http.server.HTTPServerListener, ref vibe.http.server.HTTPServerSettings, ref bool)+0x16b5) [0x60afe1]
./dub-registry(void vibe.http.server.handleHTTPConnection(vibe.core.net.TCPConnection, vibe.http.server.HTTPServerListener)+0x143) [0x609867]
./dub-registry(void vibe.http.server.listenHTTPPlain(vibe.http.server.HTTPServerSettings, void delegate(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)).void doListen(vibe.http.server.HTTPServerSettings, vibe.http.server.HTTPServerListener, immutable(char)[]).void __lambda45(vibe.core.net.TCPConnection)+0x2c) [0x6061e0]
./dub-registry(extern (C) nothrow void vibe.core.drivers.libevent2_tcp.onConnect(int, short, void*).void ClientTask.execute()+0x2b8) [0x625ae8]
./dub-registry(void vibe.core.core.CoreTask.run()+0xeb) [0x62f123]
./dub-registry(void core.thread.Fiber.run()+0x2a) [0x72379a]
./dub-registry(fiber_entryPoint+0x61) [0x7236ad]
[(nil)]