Guest User

log

a guest
Aug 16th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Failed to load resource: the server responded with a status of 417 (EXPECTATION FAILED)
  2. desk.min.js:139 Traceback (most recent call last):
  3.   File "/home/haci/frappe-bench/apps/frappe/frappe/desk/form/save.py", line 19, in savedocs
  4.     doc.submit()
  5.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 683, in submit
  6.     self._submit()
  7.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 672, in _submit
  8.     self.save()
  9.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 242, in save
  10.     return self._save(*args, **kwargs)
  11.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 286, in _save
  12.     self.run_post_save_methods()
  13.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 731, in run_post_save_methods
  14.     self.run_method("on_submit")
  15.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 661, in run_method
  16.     return Document.hook(fn)(self, *args, **kwargs)
  17.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 839, in composer
  18.     return composed(self, method, *args, **kwargs)
  19.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 822, in runner
  20.     add_to_return_value(self, fn(self, *args, **kwargs))
  21.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 655, in <lambda>
  22.     fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  23.   File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.py", line 81, in on_submit
  24.     self.update_landed_cost()
  25.   File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.py", line 111, in update_landed_cost
  26.     doc.update_stock_ledger(via_landed_cost_voucher=True)
  27.   File "/home/haci/frappe-bench/apps/erpnext/erpnext/controllers/buying_controller.py", line 359, in update_stock_ledger
  28.     via_landed_cost_voucher=via_landed_cost_voucher)
  29.   File "/home/haci/frappe-bench/apps/erpnext/erpnext/controllers/stock_controller.py", line 205, in make_sl_entries
  30.     make_sl_entries(sl_entries, is_amended, allow_negative_stock, via_landed_cost_voucher)
  31.   File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/stock_ledger.py", line 38, in make_sl_entries
  32.     update_bin(args, allow_negative_stock, via_landed_cost_voucher)
  33.   File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/utils.py", line 96, in update_bin
  34.     bin.update_stock(args, allow_negative_stock, via_landed_cost_voucher)
  35.   File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/doctype/bin/bin.py", line 34, in update_stock
  36.     self.update_qty(args)
  37.   File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/doctype/bin/bin.py", line 76, in update_qty
  38.     self.save()
  39.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 242, in save
  40.     return self._save(*args, **kwargs)
  41.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 283, in _save
  42.     self.db_update()
  43.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/base_document.py", line 326, in db_update
  44.     ), d.values() + [name])
  45.   File "/home/haci/frappe-bench/apps/frappe/frappe/database.py", line 109, in sql
  46.     self.check_transaction_status(query)
  47.   File "/home/haci/frappe-bench/apps/frappe/frappe/database.py", line 230, in check_transaction_status
  48.     frappe.throw(_("Too many writes in one request. Please send smaller requests"), frappe.ValidationError)
  49.   File "/home/haci/frappe-bench/apps/frappe/frappe/__init__.py", line 299, in throw
  50.     msgprint(msg, raise_exception=exc, title=title, indicator='red')
  51.   File "/home/haci/frappe-bench/apps/frappe/frappe/__init__.py", line 292, in msgprint
  52.     _raise_exception()
  53.   File "/home/haci/frappe-bench/apps/frappe/frappe/__init__.py", line 265, in _raise_exception
  54.     raise raise_exception, encode(msg)
  55. ValidationError: Too many writes in one request. Please send smaller requests
  56.  
  57. desk.min.js:139 Traceback (most recent call last):
  58.   File "/home/haci/frappe-bench/apps/frappe/frappe/app.py", line 55, in application
  59.     response = frappe.handler.handle()
  60.   File "/home/haci/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle
  61.     execute_cmd(cmd)
  62.   File "/home/haci/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd
  63.     ret = frappe.call(method, **frappe.form_dict)
  64.   File "/home/haci/frappe-bench/apps/frappe/frappe/__init__.py", line 879, in call
  65.     return fn(*args, **newargs)
  66.   File "/home/haci/frappe-bench/apps/frappe/frappe/desk/form/save.py", line 19, in savedocs
  67.     doc.submit()
  68.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 683, in submit
  69.     self._submit()
  70.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 672, in _submit
  71.     self.save()
  72.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 242, in save
  73.     return self._save(*args, **kwargs)
  74.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 286, in _save
  75.     self.run_post_save_methods()
  76.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 731, in run_post_save_methods
  77.     self.run_method("on_submit")
  78.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 661, in run_method
  79.     return Document.hook(fn)(self, *args, **kwargs)
  80.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 839, in composer
  81.     return composed(self, method, *args, **kwargs)
  82.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 822, in runner
  83.     add_to_return_value(self, fn(self, *args, **kwargs))
  84.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 655, in <lambda>
  85.     fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  86.   File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.py", line 81, in on_submit
  87.     self.update_landed_cost()
  88.   File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.py", line 111, in update_landed_cost
  89.     doc.update_stock_ledger(via_landed_cost_voucher=True)
  90.   File "/home/haci/frappe-bench/apps/erpnext/erpnext/controllers/buying_controller.py", line 359, in update_stock_ledger
  91.     via_landed_cost_voucher=via_landed_cost_voucher)
  92.   File "/home/haci/frappe-bench/apps/erpnext/erpnext/controllers/stock_controller.py", line 205, in make_sl_entries
  93.     make_sl_entries(sl_entries, is_amended, allow_negative_stock, via_landed_cost_voucher)
  94.   File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/stock_ledger.py", line 38, in make_sl_entries
  95.     update_bin(args, allow_negative_stock, via_landed_cost_voucher)
  96.   File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/utils.py", line 96, in update_bin
  97.     bin.update_stock(args, allow_negative_stock, via_landed_cost_voucher)
  98.   File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/doctype/bin/bin.py", line 34, in update_stock
  99.     self.update_qty(args)
  100.   File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/doctype/bin/bin.py", line 76, in update_qty
  101.     self.save()
  102.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 242, in save
  103.     return self._save(*args, **kwargs)
  104.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 283, in _save
  105.     self.db_update()
  106.   File "/home/haci/frappe-bench/apps/frappe/frappe/model/base_document.py", line 326, in db_update
  107.     ), d.values() + [name])
  108.   File "/home/haci/frappe-bench/apps/frappe/frappe/database.py", line 109, in sql
  109.     self.check_transaction_status(query)
  110.   File "/home/haci/frappe-bench/apps/frappe/frappe/database.py", line 230, in check_transaction_status
  111.     frappe.throw(_("Too many writes in one request. Please send smaller requests"), frappe.ValidationError)
  112.   File "/home/haci/frappe-bench/apps/frappe/frappe/__init__.py", line 299, in throw
  113.     msgprint(msg, raise_exception=exc, title=title, indicator='red')
  114.   File "/home/haci/frappe-bench/apps/frappe/frappe/__init__.py", line 292, in msgprint
  115.     _raise_exception()
  116.   File "/home/haci/frappe-bench/apps/frappe/frappe/__init__.py", line 265, in _raise_exception
  117.     raise raise_exception, encode(msg)
  118. ValidationError: Too many writes in one request. Please send smaller requests
Add Comment
Please, Sign In to add comment