Crash on mouse movement
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pystromo |
Fix Released
|
Undecided
|
Raumkraut |
Bug Description
System (kind of exotic :-):
SLED 10 SP1 64bit
kernel: 2.6.16.46-0.14-smp
python: 2.4.2-18.10
uinput is loaded, udev rules are in place
Logitech MX510: Bus 001 Device 004: ID 046d:c01d Logitech, Inc.
-------
georg@blaine:
Using output: <devices.
Using device: <InputDevice "mx510" on 1 device nodes>
As soon as I move the mouse I get a crash with the following error:
Traceback (most recent call last):
File "./input-
events = devices.
File "/home/
events.
File "/home/
return self.readNode(node)
File "/home/
event = self.Event(
File "/home/
self.
File "/home/
tup = struct.
struct.error: unpack str size does not match format
I have a N52 too, it also crashes with a similiar output, not when I press a button but after a seemingly random time.
Contact me if I can run some tests for you.
Changed in pystromo: | |
status: | Fix Committed → Fix Released |
I suspect this is due to your system being 64-bit.
Could you try changing line #16 of events.py:
format = 'LLHHl'
to:
format = 'LLHHi'
or, failing that:
format = '=LLHHi'
or possibly even:
format = '=LLHHl'