Category Archives: webmachine

webmachine – wmtrace exception

webmachine – wmtrace exception – Problem discription I was getting the following exception when i thought i had wmtrace successfully set up. The server encountered an error while processing this request: [{erlang,iolist_to_binary,[error],[]}, {webmachine_decision_core,encode_body,1, [{file,"src/webmachine_decision_core.erl"}, {line,668}]}, {webmachine_decision_core,decision,1, [{file,"src/webmachine_decision_core.erl"}, {line,567}]}, {webmachine_decision_core,handle_request,2, [{file,"src/webmachine_decision_core.erl"}, {line,33}]}, {webmachine_mochiweb,loop,2,[{file,"src/webmachine_mochiweb.erl"},{line,74}]}, {mochiweb_http,parse_headers,5,[{file,"src/mochiweb_http.erl"},{line,180}]}, {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}] I had following setup complete and i was seeing the .trace […]

REST using Webmachine, Good resource

Great deck by KevSmith on using Webmachine for a clean RESTful service – Getting Rest with Webmachine Code on Github

escript: bad_central_directory

escript: bad_central_directory escript is packaged as part of the erlang otp and essentially executes uncompiled erlang code. Rebar delegates alot of work to it. Recently, I was getting the following error when trying to run the webmachine project files from the excellent book, ‘7 webservers in 7 weeks‘. I’m running R16B02 on OS X $ […]