Code Monkey home page Code Monkey logo

vibed.org's People

Contributors

abscissa avatar belm0 avatar cromfr avatar geod24 avatar hayashikun avatar j-krueger avatar j5lx avatar japplegame avatar l-kramer avatar luismarques avatar martinnowak avatar redstar avatar s-ludwig avatar schveiguy avatar simendsjo avatar taxaos avatar timoses avatar uplinkcoder avatar webfreak001 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vibed.org's Issues

vibelog not automatically downloaded

$ ./vibe
[7F1A3A08CF00:00000000 INF] Updating application in '/home/simendsjo/code/vibe/vibed.org'
[7F1A3A08CF00:00000000 INF] The following changes could be performed:
[7F1A3A08CF00:00000000 INF] Installupdate: vibelog, version >=0.0.1
[7F1A3A08CF00:00000000 INF] Installing vibelog...

object.Exception@/home/simendsjo/code/vibe/vibe.d/bin/../source/vibe/core/drivers/threadedfile.d(79): Failed to open '/home/simendsjo/code/vibe/vibed.org/temp/downloads/vibelog.zip' for reading.

/tmp/.rdmd-1000/home/simendsjo/code/vibe/vibe.d/bin/vpm.d.F81A1B9283D11DDE6A8E4674BF83F03A(vibe.core.driver.FileStream vibe.core.drivers.libevent2.Libevent2Driver.openFile(immutable(char)[], vibe.core.driver.FileMode)+0x6a) [0x506e42]
/tmp/.rdmd-1000/home/simendsjo/code/vibe/vibe.d/bin/vpm.d.F81A1B9283D11DDE6A8E4674BF83F03A(vibe.core.driver.FileStream vibe.core.file.openFile(immutable(char)[], vibe.core.driver.FileMode)+0x31) [0x52518d]
/tmp/.rdmd-1000/home/simendsjo/code/vibe/vibe.d/bin/vpm.d.F81A1B9283D11DDE6A8E4674BF83F03A(void vibe.vpm.vpm.Vpm.install(immutable(char)[], const(vibe.vpm.dependency.Dependency), bool)+0x31c) [0x542798]
/tmp/.rdmd-1000/home/simendsjo/code/vibe/vibe.d/bin/vpm.d.F81A1B9283D11DDE6A8E4674BF83F03A(bool vibe.vpm.vpm.Vpm.update(bool)+0x382) [0x5421d2]
/tmp/.rdmd-1000/home/simendsjo/code/vibe/vibe.d/bin/vpm.d.F81A1B9283D11DDE6A8E4674BF83F03A(void vpm.staticCtor1()+0x155) [0x4d28a5]
/tmp/.rdmd-1000/home/simendsjo/code/vibe/vibe.d/bin/vpm.d.F81A1B9283D11DDE6A8E4674BF83F03A(void vpm.modctor()+0x9) [0x4fac35]
/tmp/.rdmd-1000/home/simendsjo/code/vibe/vibe.d/bin/vpm.d.F81A1B9283D11DDE6A8E4674BF83F03A(extern (C) void rt.minfo.rt_moduleTlsCtor().void runModuleFuncs!(rt_moduleTlsCtor11__lambda232).runModuleFuncs(object.ModuleInfo
[])+0x3c) [0x5512bc]
/tmp/.rdmd-1000/home/simendsjo/code/vibe/vibe.d/bin/vpm.d.F81A1B9283D11DDE6A8E4674BF83F03A(rt_moduleTlsCtor+0x18) [0x550ba4]
/tmp/.rdmd-1000/home/simendsjo/code/vibe/vibe.d/bin/vpm.d.F81A1B9283D11DDE6A8E4674BF83F03A(extern (C) int rt.dmain2.main(int, char
).void runAll()+0x1d) [0x54c6cd]
/tmp/.rdmd-1000/home/simendsjo/code/vibe/vibe.d/bin/vpm.d.F81A1B9283D11DDE6A8E4674BF83F03A(extern (C) int rt.dmain2.main(int, char_*).void tryExec(scope void delegate())+0x23) [0x54c01f]
/tmp/.rdmd-1000/home/simendsjo/code/vibe/vibe.d/bin/vpm.d.F81A1B9283D11DDE6A8E4674BF83F03A(main+0xd3) [0x54bfb7]

/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f1a38b2a30d]

source/app.d(3): Error: module vibelog is in file 'vibelog/vibelog.d' which cannot be read

css and js not loading

