2020-01-25 16:28:48,727 : INFO : EventManager : Event: ======'player_turn_will_end'====== Args={'player': <Player 1>, 'number': 1}
2020-01-25 16:28:48,786 : INFO : EventManager : Event: ======'player_turn_ending'====== Args={'player': <Player 1>, 'number': 1}
2020-01-25 16:28:48,788 : INFO : EventManager : Event: ======'player_turn_ended'====== Args={'player': <Player 1>, 'number': 1}
2020-01-25 16:28:48,789 : INFO : EventManager : Event: ======'game_will_end'====== Args={}
2020-01-25 16:28:48,790 : INFO : EventManager : Event: ======'game_ending'====== Args={}
2020-01-25 16:28:48,791 : INFO : EventManager : Event: ======'mode_high_score_will_start'====== Args={'queue': <QueuedEvent>}
2020-01-25 16:28:48,793 : INFO : EventManager : Event: ======'mode_high_score_starting'====== Args={'queue': <QueuedEvent>}
2020-01-25 16:28:48,794 : INFO : Mode.high_score : Started. Priority: 500
2020-01-25 16:28:48,794 : INFO : EventManager : Event: ======'mode_high_score_started'====== Args={'queue': <QueuedEvent>}
2020-01-25 16:28:48,795 : INFO : Mode.high_score : New high score. Player: <Player 1>, award_label: HIGH SCORE 1, Value: 500440
2020-01-25 16:28:48,796 : INFO : EventManager : Event: ======'high_score_enter_initials'====== Args={'award': 'HIGH SCORE 1', 'player_num': 1, 'value': 500440}
2020-01-25 16:28:49,463 : INFO : Machine : Shutting down...
2020-01-25 16:28:49,036 : mpfmc : SlidePlayer: Play called with settings={'high_score_enter_initials': {'target': None, 'background_color': [0.0, 0.0, 0.0, 1.0], 'priority': None, 'show': True, 'force': False, 'expire': None, 'slide': None, 'tokens': {}, 'action': 'play'}}
2020-01-25 16:28:49,060 : kivy : Base: Leaving application in progress...
2020-01-25 16:28:49,060 : kivy : Exception while processing RegisteredHandler(callback=<bound method McConfigPlayer.play_from_trigger of McConfigPlayer.slides>, priority=1, kwargs={}, key=UUID('d7e74add-d4ac-492b-a081-4b59f5911f77'), condition=None, blocking_facility=None) for event slides_play
Traceback (most recent call last):
File "c:\users\andrew\appdata\local\programs\python\python36\lib\site-packages\mpfmc\uix\widget.py", line 389, in _apply_style
styles = [self.mc.machine_config['widget_styles'][s] for s in self.config['style']]
File "c:\users\andrew\appdata\local\programs\python\python36\lib\site-packages\mpfmc\uix\widget.py", line 389, in <listcomp>
styles = [self.mc.machine_config['widget_styles'][s] for s in self.config['style']]
KeyError: 'dmd_big'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\andrew\appdata\local\programs\python\python36\lib\site-packages\mpf\core\events.py", line 665, in _run_handlers
result = handler.callback(**merged_kwargs)
File "c:\users\andrew\appdata\local\programs\python\python36\lib\site-packages\mpfmc\core\mc_config_player.py", line 56, in play_from_trigger
self.play(settings=settings, context=context, calling_context=calling_context, priority=priority, **kwargs)
File "c:\users\andrew\appdata\local\programs\python\python36\lib\site-packages\mpfmc\config_players\slide_player.py", line 161, in play
target.show_slide(slide_name=slide, key=full_context, play_kwargs=s['tokens'], **s)
File "c:\users\andrew\appdata\local\programs\python\python36\lib\site-packages\mpfmc\uix\display.py", line 349, in show_slide
play_kwargs=play_kwargs)
File "c:\users\andrew\appdata\local\programs\python\python36\lib\site-packages\mpfmc\uix\display.py", line 309, in add_slide
play_kwargs=play_kwargs)
File "c:\users\andrew\appdata\local\programs\python\python36\lib\site-packages\mpfmc\uix\slide.py", line 67, in __init__
play_kwargs=play_kwargs)
File "c:\users\andrew\appdata\local\programs\python\python36\lib\site-packages\mpfmc\uix\widget.py", line 909, in create_widget_objects_from_config
mc=mc, config=widget, key=this_key, play_kwargs=play_kwargs)
File "c:\users\andrew\appdata\local\programs\python\python36\lib\site-packages\mpfmc\widgets\text.py", line 82, in __init__
super().__init__(mc=mc, config=config, key=key)
File "c:\users\andrew\appdata\local\programs\python\python36\lib\site-packages\mpfmc\uix\widget.py", line 102, in __init__
self._apply_style()
File "c:\users\andrew\appdata\local\programs\python\python36\lib\site-packages\mpfmc\uix\widget.py", line 397, in _apply_style
self, e))
ValueError: <Text Widget text=> has an invalid style name: 'dmd_big'Thanks for reporting this and for the PR. And yes I renamed the default styles. The reason for that is that we want to be able to use the same modes for DMD and LCD machines by just changing the style definitions (to a certain extend). I missed those references in the docs because they are not tested (because they are incomplete configs). I will change that to make sure we do not break it again in the future. As you know: If it ain't tested consider it broken.
Anyways help in this area is welcome. I'm not so much of a visual guy or a good GUI/frontend developer. The default slides in those modes could use some love. If you are interested in that area there are a quite a few things to improve.
Jan