Summary: | app-portage/elogviewer-2.6-r2 - TypeError: unable to convert a QVariant back to a Python object | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Mathias Laurin <Mathias.Laurin+gentoo> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | tools-portage |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Juergen Rose
2016-07-28 13:20:05 UTC
root@lynx:/root(6)# eselect python list Available Python interpreters, in order of preference: [1] python3.4 [2] python3.5 (fallback) [3] python2.7 (fallback) [4] jython2.7 (fallback) Assigning to upstream developer... Sorry, I missed seeing this bug. Juergen, I just added elogviewer-2.7 to the tree. Please try it to see if the problem persists. If it does, please update the version in the bug title. Mathias, are you able to reproduce this error? Was it fixed with your new 2.7 release? Jürgen, thank you for your report. I will see if I can reproduce this. Do you know whether you have PySide, PyQt5, or PyQt4 installed? Or a combination of these? rose@lynx:/home/rose(4)$ qlist -Iv PyQt dev-python/PyQt4-4.12_pre1606101416-r1 dev-python/PyQt5-5.7 rose@lynx:/home/rose(5)$ qlist -Iv pyside dev-python/pyside-1.2.2-r1 dev-python/pyside-tools-0.2.15-r1 Thank you for your quick answer. I should improve logging in my code but your versions of PyQt4 and PyQt5 are "~amd64" and elogviewer is tested on "amd64" only so I am not too surprised. Now I'll need some time to upgrade to "~arch" and see if I get the same error. Hi Jürgen, I cannot reproduce this bug. I refactored the program a bit to improve logging. Could you download the current version on `https://github.com/Synss/elogviewer/tree/gentoo-bug-589910` and start it with `python ./elogviewer.py --log DEBUG` and tell me what you get? In principle, the bug you report means that you are using PyQt4 with api v1. That should not happen because for PyQt4, I explicitly set api v2. api v2 does not have QVariant... It could be that one of the Qt5 dependencies is missing but the ebuild should handle that as well. So I really do not know... 2.9 also works fine for me, please check with that one elogviewer-2.9 seems to work for me. |