The site doesn't seem to be loading css and js (and looks bad). I get the following errors:
normalize.css:1 Failed to load resource: the server responded with a status of 404 ()
bootstrap.js:1 Failed to load resource: the server responded with a status of 404 ()
bootstrap.css:1 Failed to load resource: the server responded with a status of 404 ()
normalize.css:1 Failed to load resource: the server responded with a status of 404 ()
bootstrap.css:1 Failed to load resource: the server responded with a status of 404 ()

Current HEAD does not build with dub, probably need an updated ddox release

Current HEAD wants ddox 0.9.22. However, it's looking for jsonparser.d in a parsers subdirectory, and as best as I can estimate, that happened AFTER 0.9.22 (so I suspect for the site itself, you're building off your source tree).

I think the fix for this is to push a new ddox release that includes those changes & update the package.json file to require that version.

API tree has confusing indentation

Take a look at this image:

Screen Shot 2020-03-20 at 5 39 57 PM

To me it looks like the net module is vibe.core.internal.net, but really, it's vibe.core.net. As I'm looking at NetworkAddress, there is no indication of which module it is in. The only clue I have is the highlighted navigation item.

IMO, the modules under vibe.core should be in line with vibe.core.internal package, not one level under. It seems like the modules themselves jump 2 levels of indent.

As a side note, another thing to do here is for any exact symbol to indicate somewhere at the top what module this symbol is in so I don't have to infer from the navigation tree.

Hosting providers for D and videb

I would like to start using vibed, but I was wondering how much it is supported. For example, I want to create my own website using vibe.d and then put it online, are there any hosting providers?

"corrupted double linked list" when trying to use https server with self-signed cert.

Generated cert/key with openssl.

Vibed server opens HTTP and HTTPS port, when firefox first connects and raises the "Get me out of here error" the server dies:

Task terminated with uncaught exception: Error reading data from socket. Remote hung up?
*** Error in `/tmp/.rdmd-1000/rdmd-server.d-D06B25D3574974E54E58C2C7C388112A/server': double fre
e or corruption (!prev): 0x0000000001ed1a20 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x72e5f)[0x7ff962524e5f]
/usr/lib/libc.so.6(+0x7862e)[0x7ff96252a62e]
/usr/lib/libc.so.6(+0x79307)[0x7ff96252b307]
/usr/lib/libcrypto.so.1.0.0(CRYPTO_free+0x1d)[0x7ff963258e2d]
/usr/lib/libcrypto.so.1.0.0(ERR_clear_error+0x76)[0x7ff9632fbfb6]
/usr/lib/libssl.so.1.0.0(ssl23_accept+0x31)[0x7ff962fb6141]
/tmp/.rdmd-1000/rdmd-server.d-D06B25D3574974E54E58C2C7C388112A/server(_D4vibe6stream3ssl9SSLStre
am6__ctorMFC4vibe4core6stream6StreamC4vibe6stream3ssl10SSLContextE4vibe6stream3ssl14SSLStreamSta
teZC4vibe6stream3ssl9SSLStream+0x125)[0x65fe0d]
======= Memory map: ========

etc.

Memory gets corrupted when calling runTask or runWorkerTask from a normal http request handling

Hi,

In my code I have this:

void test(HTTPServerRequest req, HTTPServerResponse res) {
setLogLevel(LogLevel.diagnostic);
runTask({
logDiagnostic("About to make request");
auto response = requestHTTP("http://www.google.com");
logDiagnostic("Request done");
return;
});

res.writeBody("Done");

}

In the logs I see everything nicely, except when I ctrl-c the server, in which I see that weird exception:

[BAAB002A:B122DB2A 2014.09.30 13:58:37.084 dia] About to make request
[BAAB002A:B122DB2A 2014.09.30 13:58:37.142 dia] Request done
^C[BAAB002A:00000000 2014.09.30 13:58:39.420 INF] Received signal 2. Shutting down.
[BAAB002A:00000000 2014.09.30 13:58:39.420 dia] Event loop exited with status 0.

core.exception.InvalidMemoryOperationError@(0)

Any clue what might be going on here?

Thanks,
Mario

Deprecated dub init example

http://vibed.org/docs
"The easiest way to get started is to run the following command from your projects directory:"

$ cd /path/to/my/projects
$ dub init <project-name> vibe.d

I think $ dub init <project-name> vibe.d should be replaced with $ dub init <project-name> --type=vibe.d, shouldn't it?

Search docs

There should be a search field somewhere in the API docs and maybe for the whole site.

Blog page broken, getting HTTP error?

Hi,

some minutes ago I tried multiple times to access the subpage http://vibed.org/blog/ which always resulted in an HTTP error 500. Now it seems to work again. I don't know if the issue was due to maintenance or whatever...

I'm running Firefox 12.0 on KUbuntu 11.10 oneiric here.

The following "internal error information" was displayed on the page:

object.Exception@/opt/vibe/source/vibe/core/drivers

/libevent2_tcp.d(272): Operating on closed TCPConnection.

./app(pure @safe bool std.exception.enforce!(bool, "/opt/vibe/source
/vibe/core/drivers/libevent2_tcp.d", 272).enforce(bool, lazy const(char)
[])+0x46) [0x50096a]
./app(void
vibe.core.drivers.libevent2_tcp.Libevent2TcpConnection.checkConnected()+0
x3a) [0x4ffbf2]
./app(void
vibe.core.drivers.libevent2_tcp.Libevent2TcpConnection.close()+0x4d)
[0x4ff181]
./app(void vibe.db.mongo.connection.MongoConnection.disconnect()+0x68)
[0x4ee4c8]
./app(vibe.db.mongo.connection.Reply
vibe.db.mongo.connection.MongoConnection.query(immutable(char)[],
vibe.db.mongo.connection.QueryFlags, int, int, vibe.data.bson.Bson,
vibe.data.bson.Bson)+0x13c) [0x4ee9c8]
./app(vibe.db.mongo.cursor.MongoCursor
vibe.db.mongo.collection.MongoCollection.find!
(vibe.data.bson.Bson[immutable(char)[]],
).find(vibe.data.bson.Bson[immutable(char)[]], ,
vibe.db.mongo.connection.QueryFlags, int, int)+0x12c) [0x547228]
./app(vibelog.user.User[immutable(char)[]]
vibelog.dbcontroller.DBController.getAllUsers()+0x82) [0x5a2e66]
./app(void
vibelog.vibelog.VibeLog.showPostList(vibe.http.server.HttpServerRequest,
vibe.http.server.HttpServerResponse)+0x60) [0x541d60]
./app(void
vibe.http.router.UrlRouter.handleRequest(vibe.http.server.HttpServerReque
st, vibe.http.server.HttpServerResponse)+0x19c) [0x5a66dc]
./app(void
vibe.http.server.handleHttpConnection(vibe.core.driver.TcpConnection,
vibe.http.server.HTTPServerListener)+0xf3c) [0x504230]
./app(void
vibe.http.server.listenHttpPlain(vibe.http.server.HttpServerSettings,
void delegate(vibe.http.server.HttpServerRequest,
vibe.http.server.HttpServerResponse)).void
lambda8(vibe.core.driver.TcpConnection)+0x36) [0x501bce]
./app(extern (C) void vibe.core.drivers.libevent2_tcp.onConnect(int,
short, void
).void delegate()
client_task(vibe.core.drivers.libevent2_tcp.TcpContext
,
vibe.core.drivers.libevent2_tcp.TcpContext*).void __lambda6()+0x102)
[0x50008e]
./app(void vibe.core.core.defaultFiberFunc()+0x95) [0x599b3d]
./app(void core.thread.Fiber.run()+0x1c) [0x5d08dc]
./app(fiber_entryPoint+0x5d) [0x5d086d]
[(nil)]

If I can provide any further information that might help, please ask.

Add custom serializiton to rest

I'm currently working with a rest based webservice which uses xml as data representation. I wanted to use vibed to write a test client and a fake server to test the Service, but i couldn't find a way to change the serializatzon method from JSON to xml.

Could you add something like custom serializes to vibed.

Docs contain broken code

E.g. on http://vibed.org/docs

Under the "For a simple web application" section. The code that dub init -t vibe.d generates is significantly different to what's shown in the tutorial (and the tutorial code itself doesn't compile).

There are other code examples on that page which don't compile. Maybe all code samples should be tested..

fix latest version button

Current website shows latest version to be 0.7.23. The link isn't even valid.

I'm not sure how this is supposed to work. According to the code, it periodically scans the "public/files" directory for new versions of vibe.d. Not sure if they ever appear there, it seems like the version that is displayed is the version in the code (see here).

If there is an issue with the web site where it's not getting the version info from code.dlang.org, that button should just link to the base page (i.e. http://code.dlang.org/packages/vibe-d) and say something generic like "Latest" instead of the actual version number.

I'm not knowledgeable about the web site enough to know if there is something else that is supposed to fetch these versions which is broken. I'll also note that the downloads link seems to be broken.

Donate to Vibe.D Button

I've been using Vibe in personal projects for some time now, and I'd be more than willing to donate to support its development. I'm sure others would as well.

Error building

I just cloned from fresh and tried running dub but it failed compiling:

Package diskuto can be upgraded from 1.4.1 to 1.5.0.
Package vibe-core can be upgraded from 1.0.0-beta.4+commit.5.ge3f9d07 to 1.0.0-beta.5.
Package vibelog can be upgraded from 0.6.0-rc.2 to 0.6.0-rc.3.
Package antispam can be upgraded from 0.1.0 to 0.1.2.
Package eventcore can be upgraded from 0.8.8 to 0.8.10.
Use "dub upgrade" to perform those changes.
Performing "debug" build using dmd for x86_64.
hyphenate 1.1.1: target for configuration "library" is up to date.
libdparse 0.7.0: target for configuration "library" is up to date.
vibe-d:utils 0.8.0-beta.4: target for configuration "library" is up to date.
vibe-d:data 0.8.0-beta.4: target for configuration "library" is up to date.
vibe-d:core 0.8.0-beta.4: target for configuration "libevent" is up to date.
vibe-d:stream 0.8.0-beta.4: target for configuration "generic" is up to date.
vibe-d:textfilter 0.8.0-beta.4: target for configuration "library" is up to date.
vibe-d:diet 0.8.0-beta.4: target for configuration "library" is up to date.
diet-ng 1.2.0: target for configuration "library" is up to date.
vibe-d:crypto 0.8.0-beta.4: target for configuration "library" is up to date.
vibe-d:inet 0.8.0-beta.4: target for configuration "library" is up to date.
vibe-d:http 0.8.0-beta.4: target for configuration "library" is up to date.
vibe-d:web 0.8.0-beta.4: target for configuration "library" is up to date.
ddox 0.15.18: building configuration "library"...
../../.dub/packages/ddox-0.15.18/ddox/source/ddox/htmlgenerator.d(145,14): Deprecation: constructor vibe.stream.memory.MemoryOutputStream.this is deprecated - Use createMemoryOutputStream isntead.
Compiling diet template 'ddox.overview.dt'...
../../.dub/packages/vibe-d-0.8.0-beta.4/vibe-d/diet/vibe/templ/diet.d(253,33): Error: file "ddox.inc.utils.dt" cannot be found or not in a path specified with -J
../../.dub/packages/vibe-d-0.8.0-beta.4/vibe-d/diet/vibe/templ/diet.d(190,29): Error: template instance vibe.templ.diet.readFileRec!("ddox.inc.utils.dt") error instantiating
ddox.layout.dt(11,50):        instantiated from here: dietParser!"ddox.inc.utils.dt"
../../.dub/packages/vibe-d-0.8.0-beta.4/vibe-d/diet/vibe/templ/diet.d(47,51):        instantiated from here: compileDietFileIndent!("ddox.overview.dt", 0, req, info)
../../.dub/packages/ddox-0.15.18/ddox/source/ddox/htmlgenerator.d(300,5):        instantiated from here: compileDietFile!("ddox.overview.dt", req, info)
ddox.layout.dt(11,50): Error: CTFE failed because of previous errors in dietParser
Compiling diet template 'ddox.module.dt'...
ddox.layout.dt(11,50): Error: CTFE failed because of previous errors in dietParser
../../.dub/packages/vibe-d-0.8.0-beta.4/vibe-d/diet/vibe/templ/diet.d(47,51): Error: template instance ddox.htmlgenerator.generateModulePage.compileDietFileIndent!("ddox.module.dt", 0, req, info) error instantiating
../../.dub/packages/ddox-0.15.18/ddox/source/ddox/htmlgenerator.d(313,5):        instantiated from here: compileDietFile!("ddox.module.dt", req, info)
Compiling diet template 'ddox.docpage.dt'...
ddox.layout.dt(11,50): Error: CTFE failed because of previous errors in dietParser
../../.dub/packages/vibe-d-0.8.0-beta.4/vibe-d/diet/vibe/templ/diet.d(47,51): Error: template instance ddox.htmlgenerator.generateDeclPage.compileDietFileIndent!("ddox.docpage.dt", 0, req, info) error instantiating
../../.dub/packages/ddox-0.15.18/ddox/source/ddox/htmlgenerator.d(330,5):        instantiated from here: compileDietFile!("ddox.docpage.dt", req, info)
../../.dub/packages/ddox-0.15.18/ddox/source/ddox/htmlserver.d(112,14): Deprecation: constructor vibe.stream.memory.MemoryOutputStream.this is deprecated - Use createMemoryOutputStream isntead.
dmd failed with exit code 1.

I tried dub upgrade too but it didn't fix it

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.