← Back to team overview

handbox team mailing list archive

[Bug 1463768] Re: App crashed when field "Date" is empty

 

http://25.43.161.141:8778/#/c/94/

** Changed in: shellper
       Status: New => In Progress

** Changed in: shellper
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of handbox,
which is subscribed to shellper.
Matching subscriptions: bugs
https://bugs.launchpad.net/bugs/1463768

Title:
  App crashed when field "Date" is empty

Status in Shellper - personal helper:
  Fix Committed

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: ''

To manage notifications about this bug go to:
https://bugs.launchpad.net/shellper/+bug/1463768/+subscriptions


References