PennyDreadfulMTG / perf-reports

2 stars 2 forks source link

500 error at /signup/ #42814

Closed vorpal-buildbot closed 5 years ago

vorpal-buildbot commented 5 years ago

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [43636, 'Channel the Suns', 1, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by mtgdavis


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'__cfduid': 'd9d1887332dbaa73ec29cfaa30ea6c5a11553469324', '_ga': 'GA1.2.2121679503.1553469329', '_gid': 'GA1.2.450365089.1553469329', 'deck_id': '43602', 'session': '.eJx9UWFPwjAQ_S_3eTFbR2HyTXCJwRhBIQLGLHW9jcLaYtsNF8J_tyNBPpj4pcm7d33v7t0Rsj0ayRQqB0NnagyAcSkUDAtWWY84SiE1v2Jhc214JnwJ4ts4JDSKekkY9ikhSQIB_MOorKxFxS9OlS5L5N0EVquzYhxHcQDSlTqrLRrFJHoxjzlrhPUSmtVuQzLrmOuYLUkU_VrhxLULmb7ePQ4qJ0gjFb4hSa_9Tu_Q73QEludo7QVDNFs-HdJGT9JU9vrbVTzFdcPV6uUwX8yW_j9-74VBmzEfT0RpL-qe5IZQGpPB4Mp3ifXDbtsADBa-tPk1ef4cT9oil3R3rx4W5XqcoxnN66kqZ4e89SY-0b3f5t1H5-8giq52DsrCRwBnmcy1XQuMkBk0cArgT2qOmRL9mKquqtMP7luZSA.D4D_pA.WLsDhG649t8MmriinKf78UaszMQ'} Endpoint: add_signup View Args: {} Person: 393025114800652288 Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'mtgdavis', 'name': 'Sunny Storm', 'decklist': "1 Channel the Suns\r\n3 Deep Analysis\r\n2 Evolving Wilds\r\n4 Frantic Search\r\n4 Goblin Electromancer\r\n4 Hazoret's Undying Fury\r\n3 Inaction Injunction\r\n6 Island\r\n4 Mountain\r\n3 Peer Through Depths\r\n4 Pirate's Pillage\r\n4 Primal Amulet\r\n4 Seething Song\r\n3 Shimmer of Possibility\r\n4 Sunken Hollow\r\n3 Tendrils of Agony\r\n4 Vivid Crag\r\n\r\nSideboard:\r\n3 Aether Spellbomb\r\n1 Deep Analysis\r\n1 Dual Shot\r\n4 Electrostatic Field\r\n1 Inaction Injunction\r\n2 Murmuring Mystic\r\n2 Pyrite Spellbomb\r\n1 Witchbane Orb"} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: GB X-Forwarded-For: 138.251.218.43, 162.158.158.151 Cf-Ray: 4bfa699acc6cce49-LHR X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Origin: https://pennydreadfulmagic.com Upgrade-Insecure-Requests: 1 Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3 Referer: https://pennydreadfulmagic.com/signup/ Accept-Language: en-US,en;q=0.9 Cookie: __cfduid=d9d1887332dbaa73ec29cfaa30ea6c5a11553469324; _ga=GA1.2.2121679503.1553469329; _gid=GA1.2.450365089.1553469329; deck_id=43602; session=.eJx9UWFPwjAQ_S_3eTFbR2HyTXCJwRhBIQLGLHW9jcLaYtsNF8J_tyNBPpj4pcm7d33v7t0Rsj0ayRQqB0NnagyAcSkUDAtWWY84SiE1v2Jhc214JnwJ4ts4JDSKekkY9ikhSQIB_MOorKxFxS9OlS5L5N0EVquzYhxHcQDSlTqrLRrFJHoxjzlrhPUSmtVuQzLrmOuYLUkU_VrhxLULmb7ePQ4qJ0gjFb4hSa_9Tu_Q73QEludo7QVDNFs-HdJGT9JU9vrbVTzFdcPV6uUwX8yW_j9-74VBmzEfT0RpL-qe5IZQGpPB4Mp3ifXDbtsADBa-tPk1ef4cT9oil3R3rx4W5XqcoxnN66kqZ4e89SY-0b3f5t1H5-8giq52DsrCRwBnmcy1XQuMkBk0cArgT2qOmRL9mKquqtMP7luZSA.D4D_pA.WLsDhG649t8MmriinKf78UaszMQ Cf-Connecting-Ip: 138.251.218.43 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 647 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[43636, 'Channel the Suns', 1, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ``` Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [44765, 'Kjeldoran Outpost', 3, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by jenkin5630


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'__cfduid': 'd718bb477bd1b89e959853a3fc5fbacb01540528458', 'session': '.eJx9UctugkAU_Ze7Js3wBneCXahRa0piY9OQKVxwEAY6M7Ra4793ILEmXXR5Hvd17gXSDkVDOXIFEyV6NIDmDeMwKWgtNcqxYU2b3zGTWSvylGkKrNAhrhWYjm9Zoevbpg0G_KPwtOxZnd8m1W1Ga9TuisKAyhLzYR_Z8rF_4IQGNKps016i4LQZvciPjLueTXRNS3t1sFKpqBo0v9o8x580-i5mPcZfO9x3XvDYPSVJ5UbR3a_aI-oTL0CzDKW8YQimU29l0WxWxbnp7jfnaL1cN9vTKtnv-ErX46ljAmVKdVqm65qe6Vi2_2ASOyDBXR7y84gTEGKAwEJTh98Z79X2NHfi5fwlWzR-Mpt-kEVIXvpkcVp2pp6h8-30Ma86SP0VVpw1N8Ym4c2AsU2qzoMFIqQCBVwN-JuaoqJEvSTv6_r6A1PBmok.D49k9g.cV1IkRc8Fdh4pLTvCMcsoFOWNp0'} Endpoint: add_signup View Args: {} Person: 294052814722957313 Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'jenkin5630', 'name': 'RW Con', 'decklist': "3 Kjeldoran Outpost\r\n4 Desolation Giant\r\n4 Condemn\r\n1 Justice Strike\r\n2 Collective Effort\r\n1 Pulse of the Fields\r\n2 Decree of Justice\r\n3 Conqueror's Galleon\r\n4 Boros Guildgate\r\n4 Ancient Amphitheater\r\n2 Evolving Wilds\r\n2 Eternal Dragon\r\n13 Plains\r\n1 Mountain\r\n2 Plumeveil\r\n1 Slagstorm\r\n2 Planar Cleansing\r\n3 Chain Lightning\r\n1 Warleader's Helix\r\n1 Mizzium Mortars\r\n4 Goblin Assault\r\n\r\n3 Seal of Cleansing\r\n1 Imperial Mask\r\n2 Scrabbling Claws\r\n2 Jester's Cap\r\n1 Witchbane Orb\r\n2 Spellshock\r\n1 Sanctimony\r\n1 Pulse of the Fields\r\n2 Slagstorm\r\n"} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: JP X-Forwarded-For: 153.193.102.178, 162.158.6.12 Cf-Ray: 4c54617368e5ae8d-KIX X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Origin: https://pennydreadfulmagic.com Upgrade-Insecure-Requests: 1 Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3 Referer: https://pennydreadfulmagic.com/signup/ Accept-Language: ja,en-US;q=0.9,en;q=0.8 Cookie: __cfduid=d718bb477bd1b89e959853a3fc5fbacb01540528458; session=.eJx9UctugkAU_Ze7Js3wBneCXahRa0piY9OQKVxwEAY6M7Ra4793ILEmXXR5Hvd17gXSDkVDOXIFEyV6NIDmDeMwKWgtNcqxYU2b3zGTWSvylGkKrNAhrhWYjm9Zoevbpg0G_KPwtOxZnd8m1W1Ga9TuisKAyhLzYR_Z8rF_4IQGNKps016i4LQZvciPjLueTXRNS3t1sFKpqBo0v9o8x580-i5mPcZfO9x3XvDYPSVJ5UbR3a_aI-oTL0CzDKW8YQimU29l0WxWxbnp7jfnaL1cN9vTKtnv-ErX46ljAmVKdVqm65qe6Vi2_2ASOyDBXR7y84gTEGKAwEJTh98Z79X2NHfi5fwlWzR-Mpt-kEVIXvpkcVp2pp6h8-30Ma86SP0VVpw1N8Ym4c2AsU2qzoMFIqQCBVwN-JuaoqJEvSTv6_r6A1PBmok.D49k9g.cV1IkRc8Fdh4pLTvCMcsoFOWNp0 Cf-Connecting-Ip: 153.193.102.178 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 716 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[44765, 'Kjeldoran Outpost', 3, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ``` Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [44877, 'Emmara, Soul of the Accord', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by logged_out


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'__cfduid': 'def97640426f1fde218bd87e2c40d54461554911306', '_ga': 'GA1.2.284009308.1554911309', '_gid': 'GA1.2.334145870.1554911309'} Endpoint: add_signup View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'Feverish13', 'name': 'PD-UWG Tokens', 'decklist': '\r\n\r\n 0\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n'} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 74.96.114.159, 172.69.62.252 Cf-Ray: 4c57787e0888ceea-IAD X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Origin: https://pennydreadfulmagic.com Upgrade-Insecure-Requests: 1 Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3 Referer: https://pennydreadfulmagic.com/signup/ Accept-Language: en-US,en;q=0.9 Cookie: __cfduid=def97640426f1fde218bd87e2c40d54461554911306; _ga=GA1.2.284009308.1554911309; _gid=GA1.2.334145870.1554911309 Cf-Connecting-Ip: 74.96.114.159 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 3699 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[44877, 'Emmara, Soul of the Accord', 4, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ``` Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [45651, "Avacyn's Pilgrim", 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by swiftwarkite2


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'__cfduid': 'd757f25c43ac6ef7fbe0c04a5ff00f23c1555165258', '_ga': 'GA1.2.246484863.1555165263', '_gid': 'GA1.2.18318387.1555165263', 'session': '.eJx9UctuwjAQ_BefoypxnnBreqkiCi1SqaCqIjfZJA6xHdkOFBD_3g0ScKjUm2fHntkZn0jegxZMgrRkavUADmGl4JJMK9YZRCUILlR5x9wUSpc5xxHxIxp7Ey8IfS8MfZp4lDjkH0bm9cC78urUqbqGctzAKHlRpH4ycYiwtcoHA1oyAShm9ryye6a33MKoo9hgG5oby-xIz6H22qhdhas1FVm1XjTHtpSLyWTTzXR1v2_VFjDYibCiAGOumHAq-sPOLMX7_HnVvFaLZZbJmZTH49vLMPrBT881mJxhRxgnjGOXJslDEHghprzzY22RGySu6xANFY6am0mbsk381M3d9NFu0p2ALPrw1nG6L5T8nqEJ1tpjmk_sDz-DVwecXdoyt8NDq9DiyyEX0dwexgckBaZBk7ND_hRpma4Bl5ZD151_ATUZn-E.D5OCwQ.1kTkbK7sRfW0C8dste4YJfpejp4'} Endpoint: add_signup View Args: {} Person: 362719145315532812 Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'swiftwarkite2', 'name': 'saffron', 'decklist': "4 Avacyn's Pilgrim\r\n4 Tin Street Hooligan\r\n4 Myr Landshaper\r\n4 Thornscape Battlemage\r\n4 Viridian Shaman\r\n4 Vithian Renegades\r\n4 Sunder Shaman\r\n4 Liquimetal Coating\r\n2 Rampant Growth\r\n4 Harmonize\r\n7 Forest\r\n4 Game Trail\r\n4 Jungle Shrine\r\n6 Mountain\r\n1 Plains\r\n\r\n4 Jaddi Offshoot\r\n2 Gaea's Revenge\r\n1 Sentinel Totem\r\n3 Radiant Flames\r\n2 Boiling Seas\r\n1 Flashfires\r\n2 Splinter"} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 2601:1c0:6101:5afc:4539:7404:9d81:dd5c, 172.68.174.78 Cf-Ray: 4c6e1cf83af28cd5-PDX X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Origin: https://pennydreadfulmagic.com Upgrade-Insecure-Requests: 1 Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3 Referer: https://pennydreadfulmagic.com/signup/ Accept-Language: en-US,en;q=0.9 Cookie: __cfduid=d757f25c43ac6ef7fbe0c04a5ff00f23c1555165258; _ga=GA1.2.246484863.1555165263; _gid=GA1.2.18318387.1555165263; session=.eJx9UctuwjAQ_BefoypxnnBreqkiCi1SqaCqIjfZJA6xHdkOFBD_3g0ScKjUm2fHntkZn0jegxZMgrRkavUADmGl4JJMK9YZRCUILlR5x9wUSpc5xxHxIxp7Ey8IfS8MfZp4lDjkH0bm9cC78urUqbqGctzAKHlRpH4ycYiwtcoHA1oyAShm9ryye6a33MKoo9hgG5oby-xIz6H22qhdhas1FVm1XjTHtpSLyWTTzXR1v2_VFjDYibCiAGOumHAq-sPOLMX7_HnVvFaLZZbJmZTH49vLMPrBT881mJxhRxgnjGOXJslDEHghprzzY22RGySu6xANFY6am0mbsk381M3d9NFu0p2ALPrw1nG6L5T8nqEJ1tpjmk_sDz-DVwecXdoyt8NDq9DiyyEX0dwexgckBaZBk7ND_hRpma4Bl5ZD151_ATUZn-E.D5OCwQ.1kTkbK7sRfW0C8dste4YJfpejp4 Cf-Connecting-Ip: 2601:1c0:6101:5afc:4539:7404:9d81:dd5c Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 515 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[45651, "Avacyn's Pilgrim", 4, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ``` Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [45647, "Avacyn's Pilgrim", 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by swiftwarkite2


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'__cfduid': 'd757f25c43ac6ef7fbe0c04a5ff00f23c1555165258', '_ga': 'GA1.2.246484863.1555165263', '_gid': 'GA1.2.18318387.1555165263', '_gat_gtag_UA_109131120_1': '1', 'session': '.eJx9UctuwjAQ_BefoypxnnBreqkiCi1SqaCqIjfZJA6xHdkOFBD_3g0ScKjUm2fHntkZn0jegxZMgrRkavUADmGl4JJMK9YZRCUILlR5x9wUSpc5xxHxIxp7Ey8IfS8MfZp4lDjkH0bm9cC78urUqbqGctzAKHlRpH4ycYiwtcoHA1oyAShm9ryye6a33MKoo9hgG5oby-xIz6H22qhdhas1FVm1XjTHtpSLyWTTzXR1v2_VFjDYibCiAGOumHAq-sPOLMX7_HnVvFaLZZbJmZTH49vLMPrBT881mJxhRxgnjGOXJslDEHghprzzY22RGySu6xANFY6am0mbsk381M3d9NFu0p2ALPrw1nG6L5T8nqEJ1tpjmk_sDz-DVwecXdoyt8NDq9DiyyEX0dwexgckBaZBk7ND_hRpma4Bl5ZD151_ATUZn-E.D5OCwQ.1kTkbK7sRfW0C8dste4YJfpejp4'} Endpoint: add_signup View Args: {} Person: 362719145315532812 Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'swiftwarkite2', 'name': 'saffron', 'decklist': "4 Avacyn's Pilgrim\r\n4 Tin Street Hooligan\r\n4 Myr Landshaper\r\n4 Thornscape Battlemage\r\n4 Viridian Shaman\r\n4 Vithian Renegades\r\n4 Sunder Shaman\r\n4 Liquimetal Coating\r\n2 Rampant Growth\r\n4 Harmonize\r\n7 Forest\r\n4 Game Trail\r\n4 Jungle Shrine\r\n6 Mountain\r\n1 Plains\r\n\r\n4 Jaddi Offshoot\r\n2 Gaea's Revenge\r\n1 Sentinel Totem\r\n3 Radiant Flames\r\n2 Boiling Seas\r\n1 Flashfires\r\n2 Splinter"} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 2601:1c0:6101:5afc:4539:7404:9d81:dd5c, 172.68.174.78 Cf-Ray: 4c6e1c1d49218cd5-PDX X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Origin: https://pennydreadfulmagic.com Upgrade-Insecure-Requests: 1 Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3 Referer: https://pennydreadfulmagic.com/signup/ Accept-Language: en-US,en;q=0.9 Cookie: __cfduid=d757f25c43ac6ef7fbe0c04a5ff00f23c1555165258; _ga=GA1.2.246484863.1555165263; _gid=GA1.2.18318387.1555165263; _gat_gtag_UA_109131120_1=1; session=.eJx9UctuwjAQ_BefoypxnnBreqkiCi1SqaCqIjfZJA6xHdkOFBD_3g0ScKjUm2fHntkZn0jegxZMgrRkavUADmGl4JJMK9YZRCUILlR5x9wUSpc5xxHxIxp7Ey8IfS8MfZp4lDjkH0bm9cC78urUqbqGctzAKHlRpH4ycYiwtcoHA1oyAShm9ryye6a33MKoo9hgG5oby-xIz6H22qhdhas1FVm1XjTHtpSLyWTTzXR1v2_VFjDYibCiAGOumHAq-sPOLMX7_HnVvFaLZZbJmZTH49vLMPrBT881mJxhRxgnjGOXJslDEHghprzzY22RGySu6xANFY6am0mbsk381M3d9NFu0p2ALPrw1nG6L5T8nqEJ1tpjmk_sDz-DVwecXdoyt8NDq9DiyyEX0dwexgckBaZBk7ND_hRpma4Bl5ZD151_ATUZn-E.D5OCwQ.1kTkbK7sRfW0C8dste4YJfpejp4 Cf-Connecting-Ip: 2601:1c0:6101:5afc:4539:7404:9d81:dd5c Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 515 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[45647, "Avacyn's Pilgrim", 4, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ``` Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [45649, "Avacyn's Pilgrim", 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by swiftwarkite2


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'__cfduid': 'd757f25c43ac6ef7fbe0c04a5ff00f23c1555165258', '_ga': 'GA1.2.246484863.1555165263', '_gid': 'GA1.2.18318387.1555165263', 'session': '.eJx9UctuwjAQ_BefoypxnnBreqkiCi1SqaCqIjfZJA6xHdkOFBD_3g0ScKjUm2fHntkZn0jegxZMgrRkavUADmGl4JJMK9YZRCUILlR5x9wUSpc5xxHxIxp7Ey8IfS8MfZp4lDjkH0bm9cC78urUqbqGctzAKHlRpH4ycYiwtcoHA1oyAShm9ryye6a33MKoo9hgG5oby-xIz6H22qhdhas1FVm1XjTHtpSLyWTTzXR1v2_VFjDYibCiAGOumHAq-sPOLMX7_HnVvFaLZZbJmZTH49vLMPrBT881mJxhRxgnjGOXJslDEHghprzzY22RGySu6xANFY6am0mbsk381M3d9NFu0p2ALPrw1nG6L5T8nqEJ1tpjmk_sDz-DVwecXdoyt8NDq9DiyyEX0dwexgckBaZBk7ND_hRpma4Bl5ZD151_ATUZn-E.D5OCwQ.1kTkbK7sRfW0C8dste4YJfpejp4'} Endpoint: add_signup View Args: {} Person: 362719145315532812 Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'swiftwarkite2', 'name': 'saffron', 'decklist': "4 Avacyn's Pilgrim\r\n4 Tin Street Hooligan\r\n4 Myr Landshaper\r\n4 Thornscape Battlemage\r\n4 Viridian Shaman\r\n4 Vithian Renegades\r\n4 Sunder Shaman\r\n4 Liquimetal Coating\r\n2 Rampant Growth\r\n4 Harmonize\r\n7 Forest\r\n4 Game Trail\r\n4 Jungle Shrine\r\n6 Mountain\r\n1 Plains\r\n\r\n4 Jaddi Offshoot\r\n2 Gaea's Revenge\r\n1 Sentinel Totem\r\n3 Radiant Flames\r\n2 Boiling Seas\r\n1 Flashfires\r\n2 Splinter"} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 2601:1c0:6101:5afc:4539:7404:9d81:dd5c, 172.68.174.78 Cf-Ray: 4c6e1ce8ee4c8cd5-PDX X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Origin: https://pennydreadfulmagic.com Upgrade-Insecure-Requests: 1 Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3 Referer: https://pennydreadfulmagic.com/signup/ Accept-Language: en-US,en;q=0.9 Cookie: __cfduid=d757f25c43ac6ef7fbe0c04a5ff00f23c1555165258; _ga=GA1.2.246484863.1555165263; _gid=GA1.2.18318387.1555165263; session=.eJx9UctuwjAQ_BefoypxnnBreqkiCi1SqaCqIjfZJA6xHdkOFBD_3g0ScKjUm2fHntkZn0jegxZMgrRkavUADmGl4JJMK9YZRCUILlR5x9wUSpc5xxHxIxp7Ey8IfS8MfZp4lDjkH0bm9cC78urUqbqGctzAKHlRpH4ycYiwtcoHA1oyAShm9ryye6a33MKoo9hgG5oby-xIz6H22qhdhas1FVm1XjTHtpSLyWTTzXR1v2_VFjDYibCiAGOumHAq-sPOLMX7_HnVvFaLZZbJmZTH49vLMPrBT881mJxhRxgnjGOXJslDEHghprzzY22RGySu6xANFY6am0mbsk381M3d9NFu0p2ALPrw1nG6L5T8nqEJ1tpjmk_sDz-DVwecXdoyt8NDq9DiyyEX0dwexgckBaZBk7ND_hRpma4Bl5ZD151_ATUZn-E.D5OCwQ.1kTkbK7sRfW0C8dste4YJfpejp4 Cf-Connecting-Ip: 2601:1c0:6101:5afc:4539:7404:9d81:dd5c Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 515 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[45649, "Avacyn's Pilgrim", 4, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ``` Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [46512, 'Blink of an Eye', 2, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by logged_out


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'__cfduid': 'de60f424c90b8cee5af1670d43aa5bd7c1555468294', '_ga': 'GA1.2.1310453887.1555468298', '_gid': 'GA1.2.759169809.1555468298', '_gat_gtag_UA_109131120_1': '1'} Endpoint: add_signup View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'erasedisknow', 'name': 'Penny Dreadful Temur Ascendancy', 'decklist': '2 Blink of an Eye\r\n3 Bristling Hydra\r\n4 Chain Lightning\r\n6 Forest\r\n4 Frontier Bivouac\r\n2 Ghor-Clan Rampager\r\n4 Island\r\n2 Krosan Tusker\r\n2 Lumbering Falls\r\n6 Mountain\r\n4 Savage Knuckleblade\r\n4 Servant of the Conduit\r\n4 Sylvan Ranger\r\n2 Temple of Abandon\r\n4 Temur Ascendancy\r\n3 Thrash/Threat\r\n1 Ulrich of the Krallenhorde\r\n3 Wolfir Silverheart\r\n\r\n3 Flametongue Kavu\r\n4 Negate\r\n3 Radiant Flames\r\n2 Sylvan Brushstrider\r\n3 Unravel the Aether\r\n'} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 50.4.55.173, 172.69.62.96 Cf-Ray: 4c8f13c8de6bcf6a-IAD X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Origin: https://pennydreadfulmagic.com Upgrade-Insecure-Requests: 1 Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3 Referer: https://pennydreadfulmagic.com/signup/ Accept-Language: en-US,en;q=0.9,ja-JP;q=0.8,ja;q=0.7 Cookie: __cfduid=de60f424c90b8cee5af1670d43aa5bd7c1555468294; _ga=GA1.2.1310453887.1555468298; _gid=GA1.2.759169809.1555468298; _gat_gtag_UA_109131120_1=1 Cf-Connecting-Ip: 50.4.55.173 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 609 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[46512, 'Blink of an Eye', 2, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ```Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [46511, 'Blink of an Eye', 2, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by logged_out


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'__cfduid': 'de60f424c90b8cee5af1670d43aa5bd7c1555468294', '_ga': 'GA1.2.1310453887.1555468298', '_gid': 'GA1.2.759169809.1555468298'} Endpoint: add_signup View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'erasedisknow', 'name': 'Penny Dreadful Temur Ascendancy', 'decklist': '2 Blink of an Eye\r\n3 Bristling Hydra\r\n4 Chain Lightning\r\n6 Forest\r\n4 Frontier Bivouac\r\n2 Ghor-Clan Rampager\r\n4 Island\r\n2 Krosan Tusker\r\n2 Lumbering Falls\r\n6 Mountain\r\n4 Savage Knuckleblade\r\n4 Servant of the Conduit\r\n4 Sylvan Ranger\r\n2 Temple of Abandon\r\n4 Temur Ascendancy\r\n3 Thrash/Threat\r\n1 Ulrich of the Krallenhorde\r\n3 Wolfir Silverheart\r\n\r\n3 Flametongue Kavu\r\n4 Negate\r\n3 Radiant Flames\r\n2 Sylvan Brushstrider\r\n3 Unravel the Aether\r\n'} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 50.4.55.173, 172.69.62.96 Cf-Ray: 4c8f1003785fcf6a-IAD X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Origin: https://pennydreadfulmagic.com Upgrade-Insecure-Requests: 1 Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3 Referer: https://pennydreadfulmagic.com/signup/ Accept-Language: en-US,en;q=0.9,ja-JP;q=0.8,ja;q=0.7 Cookie: __cfduid=de60f424c90b8cee5af1670d43aa5bd7c1555468294; _ga=GA1.2.1310453887.1555468298; _gid=GA1.2.759169809.1555468298 Cf-Connecting-Ip: 50.4.55.173 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 609 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[46511, 'Blink of an Eye', 2, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ```Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [46848, 'Ash Zealot', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by hastrus


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'__cfduid': 'd018927d4220bd687c2a6a761985abe391555396070', '_ga': 'GA1.2.700951405.1555396072', '_gid': 'GA1.2.790510886.1555855307', 'session': '.eJx9UV1PwkAQ_C_33JCWfnjlEQUDGA3UQMWY5uxt29P2rrm7Ikj4725JkAcT3252dmd2544ka0E3TIK0ZGR1Bw5hvBGSjApWG0QcGtEofsXC5ErzTGCJBLHnx5F7Q4PQj70wCihxyD-MzMpO1PziVKuyBN5vYJQ8Kw4jSh3S2FJlnQEtWQMoVjGDAwYVFOtsNcyMZbYnYPWUUrVZLu7DXTKs5o-z9qFMbVx-TZP8cO236hPwpCNheQ7GXDBZT9P8ZbNbjCd3earld-pXe6qWngo7T0xwHvat0GAyhul4YRi5rht7dBD4bhhE_pXvA4vcgLquQzQUWKp-TfJiO-EzlqySYLqOZu9zvq1u42b9zNhKdGiCgbZ4zSsmh98gin7xc07m9zH4UGjx5pCzaGYP_QAZA9OgyckhfyK0TJeAS8uurk8_qBedCA.D54Ogw.tgZc0z8NR3OQkfTXRnCPnNSaQ6I'} Endpoint: add_signup View Args: {} Person: 491396078453915648 Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'hastrus', 'name': 'PD11 - RDW', 'decklist': "4 Ash Zealot\r\n4 Burst Lightning\r\n4 Chain Lightning\r\n4 Chandra's Phoenix\r\n4 Flame Javelin\r\n4 Incinerate\r\n1 Chandra's spitfire\r\n20 Mountain\r\n4 Rakdos Cackler\r\n4 Stormblood Berserker\r\n4 Stromkirk Noble\r\n4 Village Messenger\r\n\r\n2 Blood Knight\r\n3 Flames of the Blood Hand\r\n2 Jinxed Idol\r\n4 Rampaging Ferocidon\r\n2 Sentinel Totem\r\n2 Vulshok Refugee"} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: BR X-Forwarded-For: 179.241.247.27, 172.68.24.38 Cf-Ray: 4cb0068a38554a7e-GRU X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Origin: https://pennydreadfulmagic.com Upgrade-Insecure-Requests: 1 Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3 Referer: https://pennydreadfulmagic.com/signup/ Accept-Language: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7 Cookie: __cfduid=d018927d4220bd687c2a6a761985abe391555396070; _ga=GA1.2.700951405.1555396072; _gid=GA1.2.790510886.1555855307; session=.eJx9UV1PwkAQ_C_33JCWfnjlEQUDGA3UQMWY5uxt29P2rrm7Ikj4725JkAcT3252dmd2544ka0E3TIK0ZGR1Bw5hvBGSjApWG0QcGtEofsXC5ErzTGCJBLHnx5F7Q4PQj70wCihxyD-MzMpO1PziVKuyBN5vYJQ8Kw4jSh3S2FJlnQEtWQMoVjGDAwYVFOtsNcyMZbYnYPWUUrVZLu7DXTKs5o-z9qFMbVx-TZP8cO236hPwpCNheQ7GXDBZT9P8ZbNbjCd3earld-pXe6qWngo7T0xwHvat0GAyhul4YRi5rht7dBD4bhhE_pXvA4vcgLquQzQUWKp-TfJiO-EzlqySYLqOZu9zvq1u42b9zNhKdGiCgbZ4zSsmh98gin7xc07m9zH4UGjx5pCzaGYP_QAZA9OgyckhfyK0TJeAS8uurk8_qBedCA.D54Ogw.tgZc0z8NR3OQkfTXRnCPnNSaQ6I Cf-Connecting-Ip: 179.241.247.27 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 463 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[46848, 'Ash Zealot', 4, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ```Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [47170, 'Burst Lightning', 2, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by tp0nt3


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'__cfduid': 'd00d91e86123a20ebfb7fa29eeeb215971546640810', '_ga': 'GA1.2.709864170.1546640816', 'session': '.eJx9kd1ugkAQhd9lrkkDLAh6p_WnaVoTbY22TUNWGAFld3F3UdT47l1IrBdNennOzJ6Z-fYCUYmSUY5cQ0_LCi2gCcs59Da0UEYlyHImkrvOVSxkEuXGAp-Qjmu7IQm8kIReEHTBgn8qPEqrvEhukwqRppg0GyjB20TiOI4FTKciqhRKThmaMF3aXBMTIGilMzdSmurGL-rx9vCJwSTTL_vR_LjoLqb70-I1SwYHt3Pv12KH5qIL0DhGpW4aivdgvJsvn0ZvSGb1cDIdPsaZPK-H_a0_mJn3WJe5RBVRA8fxvdDx_dAhD8RxXd-7lxtcHdsLbdsCiRtjZb8z9Op4Xq66aclwta2f-YyQfibGH-s-q0LbzDA4S3PMl-FmPiHfnIzXUlLwbUEbE-lT0wIDpBIlXC34g0xTmaLZkldFcf0BpBKXbg.D6NV5A.LlANr0rrieZZX1TLdZ6WoC9Xq4s', '_gid': 'GA1.2.1206256386.1556202462', 'cf_use_ob': '0'} Endpoint: add_signup View Args: {} Person: 533620283748384779 Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'tp0nt3', 'name': 'Jund', 'decklist': '2 Burst Lightning\r\n2 Carnival // Carnage\r\n4 Chain Lightning\r\n1 Chandra Nalaar\r\n2 Cut // Ribbons\r\n4 Desecration Demon\r\n1 Flametongue Kavu\r\n6 Forest\r\n4 Lavaclaw Reaches\r\n4 Lay Bare the Heart\r\n1 Mountain\r\n4 Painful Truths\r\n2 Putrefy\r\n4 Savage Lands\r\n4 Sprouting Thrinax\r\n4 Swamp\r\n4 Sylvan Advocate\r\n3 Sylvan Ranger\r\n4 Temple of Abandon\r\n\r\nSideboard:\r\n2 Arborback Stomper\r\n2 Jund Charm\r\n3 Seal of Primordium\r\n2 Slaughter Games\r\n3 Soul Rend\r\n3 Transgress the Mind'} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: PT X-Forwarded-For: 78.29.169.9, 141.101.99.115 Cf-Ray: 4cd1033b8e67356c-LHR X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3 Referer: https://pennydreadfulmagic.com/signup/ Content-Type: application/x-www-form-urlencoded Upgrade-Insecure-Requests: 1 Cache-Control: max-age=0 Cookie: __cfduid=d00d91e86123a20ebfb7fa29eeeb215971546640810; _ga=GA1.2.709864170.1546640816; session=.eJx9kd1ugkAQhd9lrkkDLAh6p_WnaVoTbY22TUNWGAFld3F3UdT47l1IrBdNennOzJ6Z-fYCUYmSUY5cQ0_LCi2gCcs59Da0UEYlyHImkrvOVSxkEuXGAp-Qjmu7IQm8kIReEHTBgn8qPEqrvEhukwqRppg0GyjB20TiOI4FTKciqhRKThmaMF3aXBMTIGilMzdSmurGL-rx9vCJwSTTL_vR_LjoLqb70-I1SwYHt3Pv12KH5qIL0DhGpW4aivdgvJsvn0ZvSGb1cDIdPsaZPK-H_a0_mJn3WJe5RBVRA8fxvdDx_dAhD8RxXd-7lxtcHdsLbdsCiRtjZb8z9Op4Xq66aclwta2f-YyQfibGH-s-q0LbzDA4S3PMl-FmPiHfnIzXUlLwbUEbE-lT0wIDpBIlXC34g0xTmaLZkldFcf0BpBKXbg.D6NV5A.LlANr0rrieZZX1TLdZ6WoC9Xq4s; _gid=GA1.2.1206256386.1556202462; cf_use_ob=0 Cf-Connecting-Ip: 78.29.169.9 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 612 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[47170, 'Burst Lightning', 2, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ```Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [47800, 'Zur the Enchanter', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by logged_out


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'__cfduid': 'd5004ee0a3a435ee7cf85c3cca17462451556604117', '_ga': 'GA1.2.1901091639.1556604120', '_gid': 'GA1.2.1013654625.1556900942', '_gat_gtag_UA_109131120_1': '1'} Endpoint: add_signup View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'yatoyatoya', 'name': 'test', 'decklist': '4 Zur the Enchanter\r\n4 Orzhov Guildgate\r\n4 Dimir Guildgate\r\n2 Simic Guildgate\r\n2 Island\r\n4 Aether Hub\r\n4 Azorius Guildgate\r\n1 Hold the Gates\r\n4 Guild Summit\r\n4 Banishing Light\r\n1 High Alert\r\n1 Arcane Laboratory\r\n1 Plains\r\n1 Profane Procession\r\n1 Steel of the Godhead\r\n1 Rule of Law\r\n1 Favor of the Mighty\r\n1 Hidden Retreat\r\n1 Nevermore\r\n4 Trial of Ambition\r\n1 Mana Breach\r\n1 Warped Devotion\r\n1 Swamp\r\n1 Story Circle\r\n2 Sterling Grove\r\n3 Contaminated Ground\r\n1 Riptide Chimera\r\n1 Sacred Mesa\r\n2 Selesnya Guildgate\r\n1 Verity Circle\r\n\r\n1 Chill\r\n1 Fevered Visions\r\n1 High Seas\r\n2 Ground Seal\r\n1 Underworld Dreams\r\n2 Compost\r\n2 Lost Legacy\r\n3 Seal of Cleansing\r\n1 Nevermore\r\n1 Contaminated Ground\r\n'} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: JP X-Forwarded-For: 2409:253:e040:9600:a9fc:196f:9f0b:6355, 162.158.6.42 Cf-Ray: 4d139dd888bbaf2d-KIX X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Origin: https://pennydreadfulmagic.com Upgrade-Insecure-Requests: 1 Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3 Referer: https://pennydreadfulmagic.com/signup/ Accept-Language: ja-JP,ja;q=0.9,en-US;q=0.8,en;q=0.7 Cookie: __cfduid=d5004ee0a3a435ee7cf85c3cca17462451556604117; _ga=GA1.2.1901091639.1556604120; _gid=GA1.2.1013654625.1556900942; _gat_gtag_UA_109131120_1=1 Cf-Connecting-Ip: 2409:253:e040:9600:a9fc:196f:9f0b:6355 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 901 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[47800, 'Zur the Enchanter', 4, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ```Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [47829, "Ajani's Presence", 2, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by jackson_baldwin


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'__cfduid': 'd596497f5edcfe1e54a0714d6acd762f81555647950', '_ga': 'GA1.2.2145301127.1555647957', '_gid': 'GA1.2.850863763.1556915196', 'session': '.eJx9UctqwzAQ_BedTZAfUuzcGqhD69KaQJqWUoxirV-xJVeSm5qQf68cSHIo9KbZnd2ZHR1R1oPqmABh0MKoARzEeFcLtChYqy3i0NWd5Ddc61wqntW2hAKfEILD0PUCEnpeFM6Rg_7piKwc6pZflFpZlsAnB1qK80bfD10HdaaU2aBBCdaBXdawfD8xdqzlB-vNQZINpvIybZiZCEWZSmo226T02uqbbpvxBYb7w4Ym4qCWN76Re7CnHRHLc9D6gpH0Y5yTbf-atDzZUQ3N2rDnKF6lyV5iOw8_fa1AZ8ym5BJCQ4-62J_hiASURrf-FBzFQYixgxQUtlRdRbpV-nUX6_njKjFhHD88vVV0-e7nZM7XY2pFbLC9vebDJmi_oy5GWzvnpa-PWSOtxKeDzkszM04DaAlMgUInB_2J0jBVgjUthrY9_QJOcJ_A.D641iA.9tYYoqfAr1OTj1aOvdrsIVFmZz4'} Endpoint: add_signup View Args: {} Person: 435550881245822987 Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'jackson_baldwin', 'name': 'UW Heroic', 'decklist': "2 Ajani's Presence\r\n2 Aqueous Form\r\n3 Arrester's Zeal\r\n4 Battlewise Hoplite\r\n3 Cartouche of Knowledge\r\n2 Cartouche of Solidarity\r\n1 Cathedral of War\r\n4 Defiant Strike\r\n4 Favored Hoplite\r\n2 Grand Coliseum\r\n4 Hero of Iroas\r\n6 Island\r\n2 Lagonna-Band Trailblazer\r\n4 Ordeal of Thassa\r\n9 Plains\r\n4 Seaside Citadel\r\n4 Stave Off\r\n\r\n2 Ajani's Presence\r\n2 Cartouche of Solidarity\r\n2 Demystify\r\n2 Erase\r\n1 Forest\r\n2 Intervene\r\n2 Ordeal of Heliod\r\n1 Triton Tactics\r\n"} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: US X-Forwarded-For: 104.243.49.91, 172.68.34.126 Cf-Ray: 4d14ffef6f7bc7b9-DEN X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Origin: https://pennydreadfulmagic.com Upgrade-Insecure-Requests: 1 Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3 Referer: https://pennydreadfulmagic.com/signup/ Accept-Language: en-US,en;q=0.9 Cookie: __cfduid=d596497f5edcfe1e54a0714d6acd762f81555647950; _ga=GA1.2.2145301127.1555647957; _gid=GA1.2.850863763.1556915196; session=.eJx9UctqwzAQ_BedTZAfUuzcGqhD69KaQJqWUoxirV-xJVeSm5qQf68cSHIo9KbZnd2ZHR1R1oPqmABh0MKoARzEeFcLtChYqy3i0NWd5Ddc61wqntW2hAKfEILD0PUCEnpeFM6Rg_7piKwc6pZflFpZlsAnB1qK80bfD10HdaaU2aBBCdaBXdawfD8xdqzlB-vNQZINpvIybZiZCEWZSmo226T02uqbbpvxBYb7w4Ym4qCWN76Re7CnHRHLc9D6gpH0Y5yTbf-atDzZUQ3N2rDnKF6lyV5iOw8_fa1AZ8ym5BJCQ4-62J_hiASURrf-FBzFQYixgxQUtlRdRbpV-nUX6_njKjFhHD88vVV0-e7nZM7XY2pFbLC9vebDJmi_oy5GWzvnpa-PWSOtxKeDzkszM04DaAlMgUInB_2J0jBVgjUthrY9_QJOcJ_A.D641iA.9tYYoqfAr1OTj1aOvdrsIVFmZz4 Cf-Connecting-Ip: 104.243.49.91 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 618 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[47829, "Ajani's Presence", 2, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ```Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [47977, 'Greenbelt Rampager', 3, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by logged_out


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'__cfduid': 'd36edc4a0bc199c700c1a4fdb7e51f9d91555880636', 'hide_intro': 'True'} Endpoint: add_signup View Args: {} Person: logged_out Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'Tapunalo', 'name': 'Bug_energy', 'decklist': '3 Greenbelt Rampager \r\n4 Glint-Sleeve Siphoner \r\n4 Winding Constrictor \r\n4 Longtusk Cub \r\n4 Rogue Refiner \r\n4 Shardless Agent \r\n4 Bristling Hydra \r\n4 Attune with Aether \r\n3 Go for the Throat \r\n4 Curse of Predation \r\n4 Aether Hub \r\n4 Opulent Palace \r\n4 Llanowar Wastes \r\n6 Forest \r\n2 Swamp \r\n2 Island\r\n\r\n3 Silent Gravestone \r\n3 Flaying Tendrils \r\n3 Trygon Predator \r\n2 Vizier of Many Faces \r\n2 Seal of Primordium \r\n2 Gaze of Granite'} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: ES X-Forwarded-For: 79.154.186.250, 172.69.226.169 Cf-Ray: 4d1b688f3c48b769-CDG X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Referer: https://pennydreadfulmagic.com/signup/ Content-Type: application/x-www-form-urlencoded Upgrade-Insecure-Requests: 1 Cookie: __cfduid=d36edc4a0bc199c700c1a4fdb7e51f9d91555880636; hide_intro=True Cf-Connecting-Ip: 79.154.186.250 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 567 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[47977, 'Greenbelt Rampager', 3, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ```Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [47974, 'Pain Seer', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by mrbacanudo


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'_ga': 'GA1.2.1036903742.1515817895', 'hide_intro': 'True', 'session': '.eJx9kV1rwjAUhv9Lrou06Vf0zso2xpChFnGMUWJzbGvbpOaDVsT_vlRQLwa7y_l633OeXFDWgWwpB67RTEsDDqKsrTiaHWijbMSgrVrBnnGlciFZVtkU8kNMIkwwiQMS-0EQhchB_1R4VpiqYXenRhQFsHEDJfhN0cM-dlCrC5EZBZLTFqxYK_c0p9wwYUUENbrEmdJUjzV_xdekfSNk_ZUvzSA3epmultNtGsGJe89-LWqwV10QzXNQ6h4j-Zr2usuHefnpLyA57QM8TcJ0424_0mGch6GrJKiMWkBeGNpjXA_jSRx7JAj9Z31kFrkBcV0HSTjYVPkwqXTo9wVL6l6p3aJXtDf17mXe1OXi_TiSsUw7e823hWd_ojqcbe6GSj0ek6OwFj8Ouolm-jwOoASoBImuDvpDUVNZgF2am6a5_gJYI549.D688Lw.K9IxFbt-rBos46b-_IHOv08yEUw', '__cfduid': 'dacb51b52f5ecc7532d4e50843a4004fb1547391525', 'deck_id': '47818'} Endpoint: add_signup View Args: {} Person: 352862828748734465 Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'mrbacanudo', 'name': 'Bad Bobs, whatcha gonna do', 'decklist': '4 Pain Seer\r\n4 Glint-Sleeve Siphoner\r\n3 Aethersphere Harvester\r\n4 Dread Wanderer\r\n4 Bloodsoaked Champion\r\n4 Call the Bloodline\r\n4 Asylum Visitor\r\n3 Go for the Throat\r\n2 Doom Blade\r\n22 Swamp\r\n2 Cruel Edict\r\n4 Night Market Lookout\r\n\r\n3 Silent Gravestone\r\n1 Cruel Edict\r\n3 Perish\r\n1 Aethersphere Harvester\r\n3 Drill Bit\r\n2 Immortal Servitude\r\n2 Lost Legacy'} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: BR X-Forwarded-For: 200.222.236.184, 198.41.230.12 Cf-Ray: 4d1b6367b87cd2dc-EZE X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Origin: https://pennydreadfulmagic.com Upgrade-Insecure-Requests: 1 Dnt: 1 Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 OPR/57.0.3098.116 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 Referer: https://pennydreadfulmagic.com/signup/ Accept-Language: en-US,en;q=0.9 Cookie: _ga=GA1.2.1036903742.1515817895; hide_intro=True; session=.eJx1UMtOwzAQ_Jc9RyhxnMTtsQ8EKghE1QqBUOTE2yRtbEe2U5pW_DtuJegBcdx57M7OCbiQjYLxhrcWAxCNLbUReSNgDHFCWEoYYRllWUxpmkAA_zOtrioUeYfGanXZEJGYBCBdpfPeolFcojdLU_CSq15ob9K8dzXJrePuzBWTY82O6k6VT_MXORt97ktSLKMtXZnHeHHVO71Dn_oEvCzR2p8Z6tmrpErEz2QVFWrR4UDSPtu6tVg7M_d-PHSNQZtz5-MlJGGM0Gh0k9IkI4Re-XMnaUhZGAZgcOOh-vfIamIW93pabG-LQU8f4tDSnd1LeVgmB_Pmj_gOO__Nuy8LlWs2g8eqvmmFhY8ALmtyN5wlMEFu0MBXAH96c9xU6GOqvm2_vgFOSIgB.DeUZqw.5ZnNehSxa1iW41MF994SKkP_3cQ; __cfduid=dacb51b52f5ecc7532d4e50843a4004fb1547391525; deck_id=47818; session=.eJx9kV1rwjAUhv9Lrou06Vf0zso2xpChFnGMUWJzbGvbpOaDVsT_vlRQLwa7y_l633OeXFDWgWwpB67RTEsDDqKsrTiaHWijbMSgrVrBnnGlciFZVtkU8kNMIkwwiQMS-0EQhchB_1R4VpiqYXenRhQFsHEDJfhN0cM-dlCrC5EZBZLTFqxYK_c0p9wwYUUENbrEmdJUjzV_xdekfSNk_ZUvzSA3epmultNtGsGJe89-LWqwV10QzXNQ6h4j-Zr2usuHefnpLyA57QM8TcJ0424_0mGch6GrJKiMWkBeGNpjXA_jSRx7JAj9Z31kFrkBcV0HSTjYVPkwqXTo9wVL6l6p3aJXtDf17mXe1OXi_TiSsUw7e823hWd_ojqcbe6GSj0ek6OwFj8Ouolm-jwOoASoBImuDvpDUVNZgF2am6a5_gJYI549.D688Lw.K9IxFbt-rBos46b-_IHOv08yEUw Cf-Connecting-Ip: 200.222.236.184 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 496 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[47974, 'Pain Seer', 4, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ```Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [47973, 'Pain Seer', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by mrbacanudo


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'_ga': 'GA1.2.1036903742.1515817895', 'hide_intro': 'True', 'session': '.eJx9kV1rwjAUhv9Lrou06Vf0zso2xpChFnGMUWJzbGvbpOaDVsT_vlRQLwa7y_l633OeXFDWgWwpB67RTEsDDqKsrTiaHWijbMSgrVrBnnGlciFZVtkU8kNMIkwwiQMS-0EQhchB_1R4VpiqYXenRhQFsHEDJfhN0cM-dlCrC5EZBZLTFqxYK_c0p9wwYUUENbrEmdJUjzV_xdekfSNk_ZUvzSA3epmultNtGsGJe89-LWqwV10QzXNQ6h4j-Zr2usuHefnpLyA57QM8TcJ0424_0mGch6GrJKiMWkBeGNpjXA_jSRx7JAj9Z31kFrkBcV0HSTjYVPkwqXTo9wVL6l6p3aJXtDf17mXe1OXi_TiSsUw7e823hWd_ojqcbe6GSj0ek6OwFj8Ouolm-jwOoASoBImuDvpDUVNZgF2am6a5_gJYI549.D687Qg.RiY6iV31i136cijXtpot7WCjWBI', '__cfduid': 'dacb51b52f5ecc7532d4e50843a4004fb1547391525', 'deck_id': '47818', 'cf_use_ob': '0'} Endpoint: add_signup View Args: {} Person: 352862828748734465 Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'mrbacanudo', 'name': 'Bad Bobs, whatcha gonna do?', 'decklist': '4 Pain Seer\r\n4 Glint-Sleeve Siphoner\r\n3 Aethersphere Harvester\r\n4 Dread Wanderer\r\n4 Bloodsoaked Champion\r\n4 Call the Bloodline\r\n4 Asylum Visitor\r\n3 Go for the Throat\r\n2 Doom Blade\r\n22 Swamp\r\n2 Cruel Edict\r\n4 Night Market Lookout\r\n\r\n3 Silent Gravestone\r\n1 Cruel Edict\r\n3 Perish\r\n1 Aethersphere Harvester\r\n3 Drill Bit\r\n2 Immortal Servitude\r\n2 Lost Legacy'} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: BR X-Forwarded-For: 200.222.236.184, 198.41.230.12 Cf-Ray: 4d1b5cade9acd2dc-EZE X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 OPR/57.0.3098.116 Origin: https://pennydreadfulmagic.com Content-Type: application/x-www-form-urlencoded Dnt: 1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 Referer: https://pennydreadfulmagic.com/signup/ Accept-Language: en-US,en;q=0.9 Cookie: _ga=GA1.2.1036903742.1515817895; hide_intro=True; session=.eJx1UMtOwzAQ_Jc9RyhxnMTtsQ8EKghE1QqBUOTE2yRtbEe2U5pW_DtuJegBcdx57M7OCbiQjYLxhrcWAxCNLbUReSNgDHFCWEoYYRllWUxpmkAA_zOtrioUeYfGanXZEJGYBCBdpfPeolFcojdLU_CSq15ob9K8dzXJrePuzBWTY82O6k6VT_MXORt97ktSLKMtXZnHeHHVO71Dn_oEvCzR2p8Z6tmrpErEz2QVFWrR4UDSPtu6tVg7M_d-PHSNQZtz5-MlJGGM0Gh0k9IkI4Re-XMnaUhZGAZgcOOh-vfIamIW93pabG-LQU8f4tDSnd1LeVgmB_Pmj_gOO__Nuy8LlWs2g8eqvmmFhY8ALmtyN5wlMEFu0MBXAH96c9xU6GOqvm2_vgFOSIgB.DeUZqw.5ZnNehSxa1iW41MF994SKkP_3cQ; __cfduid=dacb51b52f5ecc7532d4e50843a4004fb1547391525; deck_id=47818; cf_use_ob=0; session=.eJx9kV1rwjAUhv9Lrou06Vf0zso2xpChFnGMUWJzbGvbpOaDVsT_vlRQLwa7y_l633OeXFDWgWwpB67RTEsDDqKsrTiaHWijbMSgrVrBnnGlciFZVtkU8kNMIkwwiQMS-0EQhchB_1R4VpiqYXenRhQFsHEDJfhN0cM-dlCrC5EZBZLTFqxYK_c0p9wwYUUENbrEmdJUjzV_xdekfSNk_ZUvzSA3epmultNtGsGJe89-LWqwV10QzXNQ6h4j-Zr2usuHefnpLyA57QM8TcJ0424_0mGch6GrJKiMWkBeGNpjXA_jSRx7JAj9Z31kFrkBcV0HSTjYVPkwqXTo9wVL6l6p3aJXtDf17mXe1OXi_TiSsUw7e823hWd_ojqcbe6GSj0ek6OwFj8Ouolm-jwOoASoBImuDvpDUVNZgF2am6a5_gJYI549.D687Qg.RiY6iV31i136cijXtpot7WCjWBI Cf-Connecting-Ip: 200.222.236.184 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 499 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[47973, 'Pain Seer', 4, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ```Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [47978, 'Pain Seer', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by mrbacanudo


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'_ga': 'GA1.2.1036903742.1515817895', 'hide_intro': 'True', 'session': '.eJx9kV1rwjAUhv9Lrou06Vf0zso2xpChFnGMUWJzbGvbpOaDVsT_vlRQLwa7y_l633OeXFDWgWwpB67RTEsDDqKsrTiaHWijbMSgrVrBnnGlciFZVtkU8kNMIkwwiQMS-0EQhchB_1R4VpiqYXenRhQFsHEDJfhN0cM-dlCrC5EZBZLTFqxYK_c0p9wwYUUENbrEmdJUjzV_xdekfSNk_ZUvzSA3epmultNtGsGJe89-LWqwV10QzXNQ6h4j-Zr2usuHefnpLyA57QM8TcJ0424_0mGch6GrJKiMWkBeGNpjXA_jSRx7JAj9Z31kFrkBcV0HSTjYVPkwqXTo9wVL6l6p3aJXtDf17mXe1OXi_TiSsUw7e823hWd_ojqcbe6GSj0ek6OwFj8Ouolm-jwOoASoBImuDvpDUVNZgF2am6a5_gJYI549.D686Ug.1ukLjYNFruHaagACVYTB_rMl49Q', '__cfduid': 'dacb51b52f5ecc7532d4e50843a4004fb1547391525', 'deck_id': '47818'} Endpoint: add_signup View Args: {} Person: 352862828748734465 Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'mrbacanudo', 'name': 'Bad Bobs, whatcha gonna do?', 'decklist': '4 Pain Seer\r\n4 Glint-Sleeve Siphoner\r\n3 Aethersphere Harvester\r\n4 Dread Wanderer\r\n4 Bloodsoaked Champion\r\n4 Call the Bloodline\r\n4 Asylum Visitor\r\n3 Go for the Throat\r\n2 Doom Blade\r\n22 Swamp\r\n2 Cruel Edict\r\n4 Night Market Lookout\r\n\r\n3 Silent Gravestone\r\n1 Cruel Edict\r\n3 Perish\r\n1 Aethersphere Harvester\r\n3 Drill Bit\r\n2 Immortal Servitude\r\n2 Lost Legacy'} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: BR X-Forwarded-For: 200.222.236.184, 198.41.230.12 Cf-Ray: 4d1b57828ab2d2dc-EZE X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Origin: https://pennydreadfulmagic.com Upgrade-Insecure-Requests: 1 Dnt: 1 Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 OPR/57.0.3098.116 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 Referer: https://pennydreadfulmagic.com/signup/ Accept-Language: en-US,en;q=0.9 Cookie: _ga=GA1.2.1036903742.1515817895; hide_intro=True; session=.eJx1UMtOwzAQ_Jc9RyhxnMTtsQ8EKghE1QqBUOTE2yRtbEe2U5pW_DtuJegBcdx57M7OCbiQjYLxhrcWAxCNLbUReSNgDHFCWEoYYRllWUxpmkAA_zOtrioUeYfGanXZEJGYBCBdpfPeolFcojdLU_CSq15ob9K8dzXJrePuzBWTY82O6k6VT_MXORt97ktSLKMtXZnHeHHVO71Dn_oEvCzR2p8Z6tmrpErEz2QVFWrR4UDSPtu6tVg7M_d-PHSNQZtz5-MlJGGM0Gh0k9IkI4Re-XMnaUhZGAZgcOOh-vfIamIW93pabG-LQU8f4tDSnd1LeVgmB_Pmj_gOO__Nuy8LlWs2g8eqvmmFhY8ALmtyN5wlMEFu0MBXAH96c9xU6GOqvm2_vgFOSIgB.DeUZqw.5ZnNehSxa1iW41MF994SKkP_3cQ; __cfduid=dacb51b52f5ecc7532d4e50843a4004fb1547391525; deck_id=47818; session=.eJx9kV1rwjAUhv9Lrou06Vf0zso2xpChFnGMUWJzbGvbpOaDVsT_vlRQLwa7y_l633OeXFDWgWwpB67RTEsDDqKsrTiaHWijbMSgrVrBnnGlciFZVtkU8kNMIkwwiQMS-0EQhchB_1R4VpiqYXenRhQFsHEDJfhN0cM-dlCrC5EZBZLTFqxYK_c0p9wwYUUENbrEmdJUjzV_xdekfSNk_ZUvzSA3epmultNtGsGJe89-LWqwV10QzXNQ6h4j-Zr2usuHefnpLyA57QM8TcJ0424_0mGch6GrJKiMWkBeGNpjXA_jSRx7JAj9Z31kFrkBcV0HSTjYVPkwqXTo9wVL6l6p3aJXtDf17mXe1OXi_TiSsUw7e823hWd_ojqcbe6GSj0ek6OwFj8Ouolm-jwOoASoBImuDvpDUVNZgF2am6a5_gJYI549.D686Ug.1ukLjYNFruHaagACVYTB_rMl49Q Cf-Connecting-Ip: 200.222.236.184 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 499 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[47978, 'Pain Seer', 4, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ```Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [47980, 'Pain Seer', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by mrbacanudo


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'_ga': 'GA1.2.1036903742.1515817895', 'hide_intro': 'True', 'session': '.eJx9kV1rwjAUhv9Lrou06Vf0zso2xpChFnGMUWJzbGvbpOaDVsT_vlRQLwa7y_l633OeXFDWgWwpB67RTEsDDqKsrTiaHWijbMSgrVrBnnGlciFZVtkU8kNMIkwwiQMS-0EQhchB_1R4VpiqYXenRhQFsHEDJfhN0cM-dlCrC5EZBZLTFqxYK_c0p9wwYUUENbrEmdJUjzV_xdekfSNk_ZUvzSA3epmultNtGsGJe89-LWqwV10QzXNQ6h4j-Zr2usuHefnpLyA57QM8TcJ0424_0mGch6GrJKiMWkBeGNpjXA_jSRx7JAj9Z31kFrkBcV0HSTjYVPkwqXTo9wVL6l6p3aJXtDf17mXe1OXi_TiSsUw7e823hWd_ojqcbe6GSj0ek6OwFj8Ouolm-jwOoASoBImuDvpDUVNZgF2am6a5_gJYI549.D6867Q.aEfbxLGNmn02GWeWo92u6ku0dx0', '__cfduid': 'dacb51b52f5ecc7532d4e50843a4004fb1547391525', 'deck_id': '47818', 'cf_use_ob': '0'} Endpoint: add_signup View Args: {} Person: 352862828748734465 Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'mrbacanudo', 'name': 'Bad Bobs, whatcha gonna do?', 'decklist': '4 Pain Seer\r\n4 Glint-Sleeve Siphoner\r\n3 Aethersphere Harvester\r\n4 Dread Wanderer\r\n4 Bloodsoaked Champion\r\n4 Call the Bloodline\r\n4 Asylum Visitor\r\n3 Go for the Throat\r\n2 Doom Blade\r\n22 Swamp\r\n2 Cruel Edict\r\n4 Night Market Lookout\r\n\r\n3 Silent Gravestone\r\n1 Cruel Edict\r\n3 Perish\r\n1 Aethersphere Harvester\r\n3 Drill Bit\r\n2 Immortal Servitude\r\n2 Lost Legacy'} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: BR X-Forwarded-For: 200.222.236.184, 198.41.230.12 Cf-Ray: 4d1b5b22ec27d2dc-EZE X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 OPR/57.0.3098.116 Origin: https://pennydreadfulmagic.com Content-Type: application/x-www-form-urlencoded Dnt: 1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 Referer: https://pennydreadfulmagic.com/signup/ Accept-Language: en-US,en;q=0.9 Cookie: _ga=GA1.2.1036903742.1515817895; hide_intro=True; session=.eJx1UMtOwzAQ_Jc9RyhxnMTtsQ8EKghE1QqBUOTE2yRtbEe2U5pW_DtuJegBcdx57M7OCbiQjYLxhrcWAxCNLbUReSNgDHFCWEoYYRllWUxpmkAA_zOtrioUeYfGanXZEJGYBCBdpfPeolFcojdLU_CSq15ob9K8dzXJrePuzBWTY82O6k6VT_MXORt97ktSLKMtXZnHeHHVO71Dn_oEvCzR2p8Z6tmrpErEz2QVFWrR4UDSPtu6tVg7M_d-PHSNQZtz5-MlJGGM0Gh0k9IkI4Re-XMnaUhZGAZgcOOh-vfIamIW93pabG-LQU8f4tDSnd1LeVgmB_Pmj_gOO__Nuy8LlWs2g8eqvmmFhY8ALmtyN5wlMEFu0MBXAH96c9xU6GOqvm2_vgFOSIgB.DeUZqw.5ZnNehSxa1iW41MF994SKkP_3cQ; __cfduid=dacb51b52f5ecc7532d4e50843a4004fb1547391525; deck_id=47818; cf_use_ob=0; session=.eJx9kV1rwjAUhv9Lrou06Vf0zso2xpChFnGMUWJzbGvbpOaDVsT_vlRQLwa7y_l633OeXFDWgWwpB67RTEsDDqKsrTiaHWijbMSgrVrBnnGlciFZVtkU8kNMIkwwiQMS-0EQhchB_1R4VpiqYXenRhQFsHEDJfhN0cM-dlCrC5EZBZLTFqxYK_c0p9wwYUUENbrEmdJUjzV_xdekfSNk_ZUvzSA3epmultNtGsGJe89-LWqwV10QzXNQ6h4j-Zr2usuHefnpLyA57QM8TcJ0424_0mGch6GrJKiMWkBeGNpjXA_jSRx7JAj9Z31kFrkBcV0HSTjYVPkwqXTo9wVL6l6p3aJXtDf17mXe1OXi_TiSsUw7e823hWd_ojqcbe6GSj0ek6OwFj8Ouolm-jwOoASoBImuDvpDUVNZgF2am6a5_gJYI549.D6867Q.aEfbxLGNmn02GWeWo92u6ku0dx0 Cf-Connecting-Ip: 200.222.236.184 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 499 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[47980, 'Pain Seer', 4, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ```Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [47979, 'Pain Seer', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by mrbacanudo


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'_ga': 'GA1.2.1036903742.1515817895', 'hide_intro': 'True', 'session': '.eJx9kV1rwjAUhv9Lrou06Vf0zso2xpChFnGMUWJzbGvbpOaDVsT_vlRQLwa7y_l633OeXFDWgWwpB67RTEsDDqKsrTiaHWijbMSgrVrBnnGlciFZVtkU8kNMIkwwiQMS-0EQhchB_1R4VpiqYXenRhQFsHEDJfhN0cM-dlCrC5EZBZLTFqxYK_c0p9wwYUUENbrEmdJUjzV_xdekfSNk_ZUvzSA3epmultNtGsGJe89-LWqwV10QzXNQ6h4j-Zr2usuHefnpLyA57QM8TcJ0424_0mGch6GrJKiMWkBeGNpjXA_jSRx7JAj9Z31kFrkBcV0HSTjYVPkwqXTo9wVL6l6p3aJXtDf17mXe1OXi_TiSsUw7e823hWd_ojqcbe6GSj0ek6OwFj8Ouolm-jwOoASoBImuDvpDUVNZgF2am6a5_gJYI549.D686rQ.MG4QmIIaT1a7nPabDLz6IlgJ51w', '__cfduid': 'dacb51b52f5ecc7532d4e50843a4004fb1547391525', 'deck_id': '47818', 'cf_use_ob': '0'} Endpoint: add_signup View Args: {} Person: 352862828748734465 Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'mrbacanudo', 'name': 'Bad Bobs, whatcha gonna do?', 'decklist': '4 Pain Seer\r\n4 Glint-Sleeve Siphoner\r\n3 Aethersphere Harvester\r\n4 Dread Wanderer\r\n4 Bloodsoaked Champion\r\n4 Call the Bloodline\r\n4 Asylum Visitor\r\n3 Go for the Throat\r\n2 Doom Blade\r\n22 Swamp\r\n2 Cruel Edict\r\n4 Night Market Lookout\r\n\r\n3 Silent Gravestone\r\n1 Cruel Edict\r\n3 Perish\r\n1 Aethersphere Harvester\r\n3 Drill Bit\r\n2 Immortal Servitude\r\n2 Lost Legacy'} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: BR X-Forwarded-For: 200.222.236.184, 198.41.230.12 Cf-Ray: 4d1b5911e929d2dc-EZE X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 OPR/57.0.3098.116 Origin: https://pennydreadfulmagic.com Content-Type: application/x-www-form-urlencoded Dnt: 1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 Referer: https://pennydreadfulmagic.com/signup/ Accept-Language: en-US,en;q=0.9 Cookie: _ga=GA1.2.1036903742.1515817895; hide_intro=True; session=.eJx1UMtOwzAQ_Jc9RyhxnMTtsQ8EKghE1QqBUOTE2yRtbEe2U5pW_DtuJegBcdx57M7OCbiQjYLxhrcWAxCNLbUReSNgDHFCWEoYYRllWUxpmkAA_zOtrioUeYfGanXZEJGYBCBdpfPeolFcojdLU_CSq15ob9K8dzXJrePuzBWTY82O6k6VT_MXORt97ktSLKMtXZnHeHHVO71Dn_oEvCzR2p8Z6tmrpErEz2QVFWrR4UDSPtu6tVg7M_d-PHSNQZtz5-MlJGGM0Gh0k9IkI4Re-XMnaUhZGAZgcOOh-vfIamIW93pabG-LQU8f4tDSnd1LeVgmB_Pmj_gOO__Nuy8LlWs2g8eqvmmFhY8ALmtyN5wlMEFu0MBXAH96c9xU6GOqvm2_vgFOSIgB.DeUZqw.5ZnNehSxa1iW41MF994SKkP_3cQ; __cfduid=dacb51b52f5ecc7532d4e50843a4004fb1547391525; deck_id=47818; session=.eJx9kV1rwjAUhv9Lrou06Vf0zso2xpChFnGMUWJzbGvbpOaDVsT_vlRQLwa7y_l633OeXFDWgWwpB67RTEsDDqKsrTiaHWijbMSgrVrBnnGlciFZVtkU8kNMIkwwiQMS-0EQhchB_1R4VpiqYXenRhQFsHEDJfhN0cM-dlCrC5EZBZLTFqxYK_c0p9wwYUUENbrEmdJUjzV_xdekfSNk_ZUvzSA3epmultNtGsGJe89-LWqwV10QzXNQ6h4j-Zr2usuHefnpLyA57QM8TcJ0424_0mGch6GrJKiMWkBeGNpjXA_jSRx7JAj9Z31kFrkBcV0HSTjYVPkwqXTo9wVL6l6p3aJXtDf17mXe1OXi_TiSsUw7e823hWd_ojqcbe6GSj0ek6OwFj8Ouolm-jwOoASoBImuDvpDUVNZgF2am6a5_gJYI549.D686rQ.MG4QmIIaT1a7nPabDLz6IlgJ51w; cf_use_ob=0 Cf-Connecting-Ip: 200.222.236.184 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 499 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[47979, 'Pain Seer', 4, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ```Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException

