Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"unhandled and unrecoverable error" on /admin/model/voter #38

Open
ijt opened this issue Feb 6, 2015 · 0 comments
Open

"unhandled and unrecoverable error" on /admin/model/voter #38

ijt opened this issue Feb 6, 2015 · 0 comments

Comments

@ijt
Copy link

ijt commented Feb 6, 2015

I'm working through the Evening with Chicago Boss tutorial
https://github.com/ChicagoBoss/ChicagoBoss/wiki/An-Evening-With-Chicago-Boss

When I visit http://localhost:8001/admin/model/voter, as the tutorial suggests, this error shows up in the browser:

An unhandled and unrecoverable error occurred. Please check error logs.

The error logs have this to say:

14:08:13.057 [notice] ApplicationForPath cb_admin
14:08:13.058 [info] Route: "/model/voter"Url
[]
14:08:13.059 [error] Unhandled Error: error:function_clause Stacktrace: [{string,tokens1,[49,"/",[]],[{file,"string.erl"},{line,226}]},{cb_admin_lib,-require_ip_address/1-fun-0-,3,[{file,"/Users/issactrotts/erlang/evening/deps/cb_admin/src/lib/cb_admin_lib.erl"},{line,24}]},{lists,foldr,3,[{file,"lists.erl"},{line,1274}]},{cb_admin_lib,require_ip_address,1,[{file,"/Users/issactrotts/erlang/evening/deps/cb_admin/src/lib/cb_admin_lib.erl"},{line,22}]},{boss_controller_adapter_pmod,before_filter,2,[{file,"src/boss/controller_adapters/boss_controller_adapter_pmod.erl"},{line,58}]},{boss_web_controller,apply_before_filters,3,[{file,"src/boss/boss_web_controller.erl"},{line,365}]},{boss_web_controller,apply_action,4,[{file,"src/boss/boss_web_controller.erl"},{line,300}]},{boss_web_controller,execute_action_inner,9,[{file,"src/boss/boss_web_controller.erl"},{line,287}]}]

The error message is cryptic. I tried pasting it into the erl shell, but it can't digest the dash (-) in -require_ip_address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant