MPF MC no longer working after v0.53.1 update on Windows

38 views
Skip to first unread message

Andrew B

unread,
Jan 24, 2020, 7:38:31 PM1/24/20
to MPF Users
Hi guys,

I updated to v0.53.1 on Windows this morning but am getting an error every time i try to run "mpf mc"

The error output is as follows:

kivy: Factory: 184 symbols loaded
kivy: Image: Providers: img_tex, img_dds, img_pil, img_gif (img_sdl2, img_ffpyplayer ignored)
kivy: VideoGstplayer: Using Gstreamer 1.16.0.0
kivy: Video: Provider: gstplayer
Traceback (most recent call last):
  File "C:\Users\Andrew\AppData\Local\Programs\Python\Python36\Scripts\mpf-script.py", line 11, in <module>
    load_entry_point('mpf==0.53.1', 'console_scripts', 'mpf')()
  File "c:\users\andrew\appdata\local\programs\python\python36\lib\site-packages\mpf\commands\__init__.py", line 175, in run_from_command_line
    CommandLineUtility(path).execute()
  File "c:\users\andrew\appdata\local\programs\python\python36\lib\site-packages\mpf\commands\__init__.py", line 151, in execute
    *self.parse_args())
  File "c:\users\andrew\appdata\local\programs\python\python36\lib\site-packages\mpfmc\commands\mc.py", line 204, in __init__
    from mpfmc.core.mc import MpfMc
  File "c:\users\andrew\appdata\local\programs\python\python36\lib\site-packages\mpfmc\core\mc.py", line 43, in <module>
    from mpfmc.assets.bitmap_font import BitmapFontAsset
  File "c:\users\andrew\appdata\local\programs\python\python36\lib\site-packages\mpfmc\assets\bitmap_font.py", line 3, in <module>
    from mpfmc.uix.bitmap_font.bitmap_font import BitmapFont
ImportError: DLL load failed: The specified module could not be found.

Looks like it's getting stuck on something to do with fonts. The only fonts I have in my project were copied from from demo_man project.

Any ideas on how to solve this?

Thanks :)

Andrew B

unread,
Jan 24, 2020, 11:38:56 PM1/24/20
to MPF Users
I've been able to resolve the issue.

I installed the kivy packages again by running:

pip3 install kivy.deps.sdl2 kivy.deps.sdl2_dev kivy.deps.glew kivy.deps.gstreamer kivy.deps.glew-dev

I then ran:
 
pip3 install --upgrade mpf mpf-mc mpf-monitor

This now allows me to have MC running again,. now at version 0.53.1

jabdoa

unread,
Jan 25, 2020, 5:25:27 PM1/25/20
to MPF Users
Thanks for the heads up. Those renamed kivy dependencies are a bit of a pain unfortunately. Glad you got it worked out.

Jan

Reply all
Reply to author
Forward
0 new messages