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

hue-plus wont start #36

Open
FortreeForums opened this issue Apr 20, 2018 · 4 comments
Open

hue-plus wont start #36

FortreeForums opened this issue Apr 20, 2018 · 4 comments

Comments

@FortreeForums
Copy link

hey there, i'm getting a traceback error when trying to run your script

Traceback (most recent call last):
File "/usr/bin/hue", line 11, in
sys.exit(main())
File "/usr/lib/python3.6/site-packages/hue_plus/hue.py", line 156, in main
raise InvalidCommand("No such mode")
hue_plus.hue.InvalidCommand: No such mode

uname -a
Linux amala 4.16.3-1-ARCH #1 SMP PREEMPT Thu Apr 19 09:17:56 UTC 2018 x86_64 GNU/Linux

i'm not sure what other information to provide, please let me know.

@kusti8
Copy link
Owner

kusti8 commented Apr 20, 2018

What is the command that you're using to run it?

@FortreeForums
Copy link
Author

i have "hue &" in my openbox autostart which used to work fine

it doesnt run on autostart so i get the aforementioned output from running "sudo hue" in the terminal (running without sudo says it doesnt have permission to access the ports)

i didn't mention it in the OP because they seem unrelated, but since hue-plus stopped working after i upgraded packages "libnghttp2" and "tslib" it might be worth mentioning after all.

@Slimmons
Copy link

Same issue on Ubuntu 18.04.

running command sudo hue

Traceback (most recent call last):
  File "/usr/local/bin/hue", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/dist-packages/hue_plus/hue.py", line 156, in main
    raise InvalidCommand("No such mode")
hue_plus.hue.InvalidCommand: No such mode

@Slimmons
Copy link

I looked into the code, and realized the mistake I made. hue, is the command line mode. Which is pretty cool, but I wasn't aware (I'm sure there's something documenting it, but I didn't read it). So, when I typed in sudo hue breathing it gives me more information on how to use the tool properly. Using the hue_ui command gave me what I was expecting. This isn't a bug for me, it's a failure on my part to read documentation :). Thanks for the awesome tool.

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

3 participants