CyberShadow / DFeed

D news aggregator, newsgroup client, web newsreader and IRC bot
http://forum.dlang.org/help#about
380 stars 35 forks source link

running locally doesn't work as expected anymore #152

Closed WebFreak001 closed 1 year ago

WebFreak001 commented 1 year ago

Trying to visit 127.0.0.1:8080 after letting it download for 2 days:

std.file.FileException@std/file.d(370): web/skel.htt: No such file or directory
----------------
/usr/include/dlang/dmd/std/file.d:247 @safe bool std.file.cenforce!(bool).cenforce(bool, scope lazy const(char)[], immutable(char)[], ulong) [0x5572f7c842ac]
??:? @trusted void[] std.file.readImpl(scope const(char)[], scope const(char)*, ulong) [0x5572f7ee80cc]
/usr/include/dlang/dmd/std/file.d:319 @safe void[] std.file.read!(immutable(char)[]).read(immutable(char)[], ulong) [0x5572f7c831e9]
/usr/include/dlang/dmd/std/file.d:516 @safe immutable(char)[] std.file.readText!(immutable(char)[], immutable(char)[]).readText(immutable(char)[]) [0x5572f7c842e5]
src/dfeed/web/web/request.d:875 ae.net.http.common.HttpResponse dfeed.web.web.request.handleRequest(ae.net.http.common.HttpRequest, ae.net.http.server.HttpServerConnection) [0x5572f7ce8c45]
src/dfeed/web/web/request.d:82 void dfeed.web.web.request.onRequest(ae.net.http.common.HttpRequest, ae.net.http.server.HttpServerConnection) [0x5572f7cdefa8]
/usr/include/dlang/dmd/std/functional.d-mixin-1677:1688 void function(ae.net.http.common.HttpRequest, ae.net.http.server.HttpServerConnection) std.functional.DelegateFaker!(void function(ae.net.http.common.HttpRequest, ae.net.http.server.HttpServerConnection)*).DelegateFaker.doIt [0x5572f7c0b773]
../../.dub/packages/ae-0.0.3101/ae/net/http/server.d:546 void ae.net.http.server.HttpServerConnection.__ctor(ae.net.http.server.HttpServer, ae.net.asockets.TcpConnection, ae.net.asockets.IConnection, immutable(char)[]).__lambda5(ae.net.http.common.HttpRequest) [0x5572f7d2bd6f]
../../.dub/packages/ae-0.0.3101/ae/net/http/server.d:191 void ae.net.http.server.BaseHttpServerConnection.processRequest(ae.utils.vec.Vec!(ae.sys.data.Data).Vec) [0x5572f7d2a609]
../../.dub/packages/ae-0.0.3101/ae/net/http/server.d:142 void ae.net.http.server.BaseHttpServerConnection.onNewRequest(ae.sys.data.Data) [0x5572f7d2a209]
../../.dub/packages/ae-0.0.3101/ae/net/asockets.d:1877 void ae.net.asockets.ConnectionAdapter.onReadData(ae.sys.data.Data) [0x5572f7d06b99]
../../.dub/packages/ae-0.0.3101/ae/net/asockets.d:2084 void ae.net.asockets.TimeoutAdapter.onReadData(ae.sys.data.Data) [0x5572f7d07699]
../../.dub/packages/ae-0.0.3101/ae/net/asockets.d:871 void ae.net.asockets.Connection.onReadable() [0x5572f7d03a0e]
../../.dub/packages/ae-0.0.3101/ae/net/asockets.d:479 void ae.net.asockets.SocketManager.handleEvent(std.socket.SocketSet, std.socket.SocketSet) [0x5572f7d02f59]
../../.dub/packages/ae-0.0.3101/ae/net/asockets.d:424 void ae.net.asockets.SocketManager.loop() [0x5572f7d02dec]
src/dfeed/progs/dfeed.d:89 _Dmain [0x5572f7b717c8]
CyberShadow commented 1 year ago

Did you run the makefile?

WebFreak001 commented 1 year ago

no, dub

CyberShadow commented 1 year ago

Please read the README.

WebFreak001 commented 1 year ago

oh right sorry, I saw the rebuild file and assumed that was the whole build script, which was covered by dub