vorpal-buildbot commented 5 years ago

500 error at /signup/

Failed to execute INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s) with [47975, 'Pain Seer', 4, False] because of (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported on decksite by mrbacanudo


Request Data ``` Request Method: POST Path: /signup/? Cookies: {'_ga': 'GA1.2.1036903742.1515817895', 'hide_intro': 'True', 'session': '.eJx9kV1rwjAUhv9Lrou06Vf0zso2xpChFnGMUWJzbGvbpOaDVsT_vlRQLwa7y_l633OeXFDWgWwpB67RTEsDDqKsrTiaHWijbMSgrVrBnnGlciFZVtkU8kNMIkwwiQMS-0EQhchB_1R4VpiqYXenRhQFsHEDJfhN0cM-dlCrC5EZBZLTFqxYK_c0p9wwYUUENbrEmdJUjzV_xdekfSNk_ZUvzSA3epmultNtGsGJe89-LWqwV10QzXNQ6h4j-Zr2usuHefnpLyA57QM8TcJ0424_0mGch6GrJKiMWkBeGNpjXA_jSRx7JAj9Z31kFrkBcV0HSTjYVPkwqXTo9wVL6l6p3aJXtDf17mXe1OXi_TiSsUw7e823hWd_ojqcbe6GSj0ek6OwFj8Ouolm-jwOoASoBImuDvpDUVNZgF2am6a5_gJYI549.D687wQ.itiszt3pExtlc6YjJkFwwqjOHDM', '__cfduid': 'dacb51b52f5ecc7532d4e50843a4004fb1547391525', 'deck_id': '47818'} Endpoint: add_signup View Args: {} Person: 352862828748734465 Referrer: https://pennydreadfulmagic.com/signup/ Request Data: {'mtgo_username': 'mrbacanudo', 'name': 'Bad Bobs, whatcha gonna do?', 'decklist': '4 Pain Seer\r\n4 Glint-Sleeve Siphoner\r\n3 Aethersphere Harvester\r\n4 Dread Wanderer\r\n4 Bloodsoaked Champion\r\n4 Call the Bloodline\r\n4 Asylum Visitor\r\n3 Go for the Throat\r\n2 Doom Blade\r\n22 Swamp\r\n2 Cruel Edict\r\n4 Night Market Lookout\r\n\r\n3 Silent Gravestone\r\n1 Cruel Edict\r\n3 Perish\r\n1 Aethersphere Harvester\r\n3 Drill Bit\r\n2 Immortal Servitude\r\n2 Lost Legacy'} Host: pennydreadfulmagic.com Accept-Encoding: gzip Cf-Ipcountry: BR X-Forwarded-For: 200.222.236.184, 198.41.230.12 Cf-Ray: 4d1b6001a9c2d2dc-EZE X-Forwarded-Proto: https Cf-Visitor: {"scheme":"https"} Cache-Control: max-age=0 Origin: https://pennydreadfulmagic.com Upgrade-Insecure-Requests: 1 Dnt: 1 Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 OPR/57.0.3098.116 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 Referer: https://pennydreadfulmagic.com/signup/ Accept-Language: en-US,en;q=0.9 Cookie: _ga=GA1.2.1036903742.1515817895; hide_intro=True; session=.eJx1UMtOwzAQ_Jc9RyhxnMTtsQ8EKghE1QqBUOTE2yRtbEe2U5pW_DtuJegBcdx57M7OCbiQjYLxhrcWAxCNLbUReSNgDHFCWEoYYRllWUxpmkAA_zOtrioUeYfGanXZEJGYBCBdpfPeolFcojdLU_CSq15ob9K8dzXJrePuzBWTY82O6k6VT_MXORt97ktSLKMtXZnHeHHVO71Dn_oEvCzR2p8Z6tmrpErEz2QVFWrR4UDSPtu6tVg7M_d-PHSNQZtz5-MlJGGM0Gh0k9IkI4Re-XMnaUhZGAZgcOOh-vfIamIW93pabG-LQU8f4tDSnd1LeVgmB_Pmj_gOO__Nuy8LlWs2g8eqvmmFhY8ALmtyN5wlMEFu0MBXAH96c9xU6GOqvm2_vgFOSIgB.DeUZqw.5ZnNehSxa1iW41MF994SKkP_3cQ; __cfduid=dacb51b52f5ecc7532d4e50843a4004fb1547391525; deck_id=47818; session=.eJx9kV1rwjAUhv9Lrou06Vf0zso2xpChFnGMUWJzbGvbpOaDVsT_vlRQLwa7y_l633OeXFDWgWwpB67RTEsDDqKsrTiaHWijbMSgrVrBnnGlciFZVtkU8kNMIkwwiQMS-0EQhchB_1R4VpiqYXenRhQFsHEDJfhN0cM-dlCrC5EZBZLTFqxYK_c0p9wwYUUENbrEmdJUjzV_xdekfSNk_ZUvzSA3epmultNtGsGJe89-LWqwV10QzXNQ6h4j-Zr2usuHefnpLyA57QM8TcJ0424_0mGch6GrJKiMWkBeGNpjXA_jSRx7JAj9Z31kFrkBcV0HSTjYVPkwqXTo9wVL6l6p3aJXtDf17mXe1OXi_TiSsUw7e823hWd_ojqcbe6GSj0ek6OwFj8Ouolm-jwOoASoBImuDvpDUVNZgF2am6a5_gJYI549.D687wQ.itiszt3pExtlc6YjJkFwwqjOHDM Cf-Connecting-Ip: 200.222.236.184 Cdn-Loop: cloudflare X-Forwarded-Host: pennydreadfulmagic.com X-Forwarded-Server: pennydreadfulmagic.com Connection: Keep-Alive Content-Length: 499 ```

DatabaseException Failed to execute `INSERT INTO deck_card (deck_id, card, n, sideboard) VALUES (%s, %s, %s, %s)` with `[47975, 'Pain Seer', 4, False]` because of `(1213, 'Deadlock found when trying to get lock; try restarting transaction')` Stack Trace: ```Python traceback File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2309, in __call__ return self.wsgi_app(environ, start_response) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2295, in wsgi_app response = self.handle_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise raise value File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "./decksite/cache.py", line 79, in decorated_function response = make_response(f(*args, **kwargs)) File "./decksite/main.py", line 393, in add_signup d = lg.signup(form) File "./decksite/league.py", line 180, in signup return deck.add_deck(form) File "./decksite/data/deck.py", line 357, in add_deck add_cards(deck_id, params['cards']) File "./decksite/data/deck.py", line 389, in add_cards insert_deck_card(deck_id, name, n, False) File "./decksite/data/deck.py", line 406, in insert_deck_card db().execute(sql, [deck_id, name, n, in_sideboard]) File "./shared/database.py", line 45, in execute [n, _] = self.execute_anything(sql, args, False) File "./shared/database.py", line 60, in execute_anything raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e)) ```

Exception_hash: 4872ef465bf694399fb776cf72c3a5d1ace3ab83

Labels: decksite; DatabaseException