agwells / pywo

Automatically exported from code.google.com/p/pywo
GNU General Public License v3.0
0 stars 0 forks source link

Crashes on an unrecognized keypress #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I accidentally hit a key combination I'm unfortunately not able to reproduce. 
It threw this exception:

Exception in thread EventDispatcher:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/akaihola/repos/desktop/pywo/kosciak1/pywo/core.py", line 341, in run
    self.__dispatch(self.__display.next_event())
  File "/home/akaihola/repos/desktop/pywo/kosciak1/pywo/core.py", line 417, in __dispatch
    handler.handle_event(event)
  File "/home/akaihola/repos/desktop/pywo/kosciak1/pywo/events.py", line 88, in handle_event
    handler_method(event)
  File "/home/akaihola/repos/desktop/pywo/kosciak1/pywo/services/keyboard_service.py", line 47, in key_press
    log.excetpion('Unrecognized key!')
AttributeError: Logger instance has no attribute 'excetpion'

There's obviously a typo in keyboard_service.py on line 47.

Original issue reported on code.google.com by akaih...@gmail.com on 8 Feb 2011 at 7:57

GoogleCodeExporter commented 9 years ago
Yeah, a nasty typo. Thanks for the information! I've just commited fixed 
version to the repository.

Original comment by kosci...@gmail.com on 8 Feb 2011 at 5:45