Closed theronic closed 7 years ago
@pate welcome to ERPNext! Are you using "develop"? Its unstable right now. If you testing the system out please use the "master" branch
Are you using production setup or develop one?
Also go to frappe-bench folder and check the output of bench version
Sent from my phone
On 27-Jun-2016, at 10:13 PM, Petrus Theron notifications@github.com wrote:
First-time user of ERPNext. Starting from a fresh install, I created a new custom role and I think I checked a permission for it. After that, every view breaks with a modal showing "Server Error: Please check your server logs or contact tech support."
Here is the output from /home/frappe/frappe-bench/logs/web.error.log:
2016-06-27 12:12:43,092 New Exception collected with id: 2016-06-27 12:12:43.086462-41.164.24.2-94f site: site1.local form: {'cmd': u'frappe.desk.moduleview.get'}
Traceback (innermost last): File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 57, in application response = frappe.handler.handle() File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle execute_cmd(cmd) File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd ret = frappe.call(method, *_frappe.form_dict) File "/home/frappe/frappe-bench/apps/frappe/frappe/init.py", line 806, in call return fn(_args, **newargs) TypeError: get() takes exactly 1 argument (0 given) I'm not sure how to diagnose this further. I started poking around in the MariaDB, but I can't find any foreign key relationships (???) for tabRole table and I see that names are used as natural primary keys (no surrogate keys?). My next step would be to delete this row, but then I'm worried other things will break.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
I'm using production setup.
ERPNext: v6.27.25 Frappe Framework: v6.27.22
Looks like this might be related to https://github.com/frappe/frappe/issues/1793 ?
I am also not sure this was related to my role testing. It could have been anything.
Can anyone kindly point me to a doc with instructions to get a better stack trace? I opened up /home/frappe/frappe-bench/apps/frappe/frappe/__init__.py
and it looks like a generic hook handler or something.
@pate what was the Role that you created?
First-time user of ERPNext. Starting from a fresh install, I created a new custom role and I think I checked a permission for it. After that, every view breaks with a modal showing "Server Error: Please check your server logs or contact tech support."
Here is the output from
/home/frappe/frappe-bench/logs/web.error.log
:I'm not sure how to diagnose this further. I started poking around in the MariaDB, but I can't find any foreign key relationships (???) for tabRole table and I see that names are used as natural primary keys (no surrogate keys?). My next step would be to delete this row, but then I'm worried other things will break.