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

Crash on partymode #80

Open
polyzen opened this issue Sep 2, 2018 · 1 comment
Open

Crash on partymode #80

polyzen opened this issue Sep 2, 2018 · 1 comment

Comments

@polyzen
Copy link

polyzen commented Sep 2, 2018

~/p/repo > socos                                                                 
socos> list
(1) 192.168.1.19    Living Room
(2) 192.168.1.21    Bedroom
socos> partymode
Traceback (most recent call last):
  File "/usr/bin/socos", line 11, in <module>
    load_entry_point('socos==0.2', 'console_scripts', 'socos')()
  File "/usr/lib/python3.7/site-packages/socos/runner.py", line 24, in main
    socos.shell()
  File "/usr/lib/python3.7/site-packages/socos/core.py", line 246, in shell
    self.process_cmd(args)
  File "/usr/lib/python3.7/site-packages/socos/core.py", line 155, in process_cmd
    result = func(*args)
  File "/usr/lib/python3.7/site-packages/socos/core.py", line 328, in partymode
    self.current_speaker.partymode()
AttributeError: 'NoneType' object has no attribute 'partymode'
@polyzen
Copy link
Author

polyzen commented Sep 2, 2018

This happens if you forget to select a speaker.

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

1 participant