-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
PyCapsule_GetPointer called with incorrect name #28362
Comments
Author Name: Jürgen Fischer (@jef-n)
Traceback (most recent call last): Python version: QGIS version: Python path:
|
Author Name: codywohlers _ (codywohlers _) codywohlers _ wrote: Installed a fresh up to date Neon in a vm and got the same error I got during my original install, and my workaround doesn't work I guess as I get the same error when I run it as I do on my main system.
So I tried a workaround by making a fake package for @qtbase-abi-5-9-5@ (similar to https://gis.stackexchange.com/a/264244 ) since it's just a virtual package for @libqt5core5a@, which is installed.
and then got @qgis@ to install but I still get an error when I run it.
So then I tried using pip to install @PyQt5@
and now I get the same error I get on my main system.
Is there a problem with my workaround? How should python/pip/sip be configured? |
Author Name: codywohlers _ (codywohlers _) So I think it's an issue with KDE Neon (and Kubuntu). I've seen several other python-based apps that don't work anymore. The latest Neon is based on ubuntu 18.04 (bionic) but uses libqt5core5a 5.11.2. But ubuntu only has 5.9.5 in the @bionic@ repo and 5.11.1 and above is in the @cosmic@ repo. https://packages.ubuntu.com/bionic/libqt5core5a (5.9.5) and downgrading isn't an option :(
I guess qgis 3.4.1 needs qt 5.9.5? My fake package pointing to 5.11.2 obviously didn't work... |
Author Name: codywohlers _ (codywohlers _) Found a similar bug for @qgis 3.2.0@ where an update of @pyqt5-common (5.10.1-7 -> 5.11.2-1)@ caused qgis to stop working. The bug was closed as "fixed" with no explanation of the solution. For fun I tried:
but I get a new error
|
Author Name: codywohlers _ (codywohlers _) -I'm running it without Python support for now. But I notice I can't see layers anymore if I move them to a group. Is that related to this bug?- |
Author Name: codywohlers _ (codywohlers _) QGIS installs successfully on a Ubuntu 18.04.1 vm. I compared the following directories and found no difference in file contents:
-/usr/lib/python3/dist-packages- Why won't it run? |
Author Name: codywohlers _ (codywohlers _) These are the only differences in packages between Neon and Ubuntu:
|
Author Name: codywohlers _ (codywohlers _) WORKAROUND: Got it working by copying
from an Ubuntu install and over-write that folder in Neon. |
Author Name: Jürgen Fischer (@jef-n) codywohlers _ wrote:
Ok, it's a neon issue.
|
Author Name: codywohlers _ (codywohlers )
Original Redmine Issue: 20542
Affected QGIS version: 3.4.1
Redmine category:python_bindings/_sipify
The text was updated successfully, but these errors were encountered: