luisivan / pebble-slides

Pebble app to toggle slides on Linux, Mac and Windows, includes chronometer and notes to make giving talks easier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I have two issues

thedadams opened this issue · comments

I am attempting to run pebble-slides on a laptop with Ubuntu 13.10. I am having two (really 1.5) problems.

The first problem is minor. When I run server.py, the IP that it prints is the local IP 127.0.1.1. My laptop has a static IP on my home wifi so I know what it is and can enter that part myself. Maybe this problem is related to the next one, but I'm not sure.

The second problem is major. The first time I click one of the button on my pebble, I get the following output:

<class 'Xlib.protocol.request.QueryExtension'>
<class 'Xlib.protocol.request.QueryExtension'>
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 808, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.7/dist-packages/ws4py/manager.py", line 259, in run
if not ws.once():
File "/usr/local/lib/python2.7/dist-packages/ws4py/websocket.py", line 305, in once
if not self.process(b):
File "/usr/local/lib/python2.7/dist-packages/ws4py/websocket.py", line 377, in process
self.received_message(s.message)
File "./server.py", line 36, in received_message
PyKeyboard().tap_key(k.right_key)
NameError: global name 'k' is not defined

After this, nothing happens when I touch any buttons on my pebble. Any help would be very appreciated.

I did get it running on my iMac, and it works great there!