Hi all. Trying to get Patchbox set up on a Pi 4B. I have it up & running and I have output on my USB interface (an Expert Sleepers ES9 module) but I can’t get modules working.
Step 1, I ran the apt-get update
script listed elsewhere on this forum, did the system update, rebooted then ran patchbox
and selected the puredata module. Result was this:
/etc/amidiminder.rules -> None
Traceback (most recent call last):
File "/usr/bin/patchbox", line 33, in <module>
sys.exit(load_entry_point('patchbox-cli==1.4.0', 'console_scripts', 'patchbox')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1635, in invoke
rv = super().invoke(ctx)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/patchbox/cli.py", line 40, 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 760, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/decorators.py", line 26, 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 760, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/click/decorators.py", line 26, 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 646, in activate
self._activate_module(module, update_env)
File "/usr/lib/python3/dist-packages/patchbox/module.py", line 662, in _activate_module
self._service_manager.enable_start_unit(service)
File "/usr/lib/python3/dist-packages/patchbox/service.py", line 123, in enable_start_unit
if get_handler_for_service(pservice).handle_activate(pservice):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/patchbox/service.py", line 43, in handle_activate
return PatchboxSymbolicLinkConfHandler.update_symlink(service.environ_value, self.conf_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/patchbox/service.py", line 38, in update_symlink
symlink(src, dst)
TypeError: symlink: src should be string, bytes or os.PathLike, not NoneType
Step 2, I tried selecting the modep module. Everything seemed to work fine, no console errors, I get dumped back at the prompt. I figure I just need to reboot and it will drop me into modep like the docs say. I reboot but I’m just back at the desktop like before & it doesn’t even appear to have installed modep. No difference visible whatsoever.
So one incomprehensible error, one nothing at all. Does anyone have another suggestion?