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

PyTagCloud fails when running on a server without a sound card... #9

Open
johnrfrank opened this issue Sep 18, 2012 · 2 comments
Open

Comments

@johnrfrank
Copy link

Is it necessary for PyTagCloud to depend on pygame? pygame raises the exception below, apparently because it needs to see a sound card? Any advice?

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default

@adamhos
Copy link

adamhos commented Sep 1, 2014

Use a fake soundcard.

modprobe snd_dummy

If module doesn't exist, I think I got it on Ubuntu with
apt-get install linux-image-extra-$(uname -r)

@gpjt
Copy link

gpjt commented Oct 10, 2014

Could pytagcloud not just do pygame.display.init() instead of pygame.init() in its __init__.py?

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