Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mouse does not work and clicking inspect give error message #15

Open
danielfarley opened this issue Dec 12, 2023 · 14 comments
Open

mouse does not work and clicking inspect give error message #15

danielfarley opened this issue Dec 12, 2023 · 14 comments
Assignees
Labels
bug Something isn't working

Comments

@danielfarley
Copy link

mouse does not work and clicking inspect give error message: ares-inspect ERR! uncaughtException Error: spawn cmd ENOENT

TV is: LG webOS TV UF770V
S/W version 04.06.25

using MagicRemoteService_1.2.2.8

TV in developer mode and install app works

@Cathwyler
Copy link
Owner

Cathwyler commented Dec 12, 2023

You have a webOS 2.0 TV. I'm trying recently to get it working in this issue

About inspector, this is a webOS CLI error (node.js).

Some thread suggest to check if you have "C:\Windows\System32" missing in your system environement PATH variable.



You can try directly with CLI. https://webostv.developer.lge.com/develop/tools/cli-dev-guide#ares-inspect

  • Device is the TV Name.
  • Package is com.cathwyler.magicremoteservice.hdmi1 depending the input you selected.

Ex: ares-inspect --device TVNAME --app com.cathwyler.magicremoteservice.hdmi1

One last other possibility is that you don't have defaut web browser configured.

If you are able to get inspector working the console log from this build would help me a lot MagicRemoteService_1.2.2.7_AppVisibleLog.zip

@Cathwyler
Copy link
Owner

Duplicate of #11

@Cathwyler Cathwyler marked this as a duplicate of #11 Dec 12, 2023
@Cathwyler Cathwyler self-assigned this Dec 12, 2023
@Cathwyler Cathwyler added the bug Something isn't working label Dec 12, 2023
@danielfarley
Copy link
Author

Hi, with out changing the version im running from the command line i managed to get the debug up, here is a screenshot from that.
lgtv

@danielfarley
Copy link
Author

Ok, i installed MagicRemoteService_1.2.2.7_AppVisibleLog.zip

This time the Inspector worked (i had updated the path as your post suggested)

Ouput from console after install
lgtv2

Then i moved the tv remote, and the console log filled up and and kept scrolling with this.
lgtv3

Note this time i ran the app as an admin as i had noticed this is what the guy you linked to with the same old version of webos was doing. the time from my first screen shot was not run as admin.

I don't know if any of this will help but thanks for trying to get it running on old TV's :)

@Cathwyler
Copy link
Owner

Thanks for your help.

I anticipated and already fixed the bug i see in this screenshot in 1.2.2.8 version.
But the 1.2.2.8 version did not work either.

This is another build with new log to help me to undertsand.
MagicRemoteService_1.2.2.9DebugForceConnectApiLog.zip
Can you send me the console log again ?

There is a possibility that the 1.2.2.8 version worked but you met a whole other problem (config, firwall, etc...)

@danielfarley
Copy link
Author

lgtv4
This time i ran it as administrator also, it kind of works. The only thing is it will not move the mouse but double clicking on where i left the mouse with a normal mouse will open folder etc.. Same as the other guy with the older lg tv.

@Cathwyler
Copy link
Owner

And with this one ?
MagicRemoteService_1.2.2.9AppVisibleLog.zip

You will probably need to redo your bind i'm working on an other issue in same time.

@danielfarley
Copy link
Author

"redo you bind"??

@danielfarley
Copy link
Author

lgtv4

Im not sure i understand 'redo you bind' but when i run this version this is what i get. Also no mouse operations seem to work.

@Cathwyler
Copy link
Owner

Just saw another problem
MagicRemoteService_1.2.2.9APILog.zip

if you configured some bind in the remote tab you will need to reconfigure them.
I changed the way the keyboard code are stored. But for the test its not really important.

@danielfarley
Copy link
Author

lgtv5

This version still no mouse movement or clicking working.

@Cathwyler
Copy link
Owner

Cathwyler commented Dec 14, 2023

One last try for me this evening.
MagicRemoteService_1.2.2.9APILogForceConnect.zip

Be sure to delete the old executable file before running the new one. And each time you need to install again on the TV..

@danielfarley
Copy link
Author

lgtv6

Now mouse click and scroll work, but not position on screen. with above version

sleep well :-)

@Cathwyler
Copy link
Owner

Cathwyler commented Dec 15, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants