Menu

#57 Crash report: AttributeError: 'EraEditorDialog' object has no attribute 'on_return'

closed
nobody
crash (56)
2015-05-10
2015-05-08
No

Attempted to enter the start and end dates for the Baroque Period (1600-1750)

Traceback (most recent call last):
  File "timelinelib\wxgui\components\gregoriandatetimepicker.pyc", line 257, in on_key_down
  File "timelinelib\wxgui\components\gregoriandatetimepicker.pyc", line 44, in on_return
AttributeError: 'EraEditorDialog' object has no attribute 'on_return'

Timeline version: 1.6.0
System version: Windows, WBWIUSR9ZGWYG, 7, 6.1.7601, AMD64, Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
Python version: 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)]
wxPython version: 2.8.12.1 (msw-unicode)

Discussion

  • roger lindberg

    roger lindberg - 2015-05-10

    The problem can be recreated as follows:
    - Open the Era edit
    - Place the cursor in a date field
    - Klick Enter key

     
  • roger lindberg

    roger lindberg - 2015-05-10

    Problem Solved: Added the on_return attribute to the EraEditorDialog and made it call the controller on_btn_ok method.

     
  • roger lindberg

    roger lindberg - 2015-05-10
    • status: open --> closed
     

Log in to post a comment.