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

TypeError: can_subscribe_doc() takes exactly 3 arguments (0 given) #5376

Closed
jmatsushita opened this issue May 20, 2016 · 0 comments
Closed

Comments

@jmatsushita
Copy link

On ERPNext 6.27.19

2016-05-20 09:22:10,545 Request Error 
 site: site1.local
 form: {'cmd': u'frappe.async.can_subscribe_doc'}

Traceback (innermost last):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 60, in application
    response = frappe.api.handle()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/api.py", line 50, in handle
    return 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: can_subscribe_doc() takes exactly 3 arguments (0 given)
rmehta added a commit to frappe/frappe that referenced this issue May 30, 2016
@rmehta rmehta closed this as completed May 30, 2016
gagaboy added a commit to gagaboy/frappe that referenced this issue Jun 2, 2016
* commit 'ca2ca046c672b590456b7ecad3c134fc49619bb7':
  [fix] create new
  [fix] refresh grid after re-render
  [minor] trigger primary action on save
  [fix] Naming of docs
  [fix] new_doc
  [fix] frappe.new_doc and with_mandatory_children
  [fix] [bug] grid-reorder
  [fix] list_settings
  [list-settings] save in redis, db, save filters while switching views and patch
  [enhancement] remember list settings - sort, filters, paging
  [grid] ux fixes and fixes for frappe/erpnext#5376
  [fix] query report if no chart data
  [minor] ignore_csrf in site_config and to check for autoname in hooks even if not autoname is present
  [cleanup] rename functions in website and router for cleaner meaning
  [fixes] AttributeError: 'DatabaseQuery' object has no attribute 'ignore_ifnull'
  Charts using rows data
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

2 participants