Can't load Patchbox Modules

hello!

I’m not a new user of pisound nor patchbox, but I’ve been away from it lately. I flashed a new sd card with the latest patchbox os. I get to the patchbox wizard and configure everything ok but when I get to the “Modules” page I get an error when I try to load a module, any module… and If I try again, same issue, always.
if I choose “none” I go to patchbox os environment and everything works, beside the modules.

can anyone help?

here is a video recording

this is what I get in the terminal after trying to install a module for Pd:

Manager: puredata.module install script found: /usr/local/patchbox-modules/puredata/install.sh
Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]      
Hit:3 http://apt.blokas.io rpi InRelease                                       
Reading package lists... Done   
E: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/patchbox/module.py", line 622, in _install_module
    'Failed to install {}.module via {} script'.format(module.name, os.path.join(module.path, module.has_install)))
patchbox.module.ModuleError: Failed to install puredata.module via /usr/local/patchbox-modules/puredata/install.sh script

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/patchbox", line 11, in <module>
    load_entry_point('patchbox-cli==1.0', 'console_scripts', 'patchbox')()
  File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1114, in invoke
    return Command.invoke(self, ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3/dist-packages/patchbox/cli.py", line 39, in cli
    do_group_menu(ctx, cancel='Exit')
  File "/usr/lib/python3/dist-packages/patchbox/utils.py", line 203, in do_group_menu
    ctx.invoke(ctx.command.get_command(ctx, cmd))
  File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3/dist-packages/patchbox/modules/module/cli.py", line 33, in cli
    ctx.invoke(ctx.command.get_command(ctx, 'config'))
  File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3/dist-packages/patchbox/modules/module/cli.py", line 176, in config
    do_go_back_if_ineractive(ctx, steps=2, silent=True)
  File "/usr/lib/python3/dist-packages/patchbox/utils.py", line 280, in do_go_back_if_ineractive
    ctx.invoke(context.command)
  File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3/dist-packages/patchbox/cli.py", line 39, in cli
    do_group_menu(ctx, cancel='Exit')
  File "/usr/lib/python3/dist-packages/patchbox/utils.py", line 203, in do_group_menu
    ctx.invoke(ctx.command.get_command(ctx, cmd))
  File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3/dist-packages/patchbox/modules/kernel/cli.py", line 155, in cli
    do_group_menu(ctx)
  File "/usr/lib/python3/dist-packages/patchbox/utils.py", line 196, in do_group_menu
    go_home_or_exit(ctx)
  File "/usr/lib/python3/dist-packages/patchbox/utils.py", line 172, in go_home_or_exit
    ctx.invoke(context.parent.command)
  File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3/dist-packages/patchbox/cli.py", line 39, in cli
    do_group_menu(ctx, cancel='Exit')
  File "/usr/lib/python3/dist-packages/patchbox/utils.py", line 203, in do_group_menu
    ctx.invoke(ctx.command.get_command(ctx, cmd))
  File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/patchbox/modules/info/cli.py", line 80, in cli
    do_go_back_if_ineractive()
  File "/usr/lib/python3/dist-packages/patchbox/utils.py", line 280, in do_go_back_if_ineractive
    ctx.invoke(context.command)
  File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3/dist-packages/patchbox/cli.py", line 39, in cli
    do_group_menu(ctx, cancel='Exit')
  File "/usr/lib/python3/dist-packages/patchbox/utils.py", line 203, in do_group_menu
    ctx.invoke(ctx.command.get_command(ctx, cmd))
  File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3/dist-packages/patchbox/modules/module/cli.py", line 33, in cli
    ctx.invoke(ctx.command.get_command(ctx, 'config'))
  File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3/dist-packages/patchbox/modules/module/cli.py", line 185, in config
    manager.activate(module, autolaunch=False, autoinstall=True)
  File "/usr/lib/python3/dist-packages/patchbox/module.py", line 636, in activate
    self._install_module(module)
  File "/usr/lib/python3/dist-packages/patchbox/module.py", line 625, in _install_module
    'Failed to install {}.module via {} script'.format(module.name, os.path.join(module.path, module.has_install)))
patchbox.module.ModuleError: Failed to install puredata.module via /usr/local/patchbox-modules/puredata/install.sh script

SOLVED :white_check_mark: did sudo apt update && sudo apt install pd and somehow it worked, didn’t try any more modules, just Pd.

Hey, this command was necessary to fix patchbox utility:

sudo apt-get update --allow-releaseinfo-change --fix-missing

You probably ran it before, to get around the apt warnings. :slight_smile:

Unfortunately we can’t deliver this fix easily (as it’d come via apt itself, which won’t work, until the above command is run), so users manually must run this command. I’ve updated the Patchbox OS download topic to make this command more explicit.

1 Like

thanks for the info @Giedrius! got it working ok :slightly_smiling_face: you’re probably right, I probably ran it before but forgot about it :upside_down_face: