rejectedsoftware / vibenews

Combined web forum and NNTP server implementation for stand-alone newsgroups
GNU Affero General Public License v3.0
44 stars 3 forks source link

Failing on startup #3

Closed ghost closed 11 years ago

ghost commented 11 years ago

Vibe-news fail on startup. Here output from vibe --vverbose:

[015B0F80:00000000 dbg] Using vpm registry url 'http://registry.vibed.org/'
[015B0F80:00000000 dbg] Could not open vpm.json: Failed to open D:/vibe-news/vpm.json
[015B0F80:00000000 dbg] opened file D:/vibe-news/package.json with 357 bytes as 3
[015B0F80:00000000 INF] Checking dependencies in 'D:\vibe-news'
[015B0F80:00000000 dbg] vpm initialized
[015B0F80:00000000 dbg] dnsresolve
[015B0F80:00000000 dbg] dnsresolve yield
[015B0F80:00000000 dbg] dnsresolve ret 0
[015B0F80:00000000 dbg] Socket event on fd 328: 128 (1F40694 vs 1F40694)
[015B0F80:00000000 dbg] Create FreeListAlloc 8
[015B0F80:00000000 dbg] Create FreeListAlloc 16
[015B0F80:00000000 dbg] Create FreeListAlloc 32
[015B0F80:00000000 dbg] Create FreeListAlloc 64
[015B0F80:00000000 dbg] Create FreeListAlloc 128
[015B0F80:00000000 dbg] Create FreeListAlloc 256
[015B0F80:00000000 dbg] Create FreeListAlloc 512
[015B0F80:00000000 dbg] Create FreeListAlloc 1024
[015B0F80:00000000 dbg] Create FreeListAlloc 2048
[015B0F80:00000000 dbg] Create FreeListAlloc 65540
[015B0F80:00000000 dbg] opened file D:/vibe-news/vpm.json with 0 bytes as 3
[015B0F80:00000000 dbg] dnsresolve
[015B0F80:00000000 dbg] dnsresolve yield
[015B0F80:00000000 dbg] dnsresolve ret 0
[015B0F80:00000000 dbg] Socket event on fd 336: 128 (2160034 vs 2160034)
[015B0F80:00000000 dbg] opened file D:/vibe-news/vpm.json with 0 bytes as 3
[015B0F80:00000000 dbg] Application not complete, required package 'vibe-d', which was not found.
[015B0F80:00000000 dbg] Application not complete, required package 'userman', which was not found.
[015B0F80:00000000 dbg] opened file D:/vibe-news/vpm.json with 0 bytes as 3
[015B0F80:00000000 INF] The following changes could be performed:
[015B0F80:00000000 INF] Installupdate: vibe-d, version ==~master
[015B0F80:00000000 INF] Installupdate: userman, version ==~master
[015B0F80:00000000 INF] Installing vibe-d...
[015B0F80:00000000 dbg] Aquiring package zip file
[015B0F80:00000000 dbg] Found dllinkg: '"https://github.com/rejectedsoftware/vibe.d/archive/master.zip"'
[015B0F80:00000000 dbg] dnsresolve
[015B0F80:00000000 dbg] dnsresolve yield
[015B0F80:00000000 dbg] dnsresolve ret 0
[015B0F80:00000000 dbg] Socket event on fd 372: 128 (21604F4 vs 21604F4)
[015B0F80:00000000 dbg] Redirect to 'https://nodeload.github.com/rejectedsoftware/vibe.d/zip/master'
[015B0F80:00000000 dbg] dnsresolve
[015B0F80:00000000 dbg] dnsresolve yield
[015B0F80:00000000 dbg] dnsresolve ret 0
[015B0F80:00000000 dbg] Socket event on fd 332: 128 (2160AB4 vs 2160AB4)
[015B0F80:00000000 dbg] opened file D:/vibe-news/temp/downloads/vibe-d.zip with 0 bytes as 3
[015B0F80:00000000 dbg] opened file D:/vibe-news/temp/downloads/vibe-d.zip with 1763990 bytes as 3
[015B0F80:00000000 dbg] Installing from zip.
[015B0F80:00000000 dbg] Creating D:/vibe-news/modules/vibe-d/source/
[015B0F80:00000000 dbg] Creating package.json
[015B0F80:00000000 dbg] opened file D:/vibe-news/modules/vibe-d/package.json with 0 bytes as 3
[015B0F80:00000000 dbg] Creating app.d
[015B0F80:00000000 dbg] opened file D:/vibe-news/modules/vibe-d/source/app.d with 0 bytes as 3
[015B0F80:00000000 dbg] opened file D:/vibe-news/modules/vibe-d/journal.json with 0 bytes as 3
[015B0F80:00000000 dbg] opened file D:/vibe-news/modules/vibe-d/package.json with 186 bytes as 3
[015B0F80:00000000 ERR] Error executing command 'run': Trying to access JSON of type Object as string.

