Bonjour,
Je souhaite utiliser fricorder en zone non-dégroupée via un accès
distant. J'ai installé fricorder sur un Slug-NSLU2 sous debian :
> désarchivage du fichier fricorder_0.7.33.tar.gz
> installation des paquets vlc, python2.4, python2.4-xml, zenity
> lancement du serveur : ./fricorder.py -w
Sur le serveur (Slug-NSLU2), j'obtiens les messages d'erreurs
suivants :
===============================
# ./fricorder.py -w
Launching server:
http://0.0.0.0:8080/
Traceback (most recent call last):
File "/home/sebastien/fricorder/fricorder/web.py", line 959, in
runWSGIApp
result =
self.server.app(env, self.wsgiStartResponse)
File "/home/sebastien/fricorder/fricorder/web.py", line 891, in
wsgifunc
func()
File "/home/sebastien/fricorder/fricorder/web.py", line 883, in
<lambda>
func = lambda: handle(inp, fvars)
File "/home/sebastien/fricorder/fricorder/web.py", line 375, in
handle
return tocall(*[urllib.unquote(x) for x in args])
File "/home/sebastien/fricorder/fricorder/fricorderweb.py", line
203, in GET
chaines = fbx.getStreams()
File "/home/sebastien/fricorder/fricorder/fbx.py", line 14, in
getStreams
liste = urllib2.urlopen("
http://mafreebox.freebox.fr/freeboxtv/
playlist.m3u")
File "urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "urllib2.py", line 358, in open
response = self._open(req, data)
File "urllib2.py", line 376, in _open
'_open', req)
File "urllib2.py", line 337, in _call_chain
result = func(*args)
File "urllib2.py", line 1021, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "urllib2.py", line 996, in do_open
raise URLError(err)
URLError: <urlopen error (110, 'Connection timed out')>
192.168.1.1 - - [16/Jan/2008 20:49:30] "GET / HTTP/1.1" 500 -
192.168.1.1 - - [16/Jan/2008 20:49:31] "GET /favicon.ico HTTP/1.1" 404
-
192.168.1.1 - - [16/Jan/2008 20:57:12] "GET /favicon.ico HTTP/1.1" 404
-
==================================
Côté client, dans le navigateur en renseignant l'url "http://
adresseIPSlug:8080/", j'obtiens le message suivant :
==================================
You've set web.py to use the fancier debugerror error messages, but
these messages require you install the Cheetah template system. For
more information, see the web.py website.
In the meantime, here's a plain old error message:
Traceback (most recent call last):
File "/home/sebastien/fricorder/fricorder/web.py", line 959, in
runWSGIApp
result =
self.server.app(env, self.wsgiStartResponse)
File "/home/sebastien/fricorder/fricorder/web.py", line 891, in
wsgifunc
func()
File "/home/sebastien/fricorder/fricorder/web.py", line 883, in
<lambda>
func = lambda: handle(inp, fvars)
File "/home/sebastien/fricorder/fricorder/web.py", line 375, in
handle
return tocall(*[urllib.unquote(x) for x in args])
File "/home/sebastien/fricorder/fricorder/fricorderweb.py", line
203, in GET
chaines = fbx.getStreams()
File "/home/sebastien/fricorder/fricorder/fbx.py", line 14, in
getStreams
liste = urllib2.urlopen("
http://mafreebox.freebox.fr/freeboxtv/
playlist.m3u")
File "urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "urllib2.py", line 358, in open
response = self._open(req, data)
File "urllib2.py", line 376, in _open
'_open', req)
File "urllib2.py", line 337, in _call_chain
result = func(*args)
File "urllib2.py", line 1021, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "urllib2.py", line 996, in do_open
raise URLError(err)
URLError: <urlopen error (110, 'Connection timed out')>
(If it says something about 'Compiler', then it's probably because
you're trying to use templates and you haven't installed Cheetah. See
above.)
==================================
Quelqu'un a-t-il une idée sur l'origine de mon pb ?
D'avance merci,
Sakeris