pnegre / python-whiteboard

Linux whiteboard in python
http://wiki.github.com/pnegre/python-whiteboard/
GNU General Public License v2.0
117 stars 23 forks source link

Problem with limits (out of boudaries?) #1

Closed pingflood closed 14 years ago

pingflood commented 14 years ago

Using 0.8.4 on Ubuntu 10.04

Log:

$ python-whiteboard Using directory: /usr/lib/python-whiteboard /usr/share/qt4/translations/pywhiteboard_en.qm False -00:1A:5A:40:03:2D- [[40, 40], [984, 40], [984, 560], [40, 560]] [[15, 724], [741, 547], [848, 174], [55, 260]] [[15, 724], [741, 547], [848, 174], [55, 260]] 329784 286587 Xlib.protocol.request.QueryExtension Traceback (most recent call last): File "/usr/lib/python-whiteboard/wiimote.py", line 63, in wiimote_callback func(self.getPos(data['pos'])) File "/usr/lib/python-whiteboard/cursor.py", line 134, in callback if self.checkLimits(q): File "/usr/lib/python-whiteboard/cursor.py", line 109, in checkLimits self.clickType = self.zones[FakeCursor.ZONE1] KeyError: 0 Mesg pipe overflow

pnegre commented 14 years ago

Thanks for your reporting, pingflood.

Fixed this problem. The cause was a bad constructed if sentence. Checked r1 version and seems to work again in my machine. Updated master branch too.

pnegre commented 14 years ago

I'm closing this issue.

pingflood commented 14 years ago

Thank you, pnegre. Keep the good work. :) Python-Whteboard is one of the best apps for Linux whiteboarding.