RamanujanMachine / LIReC

Library of Integer RElations and Constants
2 stars 2 forks source link

Sometimes i get error when running run_jobs.py #16

Open kotenok2000 opened 1 month ago

kotenok2000 commented 1 month ago
 python3 run_jobs.py start
Process ForkPoolWorker-2:
Traceback (most recent call last):
  File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.10/multiprocessing/pool.py", line 114, in worker
    task = get()
  File "/usr/lib/python3.10/multiprocessing/queues.py", line 367, in get
    return _ForkingPickler.loads(res)
  File "/usr/lib/python3.10/multiprocessing/managers.py", line 942, in RebuildProxy
    return func(token, serializer, incref=incref, **kwds)
  File "/usr/lib/python3.10/multiprocessing/managers.py", line 990, in AutoProxy
    proxy = ProxyType(token, serializer, manager=manager, authkey=authkey,
  File "/usr/lib/python3.10/multiprocessing/managers.py", line 792, in __init__
    self._incref()
  File "/usr/lib/python3.10/multiprocessing/managers.py", line 847, in _incref
    dispatch(conn, None, 'incref', (self._id,))
  File "/usr/lib/python3.10/multiprocessing/managers.py", line 93, in dispatch
    raise convert_to_error(kind, result)
multiprocessing.managers.RemoteError:
---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.10/multiprocessing/managers.py", line 209, in _handle_request
    result = func(c, *args, **kwds)
  File "/usr/lib/python3.10/multiprocessing/managers.py", line 439, in incref
    raise ke
  File "/usr/lib/python3.10/multiprocessing/managers.py", line 426, in incref
    self.id_to_refcount[ident] += 1
KeyError: '7fdcea9c0190'
---------------------------------------------------------------------------
kotenok2000 commented 1 month ago

Also this when trying to report results.

2024-05-06 05:15:02,904 - job_logger - job_poly_pslq_v1.py - INFO - Found relation(s) on constants [UUID('fe0bdef0-f748-11ee-ab3b-06d3d91a3a1d'), UUID('25de2aa0-f749-11ee-acc5-06d3d91a3a1d'), UUID('b86e55dc-3217-11ed-8357-062e44504f8c')]!
2024-05-06 05:15:04,426 - job_logger - job_poly_pslq_v1.py - WARNING - Failed to commit once, trying again.
2024-05-06 05:15:05,295 - job_logger - job_poly_pslq_v1.py - ERROR - Could not commit relation(s): Traceback (most recent call last):
  File "/home/user/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1971, in _exec_single_context
    self.dialect.do_execute(
  File "/home/user/.local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 919, in do_execute
    cursor.execute(statement, parameters)
psycopg2.errors.InsufficientPrivilege: permission denied for table relation