Closed szabgab closed 7 years ago
normally the default URI of 'mongodb://' should work to connect to 127.0.0.1/27017. In the code, the Socket class is used to make the connection and on failure, an exception is thrown by the socket. It is caught though to provide an error or fatal message (the last one throws again)
There were some issues when I started to use the newest mongod server. These are solved now. On Travis everything tests ok.
Btw, are you running your program in the same environment as your mongo shell?
Rewrote the synopsis part to fix small problems which surfaced after such a long time since I've written that part. Made also a new version of MongoDB driver after changes in BSON. Please try again.
according to later communications, it seemed to work now for Gabor. Closing this ticket.
I copy-pasted the first part of the example in the README till the first run-comand and ran the script. I got:
several times till I stopped it with Ctrl-C.
At the same time:
this is:
The MongoDB module was installed using the force because #16.
I wonder what could be the problem.