respeaker / avs

python implementation of alexa voice service app, 支持DuerOS
Other
195 stars 63 forks source link

ERROR:root:need more than 2 values to unpack #28

Closed Edwin-Luijten closed 6 years ago

Edwin-Luijten commented 6 years ago

Description

Tried to do python main.py

What I Did

python main.py

This part of the code in alexa.py on line 153 is cousing the error:

try:
                event, listener, attachment = self.event_queue.get(
                    timeout=0.25)
            except queue.Empty:
                event = None

When i print the result of self.event_queue.get it shows below value:

{'header': {'namespace': 'System', 'name': 'SynchronizeState', 'messageId': '65d4301efd584e8ab2737e5986c803b0'}, 'payload': {}}
xiongyihui commented 6 years ago

Have you changed anything? Are you able to run alexa-tap?