-
Notifications
You must be signed in to change notification settings - Fork 11
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
qpageview could not find PyQt5 #30
Comments
Have you followed the instructions at https://github.com/frescobaldi/frescobaldi/blob/master/INSTALL.md? If this doesn't work, please paste the output of each step. Thanks. |
Hi @abeq! A couple of us are finishing up a Qt 6 port of Frescobaldi and qpageview. Since you're installing from source, would you be willing to help us test it? The port is much easier to install on Windows because of simplified dependencies. (I run Windows myself and can help with the process.) |
I get the same error on Ubuntu 24.10. I followed the INSTALL.md instructions. |
If you're running the latest version from Git, note we're using PyQt6 now. The INSTALL.md instructions are slightly out of date in that regard (I guess we should probably update them). |
Yes, I noticed. According to the error message pip subprocess seems to require PyQt5 for some reason. I've tried installing both 5 and 6 without luck. Everything seems to work when I copied qpageview from Git. Problem with pip setup? However, the PointAndClick feature does not work, so there is still something wrong with my setup.
|
Are you trying to install qpageview from pip? That's still the old PyQt5 version (we only recently merged the Qt 6 port). |
I tried with pip, running setup.py and copying files to frescobaldi_app directory. |
If you're talking about the latest from Git, I just run it from the source directory:
The Git code is by definition work in progress, so I'd wait for the release before trying to install it. We will have installation and packaging worked out by then. |
Thanks, this worked. Afterwards I noticed that point-and-click feature was not working, so I tried to track down the cause of it which was that I had ‘@’ sign in the path where lilypond-files were stored. This was converted to ‘%40’ and that’s why links were not correctly added to self._links at pointandclick.py.
|
What is the path in question? I'll see if I can reproduce the problem here. This is all stuff I reworked for the Qt 6 port, so wherever the problem winds up being it's probably something I wrote. :) |
This was tricky one to reproduce. It seems that two conditions must be met to break the path: it has to have '@' and a scandinavian letter 'ä' ('a' with two dots). So this path fails: /home/john/first.last@domain.com/music/Ä/song.ly. |
This fixes a bug reported in frescobaldi/qpageview#30 where point-and-click fails when the filename contains both punctuation and non-latin1 characters.
OK, the bug here was not at all what I expected. It turns out Frescobaldi was using its own URL-unquoting logic for |
I want to setup for Frescobaldi as Frescobaldi 3 on
https://www.frescobaldi.org/download
with Windows11.I have installed PyQt5 with
Then I try to install qpageview with
but return error with
Please advise.
The text was updated successfully, but these errors were encountered: