[PyKDE] Re: Undefined symbol in qtsql and qttable
Ricardo Javier Cardenes Medina
rcardenes at debian.org
Sun Aug 22 21:32:19 BST 2004
from previous message:
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError: /usr/lib/python2.3/site-packages/qttable.so: undefined
> symbol: _ZNK10QTableItem7contentEv
On Sun, Aug 22, 2004 at 05:49:33PM +0200, Nicola Larosa wrote:
> Resolved upgrading to 3.12-2 .
> > How can I diagnose such a problem? Thanks in advance.
> This question still stands, though. :-)
In this case, you get an "undefined symbol" from the system. This means
that the module you're trying to load was built believing that there's a
somewhere in one library of the system (that's the "human readable" form
of _ZNK10QTableItem7contentEv). It was true at least up to Qt 3.2.3, but
Qt 3.3.0 introduced a couple of non-additive changes on the API, that
broke apps wanting to use "QTableItem::content() const". PyQt qtable
module is one of those :-)
The first time I uploaded PyQt 3.12 (3.12-1), there was Qt 3.2.3 at
unstable. A couple of weekends ago, Qt 3.3.0 entered unstable, and I had
to upload it again (3.12-2) so it could be built against the new Qt.
You can see the bug reported (#264385, marked as solved) at:
More information about the PyQt