Menu

#9 PickerDemo Error in V5.2.1

open
nobody
None
5
2012-06-21
2012-06-21
JohnF
No

Updated to qwt-5.2.1 and PyQwt-5.2.1.

All went well.

PickerDemo ends with error when selecting.

TypeError: invalid result type from PickerMachine.transition()

Discussion

  • JohnF

    JohnF - 2012-06-25

    The problem appears to lie in the following code.

    if (PyObject_TypeCheck(
    PyList_GET_ITEM(sipPy, i),
    sipTypeAsPyTypeObject(sipType_QwtPickerMachine_Command)))
    return 0;

    If this is commented out, transition runs ok. Effectively not checking.

     
  • JohnF

    JohnF - 2012-06-25

    Sorry - that previous code is in QList.sip

     

Log in to post a comment.

MongoDB Logo MongoDB