saurabh6790 / frappe_ldap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: get() takes exactly 1 argument (0 given)

MarekPikula opened this issue · comments

Clean install of ERPNext and frappe_ldap and after trying to open LDAP from search bar. Similar to 44th comment on https://discuss.erpnext.com/t/frappe-based-app-ldap-login/3756/44.

2016-05-15 18:01:46,268 - /var/lib/erpnext/frappe-bench/apps/frappe/frappe/app.py [ERROR]:
Site: erp.sent.tech
Form Dict: {
 "cmd": "frappe.desk.moduleview.get"
}
Request Error
Traceback (most recent call last):
  File "/var/lib/erpnext/frappe-bench/apps/frappe/frappe/app.py", line 55, in application
    response = frappe.handler.handle()
  File "/var/lib/erpnext/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle
    execute_cmd(cmd)
  File "/var/lib/erpnext/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd
    ret = frappe.call(method, **frappe.form_dict)
  File "/var/lib/erpnext/frappe-bench/apps/frappe/frappe/__init__.py", line 854, in call
    return fn(*args, **newargs)
TypeError: get() takes exactly 1 argument (0 given)
2016-05-15 18:01:46,317 - /var/lib/erpnext/frappe-bench/apps/frappe/frappe/utils/error.py [ERROR]:
New Exception collected with id: 2016-05-15 18:01:46.268677-10.8.8.1-1f3