[arch-general] AUR app Frescobaldi not working due to bug in current PyQt version

Sébastien Leblanc leblancsebas at gmail.com
Wed Mar 13 10:24:08 EDT 2013

Hi there, I recently updated my machine and found out that a Python
AUR app named Frescobaldi would no longer run on my system. I
contacted the developer (wbsoft) and we tracked down the issue to a
PyQt bug in which a tokenizer for syntax highlighting and parsing does
not cache its response, leading to a method getting executed around
50,000 times for every line of text, instead of once. Wbsoft also
confirmed that this bug affected other Python IDE-like apps built on

Another issue related to that bug is the score wizard (in Tools >
Setup new score) not generating a score (try the preview button).

Wbsoft contacted developers at Riverbank Software (PyQt upstream) and
we got a reply that it would be fixed in yesterday's nightly snapshot.
(which they did in changeset 1723f580e589 in the
"ChangeLog-snapshot-*" page at

I tried to modify the PyQt PKGBUILD to use that snapshot but I was
unable to finally make it work (it seems that on my build, the QtCore
library is not linking against libpython2.7 as it is missing some
symbols pertaining to PyUnicode functions or types on runtime).

Is anyone able to patch PyQt with these fixes? I have the
"1723f580e589" tarball on my system, if anyone needs it.

Thanks for help!


Sébastien Leblanc

More information about the arch-general mailing list