[015B0F80:00000000 dbg] Full exception: object.Exception@C:\dfa\vibe\bin\..\source\vibe\data\json.d(657): Trying to access JSON of type Object as string.
----------------
0x004A5C38 in char[][] core.sys.windows.stacktrace.StackTrace.trace()
0x004A5AC3 in core.sys.windows.stacktrace.StackTrace core.sys.windows.stacktrace.StackTrace.__ctor()
0x0047701E in pure @safe void std.exception.bailOut(immutable(char)[], uint, const(char[]))
0x00409C89 in const(void function()) vibe.data.json.Json.checkType!(immutable(char)[]).checkType at C:\dfa\vibe\bin\..\source\vibe\data\json.d(658)
0x00409BFF in vibe.data.json.Json.get!(immutable(char)[]).getinout(@property inout(immutable(char)[]) function()) at C:\dfa\vibe\bin\..\source\vibe\data\json.d(308)
0x00409BC3 in vibe.data.json.Json.opCast!(immutable(char)[]).opCastinout(inout(immutable(char)[]) function()) at C:\dfa\vibe\bin\..\source\vibe\data\json.d(298)
0x0040C8A7 in D4vibe3vpm10depenáncy12€ɌiesFxS€Ŧ4data4json4JâZHAyaC€–À0D€ʌ7__foreachbody2578MFK€ûK€—×i at C:\dfa\vibe\bin\..\source\vibe\vpm\dependency.d(34)
0x004072D9 in const(int function(int delegate(ref immutable(char)[], ref const(vibe.data.json.Json)))) vibe.data.json.Json.opApply.int __foreachbody2451(ref immutable(char)[], ref const(vibe.data.json.Json)) at C:\dfa\vibe\bin\..\source\vibe\data\json.d(290)
0x00476D4D in _aaApply2
0x0040722E in const(int function(int delegate(ref immutable(char)[], ref const(vibe.data.json.Json)))) vibe.data.json.Json.opApply at C:\dfa\vibe\bin\..\source\vibe\data\json.d(288)
0x00407244 in const(int function(int delegate(ref immutable(char)[], ref const(vibe.data.json.Json)))) vibe.data.json.Json.opApply at C:\dfa\vibe\bin\..\source\vibe\data\json.d(288)
0x4D8D5600
0x086A51FC
0xFFFC5D8B
0xFAB8E833
0xC4830006
0x02F88310
0x09EB0274
0x5EF8458B
0x08C2C95B
0x5EC03100
0x08C2C95B
0x04C8CC00
0x45890000
0x7435FFFC
0xFF004BB3
0x4BB37035
0xFC458B00
0x418B088B
0x0E40E808
0x50520000
0xB48435FF
0x35FF004B
0x004BB480 in D6deimos7openssl2ts12__ModuleInfoZ
0x20BA036A
0x004BB450 in D6deimos7openssl2ts12__ModuleInfoZ
0x00407359 in const(bool function(ref const(vibe.data.json.Json))) vibe.data.json.Json.opEquals at C:\dfa\vibe\bin\..\source\vibe\data\json.d(574)
0x00407361 in const(bool function(ref const(vibe.data.json.Json))) vibe.data.json.Json.opEquals at C:\dfa\vibe\bin\..\source\vibe\data\json.d(575)
0x00407369 in const(bool function(ref const(vibe.data.json.Json))) vibe.data.json.Json.opEquals at C:\dfa\vibe\bin\..\source\vibe\data\json.d(576)
0x00407382 in const(bool function(ref const(vibe.data.json.Json))) vibe.data.json.Json.opEquals at C:\dfa\vibe\bin\..\source\vibe\data\json.d(577)
0x004073A3 in const(bool function(ref const(vibe.data.json.Json))) vibe.data.json.Json.opEquals at C:\dfa\vibe\bin\..\source\vibe\data\json.d(578)
0x004073C3 in const(bool function(ref const(vibe.data.json.Json))) vibe.data.json.Json.opEquals at C:\dfa\vibe\bin\..\source\vibe\data\json.d(579)
0x004073E7 in const(bool function(ref const(vibe.data.json.Json))) vibe.data.json.Json.opEquals at C:\dfa\vibe\bin\..\source\vibe\data\json.d(580)
0x0040740B in const(bool function(ref const(vibe.data.json.Json))) vibe.data.json.Json.opEquals at C:\dfa\vibe\bin\..\source\vibe\data\json.d(581)
0x0040767F in const(int function(ref const(vibe.data.json.Json))) vibe.data.json.Json.opCmp at C:\dfa\vibe\bin\..\source\vibe\data\json.d(611)
0x00407687 in const(int function(ref const(vibe.data.json.Json))) vibe.data.json.Json.opCmp at C:\dfa\vibe\bin\..\source\vibe\data\json.d(612)
0x0040768F in const(int function(ref const(vibe.data.json.Json))) vibe.data.json.Json.opCmp at C:\dfa\vibe\bin\..\source\vibe\data\json.d(613)
0x004076B8 in const(int function(ref const(vibe.data.json.Json))) vibe.data.json.Json.opCmp at C:\dfa\vibe\bin\..\source\vibe\data\json.d(614)
0x004076FF in const(int function(ref const(vibe.data.json.Json))) vibe.data.json.Json.opCmp at C:\dfa\vibe\bin\..\source\vibe\data\json.d(615)
0x0040772E in const(int function(ref const(vibe.data.json.Json))) vibe.data.json.Json.opCmp at C:\dfa\vibe\bin\..\source\vibe\data\json.d(616)
0x0040777F in const(int function(ref const(vibe.data.json.Json))) vibe.data.json.Json.opCmp at C:\dfa\vibe\bin\..\source\vibe\data\json.d(617)
0x004077CE in const(int function(ref const(vibe.data.json.Json))) vibe.data.json.Json.opCmp at C:\dfa\vibe\bin\..\source\vibe\data\json.d(619)
0x4E4F534A
0x6A626F20
0x73746365
0x6E616320
0x20746F6E
0x63206562
0x61706D6F
0x2E646572
[015B0F80:00000000 INF] Usage: vibe [<command>] [<vibe options...>] [-- <application options...>]

Manages the vibe.d application in the current directory. A single -- can be used
to separate vibe options from options passed to the application.

Possible commands:
    init [<directory>]   Initializes an empy project in the specified directory
    run                  Compiles and runs the application
    build                Just compiles the application in the project directory
    upgrade              Forces an upgrade of all dependencies

Options:
    -v  --verbose        Also output debug messages
        --vverbose       Also output trace messages (produces a lot of output)
    -q  --quiet          Only output warnings and errors
        --vquiet         No output
    -h  --help           Print this help screen
        --nodeps         Do not check dependencies for 'run' or 'build'
        --annotate       Do not execute dependency installations, just print
s-ludwig commented 11 years ago

I was puzzeled what could be the reason for this for a while, not realizing that the problem is "just" the current vibe.d version. It should work fine with either the current master version or by using the designated successor dub to build instead.

s-ludwig commented 11 years ago

Now should also work with vibe.d 0.7.12.