You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is supposed to override the mode for "my_first_shot" shot. But it triggers this Exception:
ERROR : Machine : Runtime Exception
Traceback (most recent call last):
File "envs/mpf-056/lib/python3.9/site-packages/mpf/core/machine.py", line 797, in _run_loop
raise self._exception['exception']
File "lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "envs/mpf-056/lib/python3.9/site-packages/mpf/core/events.py", line 121, in _async_handler_done
future.result()
File "envs/mpf-056/lib/python3.9/site-packages/mpf/core/device_manager.py", line 90, in _load_device_modules
await self.machine.mode_controller.load_mode_devices()
File "envs/mpf-056/lib/python3.9/site-packages/mpf/core/mode_controller.py", line 86, in load_mode_devices
await mode.load_mode_devices()
File "envs/mpf-056/lib/python3.9/site-packages/mpf/core/mode.py", line 438, in load_mode_devices
device.overload_config_in_mode(self, settings)
File "envs/mpf-056/lib/python3.9/site-packages/mpf/core/mode_device.py", line 56, in overload_config_in_mode
raise AssertionError("Device {} cannot be overloaded.".format(self))
AssertionError: Device <shot.my_first_shot> cannot be overloaded.
Please note, that actually, the tutorial actually define an other shos instead of overloading "my_first_shot":
This is what is triggering the error. The tutorial in step 18 (in mpc-examples repository) use the "other shot", so I think this is a known problem. But the tutorial is wrong saying that (it does not work)
However, unlike the "my_first_shot" entry in the base mode config, in the mode2 config we did NOT redefine the switch: or show_tokens: entries. Instead, we just added the profile: setting and told it to use a profile called mode2.
mpf version 0.56.2
mpf-mc version 0.56.1
The text was updated successfully, but these errors were encountered:
I am following the tutorial and at the 18th step (https://missionpinball.org/tutorial/18_shots/)
Is supposed to override the mode for "my_first_shot" shot. But it triggers this Exception:
Please note, that actually, the tutorial actually define an other shos instead of overloading "my_first_shot":
But a few line after, the supposed block is shown
This is what is triggering the error. The tutorial in step 18 (in mpc-examples repository) use the "other shot", so I think this is a known problem. But the tutorial is wrong saying that (it does not work)
mpf version 0.56.2
mpf-mc version 0.56.1
The text was updated successfully, but these errors were encountered: