I've encountered the same error..
I was thinking maybe it was caused by space within the path, however it still didn't work after I changed the filename, checked the permission..
Handling request for /srv/music/10.Hey_Stephen.mp3
----------------------------------------
Exception happened during processing of request from ('::ffff:10.222.48.55', 48078, 0, 0)
Traceback (most recent call last):
File "/usr/lib/python2.6/SocketServer.py", line 558, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.6/SocketServer.py", line 320, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.6/SocketServer.py", line 615, in __init__
self.handle()
File "/usr/lib/python2.6/BaseHTTPServer.py", line 329, in handle
self.handle_one_request()
File "/usr/lib/python2.6/BaseHTTPServer.py", line 323, in handle_one_request
method()
File "/srv/software/zeya/zeya.py", line 134, in do_GET
self.serve_content(urllib.unquote(self.path[12:]))
File "/srv/software/zeya/zeya.py", line 183, in serve_content
backend.get_content(key, output_file, bitrate, buffered=True)
File "/srv/software/zeya/backends.py", line 171, in get_content
filename_to_stream(filename, out_stream, bitrate, buffered)
File "/srv/software/zeya/backends.py", line 78, in filename_to_stream
p2 = subprocess.Popen(encode_command, stdin=p1.stdout, stdout=subprocess.PIPE)
File "/usr/lib/python2.6/subprocess.py", line 621, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1126, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
I've encountered the same error..
I was thinking maybe it was caused by space within the path, however it still didn't work after I changed the filename, checked the permission..
Handling request for /srv/music/ 10.Hey_ Stephen. mp3 ------- ------- ------- ------- ----- 10.222. 48.55', 48078, 0, 0) python2. 6/SocketServer. py", line 558, in process_ request_ thread finish_ request( request, client_address) python2. 6/SocketServer. py", line 320, in finish_request RequestHandlerC lass(request, client_address, self) python2. 6/SocketServer. py", line 615, in __init__ python2. 6/BaseHTTPServe r.py", line 329, in handle handle_ one_request( ) python2. 6/BaseHTTPServe r.py", line 323, in handle_one_request zeya/zeya. py", line 134, in do_GET serve_content( urllib. unquote( self.path[ 12:])) zeya/zeya. py", line 183, in serve_content get_content( key, output_file, bitrate, buffered=True) zeya/backends. py", line 171, in get_content to_stream( filename, out_stream, bitrate, buffered) zeya/backends. py", line 78, in filename_to_stream Popen(encode_ command, stdin=p1.stdout, stdout= subprocess. PIPE) python2. 6/subprocess. py", line 621, in __init__ python2. 6/subprocess. py", line 1126, in _execute_child
-------
Exception happened during processing of request from ('::ffff:
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.handle()
File "/usr/lib/
self.
File "/usr/lib/
method()
File "/srv/software/
self.
File "/srv/software/
backend.
File "/srv/software/
filename_
File "/srv/software/
p2 = subprocess.
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
raise child_exception
OSError: [Errno 2] No such file or directory