Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated for Pianoteq 8 and new RaspberryPi OS / Raspberry Pi 5 #8

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ven0ms99
Copy link

A few edits according to this thread on the official Pianoteq forum. To quote the user "Yannick":

On raspbian bullseye, because changes were made to the default "pi" user and group, this script doesn't work straight out of the box anymore. However, by slightly altering the setup.py file it still works like a charm! (tested on the 64bit version) here's how: change all the paths in setup.py from "/home/pi/..." to "/home/MyUserName/..." (if you're working from the home directory) , and at the end of the script there are some lines referring to "pi:pi" . just change these to "MyUserName:MyUserName". Hope this helps someone out.

In this pull request I just added the necessary changes to make the script work again with the latest changes of RaspberryPi OS. For that, I introduced a couple new variables at the start of the script.

Fully tested and 100% working on the latest RaspberryPi OS with a RaspberryPi 5.

@davebixby
Copy link

Hi,

I tested the script you corrected on my Raspberry pi 5 8go configuration, I changed the /home/pi/ and the pi:pi by my username. The setup.py is in the same folder as the 7z Pianoteq 8 package. However, when I run the script, the Pianoteq 7z/zip package is not found.
Could you help me? Do I need to change anything else in the script? Change the name of the 7z.
The script and the 7z are in /home/username/

Thanks

@andyubird
Copy link

Hi,

I tested the script you corrected on my Raspberry pi 5 8go configuration, I changed the /home/pi/ and the pi:pi by my username. The setup.py is in the same folder as the 7z Pianoteq 8 package. However, when I run the script, the Pianoteq 7z/zip package is not found. Could you help me? Do I need to change anything else in the script? Change the name of the 7z. The script and the 7z are in /home/username/

Thanks

The package name needs to fit the regex in th setup.py so it could be found.
Specifically this line:
re.search(r'^pianoteq\w*_linux_v?\d*\.(7z|zip)$', fn)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants