Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Failed to load resource: the server responded with a status of 417 (EXPECTATION FAILED)
- desk.min.js:139 Traceback (most recent call last):
- File "/home/haci/frappe-bench/apps/frappe/frappe/desk/form/save.py", line 19, in savedocs
- doc.submit()
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 683, in submit
- self._submit()
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 672, in _submit
- self.save()
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 242, in save
- return self._save(*args, **kwargs)
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 286, in _save
- self.run_post_save_methods()
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 731, in run_post_save_methods
- self.run_method("on_submit")
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 661, in run_method
- return Document.hook(fn)(self, *args, **kwargs)
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 839, in composer
- return composed(self, method, *args, **kwargs)
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 822, in runner
- add_to_return_value(self, fn(self, *args, **kwargs))
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 655, in <lambda>
- fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
- File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.py", line 81, in on_submit
- self.update_landed_cost()
- File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.py", line 111, in update_landed_cost
- doc.update_stock_ledger(via_landed_cost_voucher=True)
- File "/home/haci/frappe-bench/apps/erpnext/erpnext/controllers/buying_controller.py", line 359, in update_stock_ledger
- via_landed_cost_voucher=via_landed_cost_voucher)
- File "/home/haci/frappe-bench/apps/erpnext/erpnext/controllers/stock_controller.py", line 205, in make_sl_entries
- make_sl_entries(sl_entries, is_amended, allow_negative_stock, via_landed_cost_voucher)
- File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/stock_ledger.py", line 38, in make_sl_entries
- update_bin(args, allow_negative_stock, via_landed_cost_voucher)
- File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/utils.py", line 96, in update_bin
- bin.update_stock(args, allow_negative_stock, via_landed_cost_voucher)
- File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/doctype/bin/bin.py", line 34, in update_stock
- self.update_qty(args)
- File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/doctype/bin/bin.py", line 76, in update_qty
- self.save()
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 242, in save
- return self._save(*args, **kwargs)
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 283, in _save
- self.db_update()
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/base_document.py", line 326, in db_update
- ), d.values() + [name])
- File "/home/haci/frappe-bench/apps/frappe/frappe/database.py", line 109, in sql
- self.check_transaction_status(query)
- File "/home/haci/frappe-bench/apps/frappe/frappe/database.py", line 230, in check_transaction_status
- frappe.throw(_("Too many writes in one request. Please send smaller requests"), frappe.ValidationError)
- File "/home/haci/frappe-bench/apps/frappe/frappe/__init__.py", line 299, in throw
- msgprint(msg, raise_exception=exc, title=title, indicator='red')
- File "/home/haci/frappe-bench/apps/frappe/frappe/__init__.py", line 292, in msgprint
- _raise_exception()
- File "/home/haci/frappe-bench/apps/frappe/frappe/__init__.py", line 265, in _raise_exception
- raise raise_exception, encode(msg)
- ValidationError: Too many writes in one request. Please send smaller requests
- desk.min.js:139 Traceback (most recent call last):
- File "/home/haci/frappe-bench/apps/frappe/frappe/app.py", line 55, in application
- response = frappe.handler.handle()
- File "/home/haci/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle
- execute_cmd(cmd)
- File "/home/haci/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd
- ret = frappe.call(method, **frappe.form_dict)
- File "/home/haci/frappe-bench/apps/frappe/frappe/__init__.py", line 879, in call
- return fn(*args, **newargs)
- File "/home/haci/frappe-bench/apps/frappe/frappe/desk/form/save.py", line 19, in savedocs
- doc.submit()
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 683, in submit
- self._submit()
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 672, in _submit
- self.save()
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 242, in save
- return self._save(*args, **kwargs)
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 286, in _save
- self.run_post_save_methods()
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 731, in run_post_save_methods
- self.run_method("on_submit")
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 661, in run_method
- return Document.hook(fn)(self, *args, **kwargs)
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 839, in composer
- return composed(self, method, *args, **kwargs)
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 822, in runner
- add_to_return_value(self, fn(self, *args, **kwargs))
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 655, in <lambda>
- fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
- File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.py", line 81, in on_submit
- self.update_landed_cost()
- File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.py", line 111, in update_landed_cost
- doc.update_stock_ledger(via_landed_cost_voucher=True)
- File "/home/haci/frappe-bench/apps/erpnext/erpnext/controllers/buying_controller.py", line 359, in update_stock_ledger
- via_landed_cost_voucher=via_landed_cost_voucher)
- File "/home/haci/frappe-bench/apps/erpnext/erpnext/controllers/stock_controller.py", line 205, in make_sl_entries
- make_sl_entries(sl_entries, is_amended, allow_negative_stock, via_landed_cost_voucher)
- File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/stock_ledger.py", line 38, in make_sl_entries
- update_bin(args, allow_negative_stock, via_landed_cost_voucher)
- File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/utils.py", line 96, in update_bin
- bin.update_stock(args, allow_negative_stock, via_landed_cost_voucher)
- File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/doctype/bin/bin.py", line 34, in update_stock
- self.update_qty(args)
- File "/home/haci/frappe-bench/apps/erpnext/erpnext/stock/doctype/bin/bin.py", line 76, in update_qty
- self.save()
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 242, in save
- return self._save(*args, **kwargs)
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/document.py", line 283, in _save
- self.db_update()
- File "/home/haci/frappe-bench/apps/frappe/frappe/model/base_document.py", line 326, in db_update
- ), d.values() + [name])
- File "/home/haci/frappe-bench/apps/frappe/frappe/database.py", line 109, in sql
- self.check_transaction_status(query)
- File "/home/haci/frappe-bench/apps/frappe/frappe/database.py", line 230, in check_transaction_status
- frappe.throw(_("Too many writes in one request. Please send smaller requests"), frappe.ValidationError)
- File "/home/haci/frappe-bench/apps/frappe/frappe/__init__.py", line 299, in throw
- msgprint(msg, raise_exception=exc, title=title, indicator='red')
- File "/home/haci/frappe-bench/apps/frappe/frappe/__init__.py", line 292, in msgprint
- _raise_exception()
- File "/home/haci/frappe-bench/apps/frappe/frappe/__init__.py", line 265, in _raise_exception
- raise raise_exception, encode(msg)
- ValidationError: Too many writes in one request. Please send smaller requests
Add Comment
Please, Sign In to add comment