launchmenu.py now throwing ImportError: libmad.so.0 cannot open shared object file: No such file
  • I haven't made any changes. Pi hadn't been turned on for a while, and when I did it's now throwing this when I run 'python launchmenu.py' :

    alsactl: load_state:1647: Cannot open /home/pi/pimame/config/piplay-sound.state for reading: No such file or directory
    Found hardware: "BRCM bcm2835 AL" "Broadcom Mixer" "" "" ""
    Hardware is initialized using a generic method
    /home/pi/pimame/pimame-menu/pmmenu/pmconfig.py:16: RuntimeWarning: use mixer: libmad.so.0: cannot open shared object file: No such file or directory
    (ImportError: libmad.so.0: cannot open shared object file: No such file or directory)
    pygame.mixer.pre_init(44100, -16, 1, 2048)
    Traceback (most recent call last):
    File "launchmenu.py", line 68, in
    main()
    File "launchmenu.py", line 15, in main
    cfg = PMCfg()
    File "/home/pi/pimame/pimame-menu/pmmenu/pmconfig.py", line 16, in __init__
    pygame.mixer.pre_init(44100, -16, 1, 2048)
    File "/usr/lib/python2.7/dist-packages/pygame/__init__.py", line 74, in __getattr__
    raise NotImplementedError(MissingPygameModule)
    NotImplementedError: mixer module not available
    (ImportError: libmad.so.0: cannot open shared object file: No such file or directory)

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!