sanyaade-g2g-repos / key-mon

Automatically exported from code.google.com/p/key-mon
Apache License 2.0
0 stars 1 forks source link

key-mon starts but does not work (ubuntu 12.10) #124

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run key-mon - fine/good
2. but does not work
3. information of terminal:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/keymon/key_mon.py", line 485, in on_idle
    self.handle_event(event)
  File "/usr/lib/pymodules/python2.7/keymon/key_mon.py", line 514, in handle_event
    self.handle_mouse_scroll(event.value, event.value)
  File "/usr/lib/pymodules/python2.7/keymon/key_mon.py", line 687, in handle_mouse_scroll
    self._handle_event(self.images['MOUSE'], 'SCROLL_UP', 1)
  File "/usr/lib/pymodules/python2.7/keymon/key_mon.py", line 573, in _handle_event
    image.really_pressed = code == 1
AttributeError: can't set attribute

Please provide any additional information below.

Original issue reported on code.google.com by my.sw...@o2.pl on 7 Jan 2013 at 12:43

GoogleCodeExporter commented 9 years ago
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
  File "/usr/lib/pymodules/python2.7/keymon/xlib.py", line 89, in run
  File "/usr/lib/pymodules/python2.7/keymon/xlib.py", line 147, in start_listening
  File "/usr/lib/pymodules/python2.7/Xlib/ext/record.py", line 238, in enable_context
  File "/usr/lib/pymodules/python2.7/Xlib/ext/record.py", line 215, in __init__
  File "/usr/lib/pymodules/python2.7/Xlib/protocol/rq.py", line 1428, in __init__
  File "/usr/lib/pymodules/python2.7/Xlib/protocol/rq.py", line 1440, in reply
  File "/usr/lib/pymodules/python2.7/Xlib/protocol/display.py", line 547, in send_and_recv
  File "/usr/lib/pymodules/python2.7/Xlib/protocol/display.py", line 639, in parse_response
<type 'exceptions.TypeError'>: 'NoneType' object is not callable

Original comment by my.sw...@o2.pl on 7 Jan 2013 at 12:48

GoogleCodeExporter commented 9 years ago
Traceback (most recent call last):
  File "src/keymon/key_mon.py", line 485, in on_idle
    self.handle_event(event)
  File "src/keymon/key_mon.py", line 508, in handle_event
    self.handle_key(code_num, event.code, event.value)
  File "src/keymon/key_mon.py", line 641, in handle_key
    self._handle_event(self.key_image, code, value)
  File "src/keymon/key_mon.py", line 573, in _handle_event
    image.really_pressed = code == 1
I have confirmed this error in latest version, bug introduced in last release.

Original comment by scottaki...@gmail.com on 7 Jan 2013 at 1:21

GoogleCodeExporter commented 9 years ago
Should be fixed in 1.15 released just now.

Original comment by scottaki...@gmail.com on 7 Jan 2013 at 1:36