Advertisement
Guest User

Untitled

a guest
Mar 19th, 2020
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.12 KB | None | 0 0
  1. [2020-03-19 19:52:31 +0200] [2918] [CRITICAL] WORKER TIMEOUT (pid:3394)
  2. /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.
  3.   "attributes": yaml.load(fmatter),
  4. /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.
  5.   "attributes": yaml.load(fmatter),
  6. /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.
  7.   "attributes": yaml.load(fmatter),
  8. [2020-03-19 19:52:31 +0200] [3394] [ERROR] Error handling request /api/method/frappe.desk.form.save.savedocs
  9. Traceback (most recent call last):
  10.   File "/home/bench/erpnext/apps/frappe/frappe/app.py", line 62, in application
  11.     response = frappe.api.handle()
  12.   File "/home/bench/erpnext/apps/frappe/frappe/api.py", line 55, in handle
  13.     return frappe.handler.handle()
  14.   File "/home/bench/erpnext/apps/frappe/frappe/handler.py", line 24, in handle
  15.     data = execute_cmd(cmd)
  16.   File "/home/bench/erpnext/apps/frappe/frappe/handler.py", line 63, in execute_cmd
  17.     return frappe.call(method, **frappe.form_dict)
  18.   File "/home/bench/erpnext/apps/frappe/frappe/__init__.py", line 1071, in call
  19.     return fn(*args, **newargs)
  20.   File "/home/bench/erpnext/apps/frappe/frappe/desk/form/save.py", line 19, in savedocs
  21.     doc.submit()
  22.   File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 873, in submit
  23.     self._submit()
  24.   File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 862, in _submit
  25.     self.save()
  26.   File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 277, in save
  27.     return self._save(*args, **kwargs)
  28.   File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 330, in _save
  29.     self.run_post_save_methods()
  30.   File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 939, in run_post_save_methods
  31.     self.run_method("on_submit")
  32.   File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 803, in run_method
  33.     out = Document.hook(fn)(self, *args, **kwargs)
  34.   File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 1089, in composer
  35.     return composed(self, method, *args, **kwargs)
  36.   File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 1072, in runner
  37.     add_to_return_value(self, fn(self, *args, **kwargs))
  38.   File "/home/bench/erpnext/apps/frappe/frappe/model/document.py", line 797, in <lambda>
  39.     fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  40.   File "/home/bench/erpnext/apps/erpnext/erpnext/manufacturing/doctype/work_order/work_order.py", line 249, in on_submit
  41.     self.create_job_card()
  42.   File "/home/bench/erpnext/apps/erpnext/erpnext/manufacturing/doctype/work_order/work_order.py", line 277, in create_job_card
  43.     enable_capacity_planning=enable_capacity_planning, auto_create=True)
  44.   File "/home/bench/erpnext/apps/erpnext/erpnext/manufacturing/doctype/work_order/work_order.py", line 801, in create_job_card
  45.     doc.schedule_time_logs(row)
  46.   File "/home/bench/erpnext/apps/erpnext/erpnext/manufacturing/doctype/job_card/job_card.py", line 92, in schedule_time_logs
  47.     self.validate_overlap_for_workstation(args, row)
  48.   File "/home/bench/erpnext/apps/erpnext/erpnext/manufacturing/doctype/job_card/job_card.py", line 97, in validate_overlap_for_workstation
  49.     data = self.get_overlap_for(args, check_next_available_slot=True)
  50.   File "/home/bench/erpnext/apps/erpnext/erpnext/manufacturing/doctype/job_card/job_card.py", line 77, in get_overlap_for
  51.     }, as_dict=True)
  52.   File "/home/bench/erpnext/apps/frappe/frappe/database/database.py", line 156, in sql
  53.     self._cursor.execute(query, values)
  54.   File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/cursors.py", line 170, in execute
  55.     result = self._query(query)
  56.   File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/cursors.py", line 328, in _query
  57.     conn.query(q)
  58.   File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/connections.py", line 517, in query
  59.     self._affected_rows = self._read_query_result(unbuffered=unbuffered)
  60.   File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/connections.py", line 732, in _read_query_result
  61.     result.read()
  62.   File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/connections.py", line 1075, in read
  63.     first_packet = self.connection._read_packet()
  64.   File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/connections.py", line 657, in _read_packet
  65.     packet_header = self._read_bytes(4)
  66.   File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/connections.py", line 691, in _read_bytes
  67.     data = self._rfile.read(num_bytes)
  68.   File "/usr/lib/python3.5/socket.py", line 576, in readinto
  69.     return self._sock.recv_into(b)
  70.   File "/home/bench/erpnext/env/lib/python3.5/site-packages/gunicorn/workers/base.py", line 202, in handle_abort
  71.     sys.exit(1)
  72. SystemExit: 1
  73.  
  74. During handling of the above exception, another exception occurred:
  75.  
  76. Traceback (most recent call last):
  77.   File "/home/bench/erpnext/env/lib/python3.5/site-packages/gunicorn/workers/sync.py", line 135, in handle
  78.     self.handle_request(listener, req, client, addr)
  79.   File "/home/bench/erpnext/env/lib/python3.5/site-packages/gunicorn/workers/sync.py", line 176, in handle_request
  80.     respiter = self.wsgi(environ, resp.start_response)
  81.   File "/home/bench/erpnext/env/lib/python3.5/site-packages/werkzeug/local.py", line 231, in application
  82.     return ClosingIterator(app(environ, start_response), self.cleanup)
  83.   File "/home/bench/erpnext/env/lib/python3.5/site-packages/werkzeug/wrappers/base_request.py", line 237, in application
  84.     resp = f(*args[:-2] + (request,))
  85.   File "/home/bench/erpnext/apps/frappe/frappe/app.py", line 90, in application
  86.     frappe.db.rollback()
  87.   File "/home/bench/erpnext/apps/frappe/frappe/database/database.py", line 753, in rollback
  88.     self.sql("rollback")
  89.   File "/home/bench/erpnext/apps/frappe/frappe/database/database.py", line 171, in sql
  90.     self._cursor.execute(query)
  91.   File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/cursors.py", line 170, in execute
  92.     result = self._query(query)
  93.   File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/cursors.py", line 328, in _query
  94.     conn.query(q)
  95.   File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/connections.py", line 516, in query
  96.     self._execute_command(COMMAND.COM_QUERY, sql)
  97.   File "/home/bench/erpnext/env/lib/python3.5/site-packages/pymysql/connections.py", line 750, in _execute_command
  98.     raise err.InterfaceError("(0, '')")
  99. pymysql.err.InterfaceError: (0, '')
  100. [2020-03-19 19:52:31 +0200] [3394] [INFO] Worker exiting (pid: 3394)
  101. [2020-03-19 19:52:32 +0200] [3534] [INFO] Booting worker with pid: 3534
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement