pythonでテトリスを作るにあたってwxpythonを使用しているのですが、
このポップアップが表示されるのですが意味がわかりません。教えてください。
python 2.7.13
wxPython 4.0.0b1
macOS 10.12.6
エラー文
Traceback (most recent call last):
File "/Users/KAITO/Downloads/summer-task/tetris-test.py", line 269, in <module>
gamePanel = GamePanel(frame, status)
File "/Users/KAITO/Downloads/summer-task/tetris-test.py", line 179, in init
wx.Rect(BLOCK_BMP_SIZE * i, 0, BLOCK_BMP_SIZE, BLOCK_BMP_SIZE)))
wx._core.wxAssertionError: C++ assertion "IsOk() && (rect.x >= 0) && (rect.y >= 0) && (rect.x+rect.width <= GetWidth()) && (rect.y+rect.height <= GetHeight())" failed at /Users/robind/projects/buildbots/macosx-vm4/dist-osx-py27/Phoenix/ext/wxWidgets/src/osx/core/bitmap.cpp(1126) in GetSubBitmap(): invalid bitmap or bitmap region
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/08/01 08:10