youfou / pianoteq-pi

A quick way to install Pianoteq and tweak your system on Raspberry Pi ⚡️
Apache License 2.0
130 stars 15 forks source link

modify for Raspberry Pi 5 #7

Open Florisv1 opened 11 months ago

Florisv1 commented 11 months ago

Are you planning to modify the script to work on the Raspberry pi 5?

tedpower commented 11 months ago

Yea, not sure if this is a Rasberry Pi issue or a Pianoteq trial issue, but I got this error:

Traceback (most recent call last):
  File "/home/tedpower/Downloads/setup.py", line 320, in <module>
    with dbm.open(CONFIG_PATH, 'c') as db:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/dbm/__init__.py", line 95, in open
    return mod.open(file, flag, mode)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
_dbm.error: [Errno 2] No such file or directory: '/home/pi/.config/pianoteq-pi.dbm'

These are the steps:

Please let me know if I'm doing something wrong

tedpower commented 11 months ago

OK nvm that was pretty easy — just needed to change the references from 'home/pi' to 'home/[username]' — I think usernames used to always be pi? But now I'm hitting a new error:

Install location (default: "/home/tedpower/"): 

Installing Pianoteq to /home/tedpower/ ...

Pianoteq 7z/zip package not found

Please download Pianoteq from Modartt website and put the 7z/zip package under the same folder.
Download: https://www.modartt.com/user_area#downloads

I wonder if this script somehow isn't compatible with Pianoteq 8 (vs 7)?

erickhavel commented 9 months ago

OK nvm that was pretty easy — just needed to change the references from 'home/pi' to 'home/[username]' — I think usernames used to always be pi? But now I'm hitting a new error:

Install location (default: "/home/tedpower/"): 

Installing Pianoteq to /home/tedpower/ ...

Pianoteq 7z/zip package not found

Please download Pianoteq from Modartt website and put the 7z/zip package under the same folder.
Download: https://www.modartt.com/user_area#downloads

I wonder if this script somehow isn't compatible with Pianoteq 8 (vs 7)?

I'm installing on RPi 3B but had the same issue with the filename. pianoteq_stage_linux_v820.7z worked whereas pianoteq_stage_linux_trial_v820.7z didn't (the regex isn't matching for "trial").