benoitc / couchbeam

Apache CouchDB client in Erlang
Other
242 stars 114 forks source link

Nothing works #76

Closed intjelic closed 12 years ago

intjelic commented 12 years ago

Almost all functions trigger "\ exception error: no function clause matching".

"make test" gives me that: prove t/*.t t/001-load.t ........ ok
t/002-server.t ...... ok
t/003-database.t .... Failed 7/10 subtests t/004-document.t .... Bailout called. Further testing stopped:
FAILED--Further testing stopped.

I use couchbeam-0.8.1 and erlang R14b04

benoitc commented 12 years ago

Did you launched a couchdb node?

intjelic commented 12 years ago

Yes

But I don't think the issue is from the node since the error message is: "exception error: no function clause matching"

Actually, I get this for every piece of example you gave.

I'm able to create the server and database macro: S = couchbeam:server_connection("localhost", 5984, "", []). D = couchbeam:open_db(S, "account", []).

But once I want to use it in save_doc, fetch, etc, all give me this exception error.

intjelic commented 12 years ago

Shit.

{ok, Db} = couchbeam:open_db(S, "account", []).

.... Sorry

But some tests seem not to work and I don't know why but the four last releases (7.3, 7.2, 7.1 and 7.0) don't compile, is it normal ? Giving for each different error messages.

You can delete this issue if you want^^

benoitc commented 12 years ago

well all tests pass in travis. Builds were used to work. Maybe you didn't upgrade the deps with ejson ? (which was used in previous version) ?

benoitc commented 12 years ago

closing the issue. thanks for the feedback :)