Rudis1261 / blink-server

This is the server you would need to be able to run the Blink Android Application.
MIT License
34 stars 7 forks source link

Mouse area option doesn't work #15

Open dragonxtek opened 4 years ago

dragonxtek commented 4 years ago

When I enable Mouse Area and I tried move the mouse, the app crashed. I got this message:

`COMMAND RECEIVED [{"action":"mouse-move","x":null,"y":null}{"action":"mouse-move","x":-25.349761962890625,"y":-32.430633544921875}] [MULTIPLE COMMANDS] This may work, this may not work

Traceback (most recent call last): File "bluetooth_server.py", line 42, in commandKeys(data) File "blink-server/core.py", line 58, in commandKeys commandKeys(command) File "blink-server/core.py", line 96, in commandKeys str(float(JSON['x'])), TypeError: float() argument must be a string or a number`

I'm using Ubuntu 18.10

Rudis1261 commented 4 years ago

Cool will have a look

On 28 Oct 2019, at 04:11, dragonxtek notifications@github.com wrote:

 When I enable Mouse Area and I tried move the mouse, the app crashed. I got this message:

`COMMAND RECEIVED [{"action":"mouse-move","x":null,"y":null}{"action":"mouse-move","x":-25.349761962890625,"y":-32.430633544921875}] [MULTIPLE COMMANDS] This may work, this may not work

Traceback (most recent call last): File "bluetooth_server.py", line 42, in commandKeys(data) File "blink-server/core.py", line 58, in commandKeys commandKeys(command) File "blink-server/core.py", line 96, in commandKeys str(float(JSON['x'])), TypeError: float() argument must be a string or a number`

I'm using Ubuntu 18.10

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

KarNair commented 4 years ago

I got the same error on ubuntu 18.04

lyiriyah commented 4 years ago

any updates @drpain? am having this issue too.

Rudis1261 commented 4 years ago

Hey guys, I can make it a bit more robust, but ultimately I am not actively developing this. I have mentioned a couple of times. I have been using Apple for a number of years now, and windows as my home PC.

Rudis1261 commented 4 years ago

@lyiriyah Can you pull the latest version and see if that helps you?