タスク: pygame.mixerが実行されないようにする
Issue #573
resolved
Comments (4)
-
reporter -
reporter - changed status to resolved
-
Traceback (most recent call last): File "cardwirth.py", line 33, in <module> main() File "cardwirth.py", line 27, in main app = cw.frame.MyApp(0) File "wx\_core.pyo", line 8628, in __init__ File "wx\_core.pyo", line 8196, in _BootstrapApp File "cw\frame.pyo", line 1313, in OnInit File "cw\frame.pyo", line 57, in __init__ File "cw\frame.pyo", line 141, in _start_wx File "cw\thread.pyo", line 54, in __init__ File "cw\thread.pyo", line 71, in init_pygame File "cw\util.pyo", line 538, in init AttributeError: 'NoneType' object has no attribute 'setting' Traceback (most recent call last): File "cw\frame.pyo", line 517, in OnDestroy AttributeError: 'NoneType' object has no attribute '_running'
存在しないサウンドフォントにチェックがある状態で起動しようとするとエラーが出るのですが、
if cw.cwpy.setting.sdlmixer_enabled:
のAttributeエラーで止まっているということは 多分起動時はsettingより早く初期化してるからでしょうか? -
reporter pull request #2066
そうですね、うっかりしていました。ありがとうございます。
- Log in to comment
pull request #2064