I'm trying to add the flac bindings from deimos to the dub registry, and I get this lovely message:
500 - Internal Server Error
Internal Server Error
Internal error information:
object.Exception@../../../opt/vibe/source/vibe/data/json.d(797): Expected '}' or ',' - got 'e'.
----------------
./dub-registry(pure @safe bool std.exception.enforce!(bool).enforce(bool, lazy const(char)[], immutable(char)[], ulong)+0x6b) [0x5a458f]
./dub-registry(vibe.data.json.Json vibe.data.json.parseJson!(immutable(char)[]).parseJson(ref immutable(char)[], int*)+0x7ff) [0x6c796f]
./dub-registry(vibe.data.json.Json vibe.data.json.parseJson!(immutable(char)[]).parseJson(ref immutable(char)[], int*)+0x4ad) [0x6c761d]
./dub-registry(vibe.data.json.Json vibe.data.json.parseJson!(immutable(char)[]).parseJson(ref immutable(char)[], int*)+0x715) [0x6c7885]
./dub-registry(vibe.data.json.Json dubregistry.repositories.github.readJson(vibe.core.stream.InputStream, bool)+0x3b) [0x605287]
./dub-registry(immutable(char)[][] dubregistry.repositories.github.GithubRepository.getBranches().void __lambda40!(vibe.core.stream.InputStream).__lambda40(scope vibe.core.stream.InputStream)+0x29) [0x604bc5]
./dub-registry(void dubregistry.cache.UrlCache.get(vibe.inet.url.URL, scope void delegate(scope vibe.core.stream.InputStream))+0x1fd) [0x59f52d]
./dub-registry(void dubregistry.cache.downloadCached(vibe.inet.url.URL, scope void delegate(scope vibe.core.stream.InputStream))+0x92) [0x59f9d2]
./dub-registry(void dubregistry.cache.downloadCached(immutable(char)[], scope void delegate(scope vibe.core.stream.InputStream))+0x60) [0x59fa3c]
./dub-registry(immutable(char)[][] dubregistry.repositories.github.GithubRepository.getBranches()+0x280) [0x6049d4]
./dub-registry(dubregistry.repositories.repository.PackageVersionInfo dubregistry.repositories.github.GithubRepository.getVersionInfo(immutable(char)[])+0xe6) [0x604cce]
./dub-registry(void dubregistry.registry.DubRegistry.addPackage(vibe.data.json.Json, vibe.data.bson.BsonObjectID)+0xce) [0x59fc46]
./dub-registry(void dubregistry.web.DubRegistryWebFrontend.addPackage(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse, userman.controller.User)+0x222) [0x6025a6]
./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) [0x6f0b96]
./dub-registry(void vibe.http.router.URLRouter.handleRequest(vibe.http.server.HTTPServerRequest, vibe.http.server.HTTPServerResponse)+0x179) [0x615c19]
./dub-registry(bool vibe.http.server.handleRequest(vibe.core.stream.Stream, immutable(char)[], vibe.http.server.HTTPServerListener, ref vibe.http.server.HTTPServerSettings, ref bool)+0x16bb) [0x60bc47]
./dub-registry(void vibe.http.server.handleHTTPConnection(vibe.core.net.TCPConnection, vibe.http.server.HTTPServerListener)+0x143) [0x60a4c7]
./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 __lambda54(vibe.core.net.TCPConnection)+0x2c) [0x606f0c]
./dub-registry(extern (C) nothrow void vibe.core.drivers.libevent2_tcp.onConnect(int, short, void*).void ClientTask.execute()+0x2b8) [0x626a28]
./dub-registry(void vibe.core.core.CoreTask.run()+0xeb) [0x630063]
./dub-registry(void core.thread.Fiber.run()+0x2a) [0x724b2a]
./dub-registry(fiber_entryPoint+0x61) [0x724a3d]
[(nil)]
My best guess would be that there's something wrong with flac's package.json file, but if so, I can't figure out what it is:
{
"name": "flac",
"description": "Deimos bindings for flac, a free lossless audio codec library",
"homepage": "http://xiph.org/flac/",
"importPaths": ["."],
"targetType": "sourceLibrary",
"license": "BSD",
"libs" : ["flac"]
}