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

Kernel4.4 Error on running main.py #13

Closed
vargai opened this issue Aug 24, 2016 · 1 comment
Closed

Kernel4.4 Error on running main.py #13

vargai opened this issue Aug 24, 2016 · 1 comment

Comments

@vargai
Copy link

vargai commented Aug 24, 2016

Hello Sam,

I run main.py then Alexa says hello and the script crashes. I use a microsoft lifecam vx 700 webcam as mic. I edited /etc/asound.conf and usr/share/alsa/alsa.conf file as it is in the project's description.

I verified the card number (1) and the device number (0). It is running kernel version 4.4 Jessie.
I can save and play audio with arecord/aplay but when I run python main.py I get this error:

ALSA lib pcm_params.c:2162:(snd1_pcm_hw_refine_slave) Slave PCM not usable
Traceback (most recent call last):
File "main.py", line 126, in
inp = alsaaudio.PCM(alsaaudio.PCM_CAPTURE, alsaaudio.PCM_NORMAL)
alsaaudio.ALSAAudioError: Invalid argument [default]

@vargai vargai changed the title Error on running main.py Kernel4.4 Error on running main.py Aug 25, 2016
@renekliment
Copy link
Member

This project is now deprecated in favor of the new AlexaPi (https://github.com/alexa-pi/AlexaPi) which has all the features of this project and much more, such as:

  • support for a wide range of devices and platforms (Raspberry Pi, CHIP, Orange Pi, desktops, Magic Mirror and others)
  • voice activation (great PocketSphinx support and snowboy support soon to be released)
  • much more robust installation and configuration
  • better security
  • Arch Linux support
  • awesome documentation
  • and much, much more! You get it - it's just awesome.

Please switch over to the new project and if your issue persists there, file an issue in the new repo's issue tracker. Thank you.

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