[PyQt] PyQt 5.5 gives TypeError: invalid result type from model.roleNames()
Nenad Ognjanovic
bgr.gyk at gmail.com
Wed Jul 8 17:50:29 BST 2015
Hello,
I've tried out the latest snapshots of PyQt and SIP with Qt 5.5.0, and
I've been getting the following error that didn't happen in previous
versions:
TypeError: invalid result type from my_model.roleNames()
I've extracted the minimal example that reproduces the problem, I've
attached it to this email and as a gist here:
https://gist.github.com/bgr/0fd25c6808260e0b5d0a
Is this a bug or are we now expected to wrap the dict into some kind
of JSValue wrapper or similar?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run_me.py
Type: text/x-python
Size: 2039 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150708/3e77f309/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Application.qml
Type: text/x-qml
Size: 175 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150708/3e77f309/attachment.bin>
More information about the PyQt
mailing list