Closed GoogleCodeExporter closed 8 years ago
Which Python version is Frescobaldi using? (Look at first line
of /usr/bin/frescobaldi and then type that path with --version appended,
e.g. /usr/bin/python --version)
Original comment by wbsoft
on 10 Jul 2009 at 6:27
2.6.2 (gentoo's 2.6.2-r1 to be exact)
Original comment by grooveha...@gmail.com
on 10 Jul 2009 at 6:32
Thanks, and which version of PyKDE4 and PyQt4? Cause it's a strange error: the
conf.readEntry(name, QStringList()) should definitely return a QStringList,
which
should be accepted by the completion object.
Original comment by wbsoft
on 11 Jul 2009 at 8:46
PyKDE-4.2.4-r2, PyQt-4.5.1.
Original comment by grooveha...@gmail.com
on 11 Jul 2009 at 9:13
Thank you. There are actually two bugs. The first one (Error in sys.excepthook)
is
easily fixed, but the second one (TypeError: argument 1 of
KCompletion.setItems()
has an invalid type) is really strange, and currently looks to me like a bug
somewhere in the Python/Qt/KDE interaction. I'm not on my main development
system so
please bear with me for a while :-) I've yet another version number to ask:
which
version number is your dev-python/sip package?
Original comment by wbsoft
on 16 Jul 2009 at 5:10
i'm afraid i'm also away from my main system for a couple of months, so i can't
give
you any version numbers with confidence, or test anything :( however i'm pretty
sure
i was using sip-4.8.1. also, one thing i noticed is that my Qt version is
4.5.2, but
my PyQt version is still 4.5.1. maybe that is causing problems as an API has
changed
slightly?
Original comment by grooveha...@gmail.com
on 16 Jul 2009 at 6:15
I'll investigate (I have a Gentoo chroot :-) Thanks again for your report and
feedback!
Original comment by wbsoft
on 18 Jul 2009 at 10:50
Original comment by wbsoft
on 18 Jul 2009 at 10:52
The problem is found, it is caused by changes in PyQt 4.5 versus 4.4. The
readEntry
method always returns a QVariant in 4.5, while in earlier versions it returned a
value of the same type as the default argument. To get Frescobaldi working in
PyQt
4.5 i have to change many many calls. I'm investigating what's the best thing
to do
right now and then this bug will be fixed :)
Original comment by wbsoft
on 19 Jul 2009 at 6:14
Caused by incompatibility between PyQt4 4.4.3 and 4.5.2. The code has been
fixed in
r1414 to allow for both versions to work correctly.
Original comment by wbsoft
on 19 Jul 2009 at 7:18
Original issue reported on code.google.com by
grooveha...@gmail.com
on 9 Jul 2009 at 10:47