[PyQt] PyQt 5.5 gives TypeError: invalid result type from model.roleNames()
Nenad Ognjanovic
bgr.gyk at gmail.com
Wed Jul 8 19:07:39 BST 2015
Sorry, the details were in the attached source, here they are again:
Works with: SIP 4.16.6-snapshot-bf261aa4b322, PyQt 5.4.1, Qt 5.4.1, Python 3.4
Errors with: SIP 4.16.9-snapshot-8dd533ab6ce9, PyQt
5.5-snapshot-6fd628724de4, Qt 5.5.0, Python 3.4
On Wed, Jul 8, 2015 at 6:57 PM, Phil Thompson
<phil at riverbankcomputing.com> wrote:
> On 08/07/2015 5:50 pm, Nenad Ognjanovic wrote:
>>
>> 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?
>
>
> Previous versions of what, PyQt or Qt? Which version?
>
> Phil
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
More information about the PyQt
mailing list