Closed Mebus closed 7 years ago
This is a problem with python-keyring. I've seen the 2nd error ("the PyQt4.QtCore and PyQt5.QtCore modules both wrap the QObject class") before and I believe python-keyring version 7.0 or later should fix it. See https://github.com/jaraco/keyring/issues/170
If the first error persists after you upgrade python-keyring then one of us needs to file a bug on python-keyring. I'm happy to do it if I can reproduce the problem.
Mebus, did you make any progress with solving this problem?
No.
What version of python-keyring are you using?
Hi! I am using "python-keyring-5.0-2.fc23.noarch".
This is interesting:
Python 2.7.11 (default, Mar 31 2016, 20:46:51)
[GCC 5.3.1 20151207 (Red Hat 5.3.1-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import keyring
/usr/lib/python2.7/site-packages/keyring/backends/Gnome.py:6: PyGIWarning: GnomeKeyring was imported without specifying a version first. Use gi.require_version('GnomeKeyring', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import GnomeKeyring
>>>
Greetings
Mebus
If you upgrade python-keyring to 7.0 or later then Photini should work. The 'PyGIWarning' message is just a warning and can be ignored. (It's to encourage authors of packages that import glib stuff to explicitly state the version they want.) An alternative would be to remove python-qt5, but I think that's more likely to cause problems for other software.
Hi!
I got the same error:
RuntimeError: the PyQt4.QtCore and PyQt5.QtCore modules both wrap the QObject class
When I check the version of python-keyring, it's already 7.3
python-keyring (7.3-1ubuntu1)
Is there any way that Photini works?
I'm using it without any problem on Linux Mint (an Ubuntu based system) so it should be possible. Note that Photini will fall back to using PyQt4 if it fails to import all the required parts of PyQt5, which might also be causing this. A possible missing component could be qt5-webkit
.
I get this error message:
Mebus