Menu

#78 Crash report: TypeError: unsupported operand type(s) for +: 'int' and 'TimeDelta'

closed
nobody
crash (56)
2015-07-02
2015-07-02
No

I created a couple of events, and then tried to create a period event and got this error and was not able to insert the end value.

Traceback (most recent call last):
File "timeline-1.6.0/source/timelinelib/wxgui/dialogs/eventeditor.py", line 188, in _chb_period_on_checkbox
self.set_end(self.get_start() + delta_from_days(1))
TypeError: unsupported operand type(s) for +: 'int' and 'TimeDelta'

Timeline version: 1.6.0
System version: Linux, hugo-Vostro-1520, 3.13.0-24-generic, #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014, x86_64, x86_64
Python version: 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2]
wxPython version: 2.8.12.1 (gtk2-unicode)

Discussion

  • roger lindberg

    roger lindberg - 2015-07-02

    Describe what you did here...

    Traceback (most recent call last):
    File "timelinelib\wxgui\dialogs\eventeditor.pyc", line 188, in _chb_period_on_checkbox
    TypeError: unsupported operand type(s) for +: 'int' and 'TimeDelta'

    Timeline version: 1.6.0
    System version: Windows, PC_82QB5, 8, 6.2.9200, AMD64, Intel64 Family 6 Model 45 Stepping 7, 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)

     
  • roger lindberg

    roger lindberg - 2015-07-02

    It's very easy to reproduce.

    • Create a new Numeric timeline
    • Doubleclick to open the event editor
    • Check period
     
  • roger lindberg

    roger lindberg - 2015-07-02
    • status: open --> closed
     
  • roger lindberg

    roger lindberg - 2015-07-02

    This problem seems to have been fixed i version 1.7.0, but instead another error occured when trying to ok the event in a numeric timeline. This error is now fixed.

     

Log in to post a comment.

MongoDB Logo MongoDB