upgrade error mpf monitor

39 views
Skip to first unread message

nhgi...@gmail.com

unread,
Jun 13, 2021, 7:24:38 PM6/13/21
to MPF Users

I finally decided to upgrade to the new monitor and am now getting this error.

nate@nate-NUC10i5FNK:~/Desktop/mmfr$ mpf monitor
INFO : root : Loading MPF Monitor
ERROR : root : 'QSortFilterProxyModel' object has no attribute 'setRecursiveFilteringEnabled'
Traceback (most recent call last):
  File "/home/nate/.local/lib/python3.6/site-packages/mpfmonitor/commands/monitor.py", line 107, in __init__
    run(machine_path=machine_path, thread_stopper=thread_stopper, config_file=args.configfile)
  File "/home/nate/.local/lib/python3.6/site-packages/mpfmonitor/core/mpfmon.py", line 298, in run
    MPFMonitor(app, machine_path, thread_stopper, config_file, testing=testing)
  File "/home/nate/.local/lib/python3.6/site-packages/mpfmonitor/core/mpfmon.py", line 54, in __init__
    self.device_window = DeviceWindow(self)
  File "/home/nate/.local/lib/python3.6/site-packages/mpfmonitor/core/devices.py", line 317, in __init__
    self.attach_model()
  File "/home/nate/.local/lib/python3.6/site-packages/mpfmonitor/core/devices.py", line 369, in attach_model
    self.filtered_model.setRecursiveFilteringEnabled(True)
AttributeError: 'QSortFilterProxyModel' object has no attribute 'setRecursiveFilteringEnabled'
INFO : root : Stopping child threads... (0 remaining)
INFO : root : All child threads stopped.

I've tried uninstalling monitor and re installing....same problem

jabdoa

unread,
Jun 14, 2021, 3:09:11 AM6/14/21
to MPF Users
Sounds like you need a newer PyQt version. I'm not sure if we properly enforce an new enough version.
 Something such as "pip3 install --upgrade PyQt5“ should help.

Jan

nhgi...@gmail.com

unread,
Jun 14, 2021, 10:57:46 AM6/14/21
to MPF Users
That did the trick, Thanks Jan
Reply all
Reply to author
Forward
0 new messages