Created
June 29, 2017 17:25
-
-
Save silasary/68336fa85d9553d52fd6c0c6d605eb05 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fetching https://mtgjson.com/json/version.json (Last Modified=Fri, 28 Apr 2017 22:23:19 GMT) | |
Database update required | |
Storing https://mtgjson.com/json/AllCards-x.json.zip in ./zip/zip.zip | |
{'rulings': [{'date': '2012-06-01', 'text': 'This ability is very similar to that of Warp World, but note that planeswalkers are put onto the battlefield.'}, {'date': '2012-06-01', 'text': "Taking it slowly, here's what happens when Morphic Tide's ability resolves: 1) Each player counts the number of permanents he or she owns. 2) Each player shuffles those permanents into his or her library. 3) Each player reveals cards from the top of his or her library equal to the number that player counted. 4) Each player puts all artifact, creature, land, and planeswalker cards revealed this way onto the battlefield. All of these cards enter the battlefield at the same time. 5) Each player puts all enchantment cards revealed this way onto the battlefield. An Aura put onto the battlefield this way can enchant an artifact, creature, land, or planeswalker that was already put onto the battlefield, but can't enchant an enchantment that's being put onto the battlefield at the same time as it. If multiple players have Auras to put onto the battlefield, the player whose turn it is announces what his or her Auras will enchant, then each other player in turn order does the same, then all enchantments (both Auras and non-Auras) enter the battlefield at the same time. 6) Each player puts all of his or her other revealed cards (instants, sorceries, and Auras that can't enchant anything) on the bottom of his or her library in any order."}, {'date': '2012-06-01', 'text': "Cards such as Sakashima's Student that can enter the battlefield as a copy of another permanent won't be able to enter the battlefield as a copy of a permanent that's entering the battlefield at the same time."}, {'date': '2012-06-01', 'text': "After all permanents are put onto the battlefield and you planeswalk away from Morphic Tide, any abilities that triggered from those permanents entering the battlefield, from the previous generation of permanents leaving the battlefield, and from the new plane or phenomenon will be put onto the stack. You'll put all of your triggered abilities on the stack in any order, then each other player in turn order will do the same. (The last ability put on the stack will be the first one that resolves.)"}, {'date': '2012-06-01', 'text': "The permanents will enter the battlefield while Morphic Tide is face up. This means the game won't be on any plane when determining if any abilities trigger because those permanents entered the battlefield, for example. However, you'll planeswalk away from Morphic Tide before any such abilities are put on the stack. After you turn the next card of the planar deck face up, any abilities that triggered during the resolution of Morphic Tide (including any abilities that triggered because you encountered another phenomenon or planeswalked to the next plane) will be put on the stack. The planar controller will put his or her abilities on the stack in any order, followed by each other player in turn order. The last ability put on the stack will be the first one to resolve."}, {'date': '2012-06-01', 'text': "Token permanents a player owns will count toward the number of cards that player reveals. They'll be shuffled into that player's library and subsequently cease to exist. A token's owner is the player under whose control it first entered the battlefield."}], 'nameAscii': 'Morphic Tide', 'cardId': 7, 'types': ['Phenomenon'], 'name': 'Morphic Tide', 'type': 'Phenomenon', 'printings': ['PC2', 'PCA'], 'text': "When you encounter Morphic Tide, each player shuffles all permanents he or she owns into his or her library, then reveals that many cards from the top of his or her library. Each player puts all artifact, creature, land, and planeswalker cards revealed this way onto the battlefield, then does the same for enchantment cards, then puts all cards revealed this way that weren't put onto the battlefield on the bottom of his or her library in any order. (Then planeswalk away from this phenomenon.)", 'imageName': 'morphic tide', 'position': 1, 'layout': 'phenomenon'} | |
Traceback (most recent call last): | |
File "C:\Users\Clock\Documents\Projects\Penny-Dreadful-Tools\shared\database_mysql.py", line 39, in execute | |
self.cursor.execute(sql, args) | |
File "C:\Users\Clock\AppData\Local\Programs\Python\Python35-32\lib\site-packages\MySQLdb\cursors.py", line 250, in execute | |
self.errorhandler(self, exc, value) | |
File "C:\Users\Clock\AppData\Local\Programs\Python\Python35-32\lib\site-packages\MySQLdb\connections.py", line 42, in defaulterrorhandler | |
raise errorvalue | |
File "C:\Users\Clock\AppData\Local\Programs\Python\Python35-32\lib\site-packages\MySQLdb\cursors.py", line 247, in execute | |
res = self._query(query) | |
File "C:\Users\Clock\AppData\Local\Programs\Python\Python35-32\lib\site-packages\MySQLdb\cursors.py", line 411, in _query | |
rowcount = self._do_query(q) | |
File "C:\Users\Clock\AppData\Local\Programs\Python\Python35-32\lib\site-packages\MySQLdb\cursors.py", line 374, in _do_query | |
db.query(q) | |
File "C:\Users\Clock\AppData\Local\Programs\Python\Python35-32\lib\site-packages\MySQLdb\connections.py", line 270, in query | |
_mysql.connection.query(self, query) | |
_mysql_exceptions.DataError: (1406, "Data too long for column 'text' at row 1") | |
The above exception was the direct cause of the following exception: | |
Traceback (most recent call last): | |
File "run.py", line 54, in <module> | |
run() | |
File "run.py", line 28, in run | |
from decksite.main import APP | |
File "C:\Users\Clock\Documents\Projects\Penny-Dreadful-Tools\decksite\main.py", line 10, in <module> | |
from decksite import league as lg | |
File "C:\Users\Clock\Documents\Projects\Penny-Dreadful-Tools\decksite\league.py", line 8, in <module> | |
from magic import legality, rotation | |
File "C:\Users\Clock\Documents\Projects\Penny-Dreadful-Tools\magic\legality.py", line 2, in <module> | |
from magic import oracle, multiverse | |
File "C:\Users\Clock\Documents\Projects\Penny-Dreadful-Tools\magic\oracle.py", line 148, in <module> | |
multiverse.init() | |
File "C:\Users\Clock\Documents\Projects\Penny-Dreadful-Tools\magic\multiverse.py", line 15, in init | |
update_database(str(current_version)) | |
File "C:\Users\Clock\Documents\Projects\Penny-Dreadful-Tools\magic\multiverse.py", line 81, in update_database | |
insert_card(c) | |
File "C:\Users\Clock\Documents\Projects\Penny-Dreadful-Tools\magic\multiverse.py", line 174, in insert_card | |
db().execute(sql, values) | |
File "C:\Users\Clock\Documents\Projects\Penny-Dreadful-Tools\shared\database_mysql.py", line 42, in execute | |
raise DatabaseException('Failed to execute `{sql}` because of `{e}`'.format(sql=sql, e=e)) from e | |
shared.pd_exception.DatabaseException: Failed to execute `INSERT INTO face (name, cmc, name_ascii, card_id, hand, mana_cost, power, image_name, position, toughness, type, life, text, loyalty, starter) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)` because of `(1406, "Data too long for column 'text' at row 1")` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment