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

Not working after reinstall from scratch #71

Open
elpocholo7 opened this issue Jan 22, 2025 · 2 comments
Open

Not working after reinstall from scratch #71

elpocholo7 opened this issue Jan 22, 2025 · 2 comments

Comments

@elpocholo7
Copy link

elpocholo7 commented Jan 22, 2025

Hello,

I had to format my Mac so I've reinstalled the tool from scratch. Something related to bscpylgtv broke as it's not accepting the majority of the commands, basically the script sends the command, but it fails:

orix@OrixMini ~ % ~/bin/bscpylgtvcommand -p ~/.aiopylgtv.sqlite 192.168.1.90 screen_off
Traceback (most recent call last):
File "/private/var/folders/l7/qqxmqd5170nfkmjpgpzjx6cc0000gn/T/tmp.2qwVc3ZXId/venv/bin/bscpylgtvcommand.py", line 8, in
File "bscpylgtv/utils.py", line 111, in bscpylgtvcommand
File "asyncio/runners.py", line 194, in run
File "asyncio/runners.py", line 118, in run
File "asyncio/base_events.py", line 721, in run_until_complete
File "bscpylgtv/utils.py", line 18, in runloop
AttributeError: 'WebOsClient' object has no attribute 'screen_off'
[PYI-5003:ERROR] Failed to execute script 'bscpylgtvcommand' due to unhandled exception!

2025-01-22 13:14:17: Executing command: ~/bin/bscpylgtvcommand -p ~/.aiopylgtv.sqlite 192.168.1.90 turn_screen_on
2025-01-22 13:14:18: Command failed or timed out (exit code: 1): ~/bin/bscpylgtvcommand -p ~/.aiopylgtv.sqlite 192.168.1.90 turn_screen_on

2025-01-22 13:13:53: Executing command: ~/bin/bscpylgtvcommand -p ~/.aiopylgtv.sqlite 192.168.1.90 screen_off
2025-01-22 13:13:53: Command failed or timed out (exit code: 1): ~/bin/bscpylgtvcommand -p ~/.aiopylgtv.sqlite 192.168.1.90 screen_off

Thanks for your work cmer =)

@elpocholo7 elpocholo7 changed the title Not working after latest bscpylgtv update Not working after reinstall from scratch Jan 23, 2025
@cmer
Copy link
Owner

cmer commented Feb 4, 2025

Try directly in the terminal to see what happens. Are you sure your IP address is correct? Looks like it might be wrong?

@elpocholo7
Copy link
Author

First command is directly from the terminal. Yes IP address is correct. I did try to reinstall but with no success. Another thing you should know, volume up and volume down commands work just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants