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

Getting A socket error #2

Open
mlakewood opened this issue Mar 11, 2011 · 0 comments
Open

Getting A socket error #2

mlakewood opened this issue Mar 11, 2011 · 0 comments

Comments

@mlakewood
Copy link

Hi,

Thanks for this wrapper by the way! its been great so far.

My python program uses your library to stream mp3s to an icecast server (surprise surprise). At the moment it uses the process library to break up into as many processes as I have different radio stations to steam. I seem to be getting the following error sometimes from an individual process and was wondering if you could shed some light on it.

rocess Process-1:
Traceback (most recent call last):
File "/usr/lib/python2.6/multiprocessing/process.py", line 232, in _bootstrap
self.run()
File "/usr/lib/python2.6/multiprocessing/process.py", line 88, in run
self._target(_self._args, *_self._kwargs)
File "ShoutGenSrv.py", line 62, in startMount
mount.Stream()
File "/home/munderwo/inthebackground/shoutgen/shoutgen/src/ShoutGen/MountGen.py", line 143, in Stream
stream.send(buf)
File "pylibshout.pyx", line 144, in pylibshout.Shout.send (pylibshout.c:830)
Exception: (-4, 'Socket error')
Process Process-2:
Traceback (most recent call last):
File "/usr/lib/python2.6/multiprocessing/process.py", line 232, in _bootstrap
self.run()
File "/usr/lib/python2.6/multiprocessing/process.py", line 88, in run
self._target(_self._args, *_self._kwargs)
File "ShoutGenSrv.py", line 62, in startMount
mount.Stream()
File "/home/munderwo/inthebackground/shoutgen/shoutgen/src/ShoutGen/MountGen.py", line 143, in Stream
stream.send(buf)
File "pylibshout.pyx", line 144, in pylibshout.Shout.send (pylibshout.c:830)
Exception: (-4, 'Socket error')

Its probably something im doing wrong but im not sure what the socket -4 means?

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