App crashed when field "Date" is empty

Bug #1463768 reported by Pavel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shellper
Confirmed
Medium
Mikhail Ivanov

Bug Description

When field "Date" is empty and fields "Description", "Time" is filled application crashed

Traceback (most recent call last):
   File "shellper/ui/main.py", line 204, in <module>
     ShellperApp().run()
   File "/usr/lib/python2.7/dist-packages/kivy/app.py", line 600, in run
     runTouchApp()
   File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 454, in runTouchApp
     EventLoop.window.mainloop()
   File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_pygame.py", line 325, in mainloop
     self._mainloop()
   File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_pygame.py", line 231, in _mainloop
     EventLoop.idle()
   File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 297, in idle
     self.dispatch_input()
   File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 284, in dispatch_input
     post_dispatch_input(*pop(0))
   File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 253, in post_dispatch_input
     wid.dispatch('on_touch_up', me)
   File "_event.pyx", line 285, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:4184)
   File "/usr/lib/python2.7/dist-packages/kivy/uix/button.py", line 140, in on_touch_up
     self.dispatch('on_release')
   File "_event.pyx", line 281, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:4134)
   File "shellper/ui/main.py", line 64, in callback
     base.Base().create_event(i)
   File "/home/pavel/shellper/shellper/base.py", line 95, in create_event
     datelist = map(int, datelist)
 ValueError: invalid literal for int() with base 10: ''

Tags: ui
Changed in shellper:
importance: High → Medium
tags: added: ui
Revision history for this message
Mikhail Ivanov (mivanov) wrote :
Changed in shellper:
status: New → In Progress
status: In Progress → Fix Committed
Changed in shellper:
status: Fix Committed → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.