PennyDreadfulMTG / perf-reports

2 stars 2 forks source link

Error running task ['scraper', 'all'] #53605

Open vorpal-buildbot opened 4 years ago

vorpal-buildbot commented 4 years ago

Reported on CLI by CLI

DatabaseException Failed to execute `UPDATE deck SET decklist_hash = %s WHERE id = %s` with `['f032c843bb6096bfcd3e71bbb44311f547944f60', 85819]` because of `(1205, 'Lock wait timeout exceeded; try restarting transaction')` Stack Trace: ``` Python traceback File "run.py", line 173, in cli() File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 829, in __call__ return self.main(*args, **kwargs) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "run.py", line 107, in task run_all_tasks(module) File "run.py", line 170, in run_all_tasks raise error File "run.py", line 153, in run_all_tasks s.scrape() # type: ignore File "/home/discord/decksite/decksite/scrapers/mtggoldfish.py", line 43, in scrape deck.add_deck(d) File "/home/discord/decksite/decksite/data/deck.py", line 331, in add_deck db().execute('UPDATE deck SET decklist_hash = %s WHERE id = %s', [get_deckhash(cards), deck_id]) File "/home/discord/decksite/shared/database.py", line 48, in execute [n, _] = self.execute_anything(sql, args, False) File "/home/discord/decksite/shared/database.py", line 63, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 998359563264546d6c8fae3fa3400fd76ded74df

vorpal-buildbot commented 4 years ago

Error running task ['scraper', 'all']

Reported on CLI by CLI

DatabaseException Failed to execute `UPDATE deck SET decklist_hash = %s WHERE id = %s` with `['ea742f023ef6572c28a32db22c97fdff69433ebd', 86972]` because of `(1205, 'Lock wait timeout exceeded; try restarting transaction')` Stack Trace: ``` Python traceback File "run.py", line 173, in cli() File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 829, in __call__ return self.main(*args, **kwargs) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "run.py", line 107, in task run_all_tasks(module) File "run.py", line 170, in run_all_tasks raise error File "run.py", line 153, in run_all_tasks s.scrape() # type: ignore File "/home/discord/decksite/decksite/scrapers/mtggoldfish.py", line 43, in scrape deck.add_deck(d) File "/home/discord/decksite/decksite/data/deck.py", line 331, in add_deck db().execute('UPDATE deck SET decklist_hash = %s WHERE id = %s', [get_deckhash(cards), deck_id]) File "/home/discord/decksite/shared/database.py", line 48, in execute [n, _] = self.execute_anything(sql, args, False) File "/home/discord/decksite/shared/database.py", line 63, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 998359563264546d6c8fae3fa3400fd76ded74df

Labels: CLI; DatabaseException

vorpal-buildbot commented 4 years ago

Error running task ['scraper', 'all']

Reported on CLI by CLI

DatabaseException Failed to execute `UPDATE deck SET decklist_hash = %s WHERE id = %s` with `['edf73181e947bd840a70fc19cf75e4710463b59e', 87964]` because of `(1205, 'Lock wait timeout exceeded; try restarting transaction')` Stack Trace: ``` Python traceback File "run.py", line 173, in cli() File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 829, in __call__ return self.main(*args, **kwargs) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "run.py", line 107, in task run_all_tasks(module) File "run.py", line 170, in run_all_tasks raise error File "run.py", line 153, in run_all_tasks s.scrape() # type: ignore File "/home/discord/decksite/decksite/scrapers/mtggoldfish.py", line 43, in scrape deck.add_deck(d) File "/home/discord/decksite/decksite/data/deck.py", line 331, in add_deck db().execute('UPDATE deck SET decklist_hash = %s WHERE id = %s', [get_deckhash(cards), deck_id]) File "/home/discord/decksite/shared/database.py", line 48, in execute [n, _] = self.execute_anything(sql, args, False) File "/home/discord/decksite/shared/database.py", line 63, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 998359563264546d6c8fae3fa3400fd76ded74df

Labels: CLI; DatabaseException

vorpal-buildbot commented 4 years ago

Error running task ['scraper', 'all']

Reported on CLI by CLI

DatabaseException Failed to execute `UPDATE deck SET decklist_hash = %s WHERE id = %s` with `['9a5bd0abeb6aed309b2de8e0ec3991e805ff292b', 88334]` because of `(1205, 'Lock wait timeout exceeded; try restarting transaction')` Stack Trace: ``` Python traceback File "run.py", line 173, in cli() File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 829, in __call__ return self.main(*args, **kwargs) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/discord/.local/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "run.py", line 107, in task run_all_tasks(module) File "run.py", line 170, in run_all_tasks raise error File "run.py", line 153, in run_all_tasks s.scrape() # type: ignore File "/home/discord/decksite/decksite/scrapers/mtggoldfish.py", line 43, in scrape deck.add_deck(d) File "/home/discord/decksite/decksite/data/deck.py", line 331, in add_deck db().execute('UPDATE deck SET decklist_hash = %s WHERE id = %s', [get_deckhash(cards), deck_id]) File "/home/discord/decksite/shared/database.py", line 48, in execute [n, _] = self.execute_anything(sql, args, False) File "/home/discord/decksite/shared/database.py", line 63, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 998359563264546d6c8fae3fa3400fd76ded74df

Labels: CLI; DatabaseException