Comments (1)
Are you using CB 0.8.0?
On Mon, Aug 20, 2012 at 12:47 AM, Tim McNamara [email protected]:
When a model is selected in the admin menu, a 500 error is raised. The
full traceback from the shell is below.=ERROR REPORT==== 20-Aug-2012::17:41:35 ===* Generic server <0.347.0> terminating * Last message in was {find,topic,[],
[{limit,100},{offset,0},descending],
0,id,str_ascending}* When Server state == {state,boss_db_adapter_mnesia,undefined,[],
{dict,0,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],
[],[],[]}}},
false,60,db,0}* Reason for termination == ** {function_clause,
[{boss_db_adapter_mnesia,find,
[undefined,topic,[],
[{limit,100},{offset,0},descending],
0,id,str_ascending],
[{file,"src/db_adapters/boss_db_adapter_mnesia.erl"},{line,44}]},
{boss_db_controller,handle_call,3,
[{file,"src/boss_db_controller.erl"},{line,83}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,588}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}
=CRASH REPORT==== 20-Aug-2012::17:41:35 ===
crasher:
initial call: boss_db_controller:init/1
pid: <0.347.0>
registered_name: []
exception exit: {function_clause,
[{boss_db_adapter_mnesia,find,
[undefined,topic,[],
[{limit,100},{offset,0},descending],
0,id,str_ascending],
[{file,
"src/db_adapters/boss_db_adapter_mnesia.erl"},
{line,44}]},
{boss_db_controller,handle_call,3,
[{file,"src/boss_db_controller.erl"},{line,83}]},
{gen_server,handle_msg,5,
[{file,"gen_server.erl"},{line,588}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,227}]}]}
in function gen_server:terminate/6 (gen_server.erl, line 747)
ancestors: [<0.121.0>,boss_db_pool,boss_db_sup,boss_web,boss_sup,
<0.64.0>]
messages: []
links: [<0.121.0>,<0.120.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 987
stack_size: 24
reductions: 2250
neighbours:
=SUPERVISOR REPORT==== 20-Aug-2012::17:41:35 ===
Supervisor: {<0.121.0>,poolboy_sup}
Context: child_terminated
Reason: {function_clause,
[{boss_db_adapter_mnesia,find,
[undefined,topic,[],
[{limit,100},{offset,0},descending],
0,id,str_ascending],
[{file,"src/db_adapters/boss_db_adapter_mnesia.erl"},
{line,44}]},
{boss_db_controller,handle_call,3,
[{file,"src/boss_db_controller.erl"},{line,83}]},
{gen_server,handle_msg,5,
[{file,"gen_server.erl"},{line,588}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,227}]}]}
Offender: [{pid,<0.347.0>},
{name,boss_db_controller},
{mfargs,{boss_db_controller,start_link,undefined}},
{restart_type,temporary},
{shutdown,brutal_kill},
{child_type,worker}]=ERROR REPORT==== 20-Aug-2012::17:41:35 ==={{function_clause,
[{boss_db_adapter_mnesia,find,
[undefined,topic,[],
[{limit,100},{offset,0},descending],
0,id,str_ascending],
[{file,"src/db_adapters/boss_db_adapter_mnesia.erl"},{line,44}]},
{boss_db_controller,handle_call,3,
[{file,"src/boss_db_controller.erl"},{line,83}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,588}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]},
{gen_server,call,
[<0.347.0>,
{find,topic,[],[{limit,100},{offset,0},descending],0,id,str_ascending},
30000]}}—
Reply to this email directly or view it on GitHubhttps://github.com//issues/30.
Evan Miller
http://www.evanmiller.org/
from boss_db.
Related Issues (20)
- Exception that escapes transaction try-catch cannot be handled
- Syntax error while compiling bson HOT 2
- Model of "user_ware_movement" get table name of "user_ware_movesment" HOT 2
- Thoughts on boss_db's active_record (not issue) HOT 2
- mysql: table/column names should be enclosed with ` HOT 1
- mysql: _'_ is not escaped
- Mongodb connections not released properly HOT 2
- Mongodb adapter is unusable HOT 13
- Allow boss_db to create table for models
- Issue with foreign key name that contains the string "state" being altered, causing boss_db_adapter_mysql:keyindex to fail HOT 1
- boss_db doc says find returns {error, reason} for error. It returns "undefined" (or throws exception)
- Cache invalidation problem
- hello, can I user define column type, I implement writer / read
- Multiple DBs and/or hosts? HOT 2
- Lager dependency needs to be updated for Erlang 19 compatibility HOT 1
- Wrong rounding of datetime
- Boss_db is failing to build on Centos 7.6 HOT 1
- Model error
- MySQL 8 compatability using driver mysql-otp
- Is this project still alive? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boss_db.