OK so, I have mpf running on windows machine no problem. Everything working.
I also have a machine running ubuntu 19 and it is also running on this fine.
I am trying to use gpio on raspberry pi 4, so I tried installing mpf on it, no dice it has the error about ffpyplayer and cython compiling issue.
So I said I can use one of the machines running mpf and use rpi remote gpio. That has errors also, so I am wondering if the raspberry pi stuff is not being maintained?
There is an error in the apigpio that is using a reserved word in python. As of python 3.7, async is a reserved word and apigpio is using that as a variable. I fixed that and now I get the following error.
Event: ======'shutdown'====== Args={}
closing notifier
required argument is not an integer
Traceback (most recent call last):
File "c:\users\bob\appdata\local\programs\python\python36\lib\site-packages\mpf\commands\game.py", line 228, in __init__
self.machine.run()
File "c:\users\bob\appdata\local\programs\python\python36\lib\site-packages\mpf\core\machine.py", line 693, in run
if not self.initialise_mpf():
File "c:\users\bob\appdata\local\programs\python\python36\lib\site-packages\mpf\core\machine.py", line 682, in initialise_mpf
self._crash_shutdown()
File "c:\users\bob\appdata\local\programs\python\python36\lib\site-packages\mpf\core\machine.py", line 729, in _crash_shutdown
self._do_stop()
File "c:\users\bob\appdata\local\programs\python\python36\lib\site-packages\mpf\core\machine.py", line 720, in _do_stop
self.shutdown()
File "c:\users\bob\appdata\local\programs\python\python36\lib\site-packages\mpf\core\machine.py", line 739, in shutdown
self._platform_stop()
File "c:\users\bob\appdata\local\programs\python\python36\lib\site-packages\mpf\core\machine.py", line 775, in _platform_stop
hardware_platform.stop()
File "c:\users\bob\appdata\local\programs\python\python36\lib\site-packages\mpf\platforms\rpi\rpi.py", line 197, in stop
self.machine.clock.loop.run_until_complete(self.pi.stop())
File "c:\users\bob\appdata\local\programs\python\python36\lib\asyncio\base_events.py", line 467, in run_until_complete
return future.result()
File "c:\users\bob\appdata\local\programs\python\python36\lib\site-packages\apigpio\apigpio.py", line 568, in stop
yield from self._notify.close()
File "c:\users\bob\appdata\local\programs\python\python36\lib\site-packages\apigpio\apigpio.py", line 396, in close
self.handle, 0)
File "c:\users\bob\appdata\local\programs\python\python36\lib\site-packages\apigpio\apigpio.py", line 461, in _pigpio_aio_command
data = struct.pack('IIII', cmd, p1, p2, 0)
struct.error: required argument is not an integer
To view this discussion on the web visit
https://groups.google.com/d/msgid/mpf-users/039301d62259%24be9492d0%243bbdb870%24%40cnctechproductions.com.