Guest User

Untitled

a guest
Jul 8th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. Error Report
  2.  
  3. Python 2.7.6: /home/pirated/frappe-bench/env/bin/python (prefix: /home/pirated/frappe-bench/env)
  4.  
  5. Timestamp:
  6. 2016-07-07 12:36:06.682314
  7. Relapsed
  8. 1
  9. Exception
  10.  
  11. args ('set_value() takes exactly 4 arguments (3 given)',)
  12. message 'set_value() takes exactly 4 arguments (3 given)'
  13. Locals
  14.  
  15. a 'name'
  16. args ()
  17. defaults None
  18. fn
  19. fnargs ['doctype', 'name', 'fieldname', 'value']
  20. kwargs {'cmd': u'frappe.client.set_value', 'doctype': u'Sales Invoice', 'fieldname': u'shipping_address_name', 'name': u'SINV-00002'}
  21. newargs {'doctype': u'Sales Invoice', 'fieldname': u'shipping_address_name', 'name': u'SINV-00002'}
  22. varargs None
  23. varkw None
  24.  
  25. Traceback
  26.  
  27. /home/pirated/frappe-bench/apps/frappe/frappe/app.py: 57
  28.  
  29. 55
  30. 56 if frappe.local.form_dict.cmd:
  31. 57 response = frappe.handler.handle()
  32. 58
  33. 59 elif frappe.request.path.startswith("/api/"):
  34. Locals
  35. /home/pirated/frappe-bench/apps/frappe/frappe/handler.py: 19
  36.  
  37. 17
  38. 18 if cmd!='login':
  39. 19 execute_cmd(cmd)
  40. 20
  41. 21 return build_response("json")
  42. Locals
  43. /home/pirated/frappe-bench/apps/frappe/frappe/handler.py: 36
  44.  
  45. 34 is_whitelisted(method)
  46. 35
  47. 36 ret = frappe.call(method, **frappe.form_dict)
  48. 37
  49. 38 # returns with a message
  50. Locals
  51. /home/pirated/frappe-bench/apps/frappe/frappe/__init__.py: 806
  52.  
  53. 804 del newargs["flags"]
  54. 805
  55. 806 return fn(*args, **newargs)
  56. 807
  57. 808 def make_property_setter(args, ignore_validate=False, validate_fields_for_doctype=True):
  58. Locals
Add Comment
Please, Sign In to add comment