Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird issue with peewee #61

Open
vwxyzjn opened this issue Feb 20, 2022 · 0 comments
Open

Weird issue with peewee #61

vwxyzjn opened this issue Feb 20, 2022 · 0 comments

Comments

@vwxyzjn
Copy link
Collaborator

vwxyzjn commented Feb 20, 2022

I seem to have encountered a weird issue with peewee when running https://github.com/vwxyzjn/gym-microrts/blob/oai5/experiments/ppo_gridnet_oai5.py:

ne 3160, in execute_sql
    cursor.execute(sql, params or ())
peewee.OperationalError: database is locked
exception calling callback for <Future at 0x7f0ad459cf50 state=finished raised AssertionError>
Traceback (most recent call last):
  File "/environment/miniconda3/lib/python3.7/concurrent/futures/_base.py", line 324, in _invoke_callbacks
    callback(self)
  File "ppo_gridnet_oai5.py", line 275, in on_evaluation_done
    model_path, output_path = future.result()
  File "/environment/miniconda3/lib/python3.7/concurrent/futures/_base.py", line 428, in result
    return self.__get_result()
  File "/environment/miniconda3/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/environment/miniconda3/lib/python3.7/concurrent/futures/thread.py", line 57, in run  
    result = self.fn(*self.args, **self.kwargs)
  File "ppo_gridnet_oai5.py", line 257, in run_evaluation
    assert return_code == 0
AssertionError
SPS: 980

ran in a computer that didn't quite get the full trace...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant