pranjalv123 / media-enclave

Automatically exported from code.google.com/p/media-enclave
0 stars 0 forks source link

Gstreamer Connection error #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Gstreamer does not accept a connection from the server.  What needs to be
configured?  Ae-player, having been started by manage.py, reports that it
is running.

This is related to Reid's earlier issue, which says that the server
shouldn't barf when it can't connect.  For now, I just want it to connect.
{{{
Environment:

Request Method: GET
Request URL: http://192.168.1.5:8001/audio/browse/
Django Version: 1.1 beta 1
Python Version: 2.5.2
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.humanize',
 'django.contrib.sessions',
 'media_bundler',
 'menclave.aenclave']
Installed Middleware:
('django.middleware.gzip.GZipMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'menclave.aenclave.middleware.ChannelMiddleware')

Traceback:
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in
get_response
  92.                 response = callback(request, *callback_args,
**callback_kwargs)
File "/home/richard/menclave/../menclave/aenclave/browse.py" in browse_index
  16.                                 context_instance=RequestContext(request))
File "/home/richard/menclave/../menclave/aenclave/html.py" in
render_html_template
  17.     options['playlist_info'] = json_channel_info(request,
Channel.default())
File "/home/richard/menclave/../menclave/aenclave/json.py" in json_channel_info
  43.     snapshot = request.get_channel_snapshot(channel)
File "/home/richard/menclave/../menclave/aenclave/middleware.py" in
get_channel_snapshot
  29.                 snapshot = channel.controller().get_channel_snapshot()
File "/home/richard/menclave/../menclave/aenclave/control.py" in new_method
  29.             raise ControlError(e.message)

Exception Type: ControlError at /audio/browse/
Exception Value: connection failed
}}}

Original issue reported on code.google.com by richard.clay on 23 Apr 2009 at 1:22

GoogleCodeExporter commented 9 years ago
Reid and I found out that the problem was an incorrectly configured 
"MENCLAVE_DIR=  "
statement in /etc/init.d/aeplayer.  Ae-player was cheerfully reporting that it 
was
started when it actually had failed to start.

So: configure /etc/init.d/aeplayer
run it with sudo /etc/init.d/aeplayer start
(optionally try stopping it to see if it is running: sudo /etc/init.d/aeplayer 
stop )
then start the menclave server

Original comment by richard.clay on 25 Apr 2009 at 6:36