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

problems to run it

igormedeiros opened this issue · comments

Hi

when I try to run and press a key in the pebble, I got this exception:

Pebble Slides started. Your address is 192.168.1.103:57309
Exception in thread Thread-1:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 808, in __bootstrap_inner
self.run()
File "/Library/Python/2.7/site-packages/ws4py/manager.py", line 259, in run
if not ws.once():
File "/Library/Python/2.7/site-packages/ws4py/websocket.py", line 305, in once
if not self.process(b):
File "/Library/Python/2.7/site-packages/ws4py/websocket.py", line 377, in process
self.received_message(s.message)
File "server.py", line 15, in received_message
k.tap_key(k.right_key)
AttributeError: 'PyKeyboard' object has no attribute 'right_key'

How can I solve it?

Congratulations by the the project and thank you so much

  • Igor

What version of PyKeyboard do you have installed?

Hi

Can you tell me how can I check it?

Thanks

Em terça-feira, 18 de fevereiro de 2014, Luis Iván Cuende <
notifications@github.com> escreveu:

What version of PyKeyboard do you have installed?

Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-35383155
.

Sent from Gmail Mobile

Which OS are you using?

Mac OS 10.9.1

2014-02-18 19:11 GMT-03:00 Luis Iván Cuende notifications@github.com:

Which OS are you using?

Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-35441336
.

And have you properly installed the required modules using pip?

Yes. Now I'm not getting any response, event error messages. I'll keep
trying.
If you want, I can be your tester.

Thank you so much'
Igor

2014-02-24 13:35 GMT-03:00 Luis Iván Cuende notifications@github.com:

And have you properly installed the required modules using pip?

Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-35905233
.

Keybaord support from PyUserInput does not work with Mac to my knowledge. From their GitHub page:

Keyboard control works on X11(linux) and Windows systems. Mac control is a work in progress.

You can check out my fork if you need one working with Mavericks.

Thats's awesome! May I merge your code?

Great! I don't have code. I could be a functional tester (or beta tester)

2014-02-26 9:37 GMT-03:00 Luis Iván Cuende notifications@github.com:

Thats's awesome! May I merge your code?

Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-36120541
.

I was asking @tyhoff actually :P

I’ll actually add the code from yours and place a if statement for Windows/Mac, then I’ll submit a pull request.

On Feb 28, 2014, at 7:30 AM, Luis Iván Cuende notifications@github.com wrote:

I was asking @tyhoff actually :P


Reply to this email directly or view it on GitHub.

@igormedeiros I've just merged the pull request from @tyhoff so now it works on Mac :)

awesome! I'm gonna test it now!

2014-02-28 18:29 GMT-03:00 Luis Iván Cuende notifications@github.com:

@igormedeiros https://github.com/igormedeiros I've just merged the pull
request from @tyhoff https://github.com/tyhoff so now it works on Mac :)

Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-36396312
.

It is not working for me...

I did the follow steps:

downloaded and unzip
https://github.com/luisivan/pebble-slides/releases/download/stable/pebble-slides.zip

installed the requirements from requirements.txt
run the command python server.py (without sudo)

in the pebble:
1 - deleted the app slides
2 - installed it again
3 - run the configuration to inform the IP address
4 - run the app

when I hit the key up or down in the pebble, I got this message:

am I doing something wrong?

thanks
Igor

MacBook-Pro-de-Igor-2:ps igormedeiros$ ls

requirements.txt server.py

MacBook-Pro-de-Igor-2:ps igormedeiros$ sudo pip install -r requirements.txt

Password:

Requirement already satisfied (use --upgrade to upgrade):
PyUserInput==0.1.9 in /Library/Python/2.7/site-packages (from -r
requirements.txt (line 1))

Requirement already satisfied (use --upgrade to upgrade): ws4py==0.3.2 in
/Library/Python/2.7/site-packages (from -r requirements.txt (line 2))

Cleaning up...

MacBook-Pro-de-Igor-2:ps igormedeiros$ python server.py

Pebble Slides started. Your address is 192.168.1.104:56558

Exception in thread Thread-1:

Traceback (most recent call last):

File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py",
line 808, in __bootstrap_inner

self.run()

File "/Library/Python/2.7/site-packages/ws4py/manager.py", line 259, in
run

if not ws.once():

File "/Library/Python/2.7/site-packages/ws4py/websocket.py", line 305, in
once

if not self.process(b):

File "/Library/Python/2.7/site-packages/ws4py/websocket.py", line 377, in
process

self.received_message(s.message)

File "server.py", line 15, in received_message

k.tap_key(k.right_key)

AttributeError: 'PyKeyboard' object has no attribute 'right_key'

2014-02-28 19:34 GMT-03:00 Igor Medeiros igor.medeiros@gmail.com:

awesome! I'm gonna test it now!

2014-02-28 18:29 GMT-03:00 Luis Iván Cuende notifications@github.com:

@igormedeiros https://github.com/igormedeiros I've just merged the pull

request from @tyhoff https://github.com/tyhoff so now it works on Mac
:)

Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-36396312
.

You've downloaded the wrong .zip. Download the one on the right side of the main page.
screen shot 2014-02-28 at 5 54 16 pm

PERFECT! Its working!

I'm one of 5 main speakers about motivation in Brazil, I believe that some
people I'll ask themselves "how he can do it? I'd like to do also" and I
will promote the project.

In feel minutes, I will put a short instagram video - you guys can check it
on @igormedeiros

Thank you very much!

2014-02-28 19:55 GMT-03:00 Tyler Hoffman notifications@github.com:

You've downloaded the wrong .zip. Download the one on the right side of
the main page.
[image: screen shot 2014-02-28 at 5 54 16 pm]https://f.cloud.github.com/assets/1041679/2299330/5e1e8f7a-a0cb-11e3-9dd7-476e5465b62e.png

Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-36403210
.

@igormedeiros Just watched your video, thank you for spreading the word about Slides!

What is your user name? @luisivan?

Enviado via iPhone

Em 02/03/2014, às 00:07, Luis Iván Cuende notifications@github.com escreveu:

@igormedeiros Just watched your video, thank you for spreading the word about Slides!


Reply to this email directly or view it on GitHub.

@igormedeiros it's licuende in both Twitter and Instagram

next week I goona present a webinar called “5 best technologies for presentations and your project will be the last one (the best one) :)

On Feb 28, 2014, at 18:29, Luis Iván Cuende notifications@github.com wrote:

Closed #1.


Reply to this email directly or view it on GitHub.

That's great :)
On Mar 2, 2014 8:12 PM, "Igor Medeiros" notifications@github.com wrote:

next week I goona present a webinar called "5 best technologies for
presentations and your project will be the last one (the best one) :)

On Feb 28, 2014, at 18:29, Luis Iván Cuende notifications@github.com
wrote:

Closed #1.

Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-36463078
.