Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [2020-03-19 19:52:31 +0200] [2918] [CRITICAL] WORKER TIMEOUT (pid:3394)
- /home/bench/erpnext/env/lib/python3.5/site-packages/frontmatter/__init__.py:37: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
- "attributes": yaml.load(fmatter),
- /home/bench/erpnext/env/lib/python3.5/site-packages/frontmatter/__init__.py:37: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
- "attributes": yaml.load(fmatter),
- /home/bench/erpnext/env/lib/python3.5/site-packages/frontmatter/__init__.py:37: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
- "attributes": yaml.load(fmatter),
- [2020-03-19 19:52:31 +0200] [3394] [ERROR] Error handling request /api/method/frappe.desk.form.save.savedocs
- Traceback (most recent call last):
- File "/home/bench/erpnext/apps/frappe/frappe/app.py", line 62, in application
- response = frappe.api.handle()
- File "/home/bench/erpnext/apps/frappe/frappe/api.py", line 55, in handle
- return frappe.handler.handle()
- File "/home/bench/erpnext/apps/frappe/frappe/handler.py", line 24, in handle
- data = execute_cmd(cmd)
- File "/home/bench/erpnext/apps/frappe/frappe/handler.py", line 63, in execute_cmd
- return frappe.call(method, **frappe.form_dict)
- File "/home/bench/erpnext/apps/frappe/frappe/__init__.py", line 1071, in call
- return fn(*args, **newargs)
- File "/home/bench/erpnext/apps/frappe/frappe/desk/form/save.py", line 19, in savedocs
- doc.submit()
- File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 873, in submit
- self._submit()
- File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 862, in _submit
- self.save()
- File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 277, in save
- return self._save(*args, **kwargs)
- File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 330, in _save
- self.run_post_save_methods()
- File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 939, in run_post_save_methods
- self.run_method("on_submit")
- File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 803, in run_method
- out = Document.hook(fn)(self, *args, **kwargs)
- File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 1089, in composer
- return composed(self, method, *args, **kwargs)
- File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 1072, in runner
- add_to_return_value(self, fn(self, *args, **kwargs))
- File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 797, in <lambda>
- fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
- File "/home/bench/erpnext/apps/erpnext/erpnext/manufacturing/doctype/work_order/work_order.py", line 249, in on_submit
- self.create_job_card()
- File "/home/bench/erpnext/apps/erpnext/erpnext/manufacturing/doctype/work_order/work_order.py", line 277, in create_job_card
- enable_capacity_planning=enable_capacity_planning, auto_create=True)
- File "/home/bench/erpnext/apps/erpnext/erpnext/manufacturing/doctype/work_order/work_order.py", line 801, in create_job_card
- doc.schedule_time_logs(row)
- File "/home/bench/erpnext/apps/erpnext/erpnext/manufacturing/doctype/job_card/job_card.py", line 92, in schedule_time_logs
- self.validate_overlap_for_workstation(args, row)
- File "/home/bench/erpnext/apps/erpnext/erpnext/manufacturing/doctype/job_card/job_card.py", line 97, in validate_overlap_for_workstation
- data = self.get_overlap_for(args, check_next_available_slot=True)
- File "/home/bench/erpnext/apps/erpnext/erpnext/manufacturing/doctype/job_card/job_card.py", line 77, in get_overlap_for
- }, as_dict=True)
- File "/home/bench/erpnext/apps/frappe/frappe/database/database.py", line 156, in sql
- self._cursor.execute(query, values)
- File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/cursors.py", line 170, in execute
- result = self._query(query)
- File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/cursors.py", line 328, in _query
- conn.query(q)
- File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/connections.py", line 517, in query
- self._affected_rows = self._read_query_result(unbuffered=unbuffered)
- File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/connections.py", line 732, in _read_query_result
- result.read()
- File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/connections.py", line 1075, in read
- first_packet = self.connection._read_packet()
- File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/connections.py", line 657, in _read_packet
- packet_header = self._read_bytes(4)
- File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/connections.py", line 691, in _read_bytes
- data = self._rfile.read(num_bytes)
- File "/usr/lib/python3.5/socket.py", line 576, in readinto
- return self._sock.recv_into(b)
- File "/home/bench/erpnext/env/lib/python3.5/site-packages/gunicorn/workers/base.py", line 202, in handle_abort
- sys.exit(1)
- SystemExit: 1
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/bench/erpnext/env/lib/python3.5/site-packages/gunicorn/workers/sync.py", line 135, in handle
- self.handle_request(listener, req, client, addr)
- File "/home/bench/erpnext/env/lib/python3.5/site-packages/gunicorn/workers/sync.py", line 176, in handle_request
- respiter = self.wsgi(environ, resp.start_response)
- File "/home/bench/erpnext/env/lib/python3.5/site-packages/werkzeug/local.py", line 231, in application
- return ClosingIterator(app(environ, start_response), self.cleanup)
- File "/home/bench/erpnext/env/lib/python3.5/site-packages/werkzeug/wrappers/base_request.py", line 237, in application
- resp = f(*args[:-2] + (request,))
- File "/home/bench/erpnext/apps/frappe/frappe/app.py", line 90, in application
- frappe.db.rollback()
- File "/home/bench/erpnext/apps/frappe/frappe/database/database.py", line 753, in rollback
- self.sql("rollback")
- File "/home/bench/erpnext/apps/frappe/frappe/database/database.py", line 171, in sql
- self._cursor.execute(query)
- File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/cursors.py", line 170, in execute
- result = self._query(query)
- File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/cursors.py", line 328, in _query
- conn.query(q)
- File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/connections.py", line 516, in query
- self._execute_command(COMMAND.COM_QUERY, sql)
- File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/connections.py", line 750, in _execute_command
- raise err.InterfaceError("(0, '')")
- pymysql.err.InterfaceError: (0, '')
- [2020-03-19 19:52:31 +0200] [3394] [INFO] Worker exiting (pid: 3394)
- [2020-03-19 19:52:32 +0200] [3534] [INFO] Booting worker with pid: 3534
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement