When running the server and connecting to the homepage
I get "Internal error" in all three frames.
I'm running tabula-musica-0.3 on debian woody with
python2.2
Here's the server output...
(teapot and coffee are hostnames)
--
thomas@teapot:~/tabula-musica$ ./tabula-musica.py -d 127
start
read config etc/tabula-musica.conf
load module filelist.filedb
Start FILEDB
load module input.lirc
lirc module require pylirc extension
FILEDB: List /media/music/
load module player.mpg123
load module display.lcdproc
Error connecting LCDProc
load module server.telnet
Open UNIX socket thread
Socket: /tmp/.thomas-tabula-musica
Open Telnet thread
Adress: 0.0.0.0:10666
load module server.pipe
127
load module server.socket
load module server.web
Open Web thread
Adress: 0.0.0.0:10680
load module server.xml
Open XML thread
Adress: 0.0.0.0:10667
load module tools.debug
Start main thread
tm>FILEDB: update finished
coffee - - [27/Jul/2003 20:34:09] "GET / HTTP/1.1" 200 -
Traceback (most recent call last):
File "./lib/template.py", line 454, in
_evaluateSetExpression
return
apply(getattr(self._dino,cl),eval(args[0][1:-1]))
File "./lib/replacer.py", line 55, in getVar
var = lib.general.fireCommand("listdir",[child])
File "./lib/general.py", line 175, in fireCommand
rv = apply(commands[name]["function"],args)
File "./filelist/filedb.py", line 281, in listdir
rv[i] = __rpath[i]
KeyError: Travis/The Invisible Band
Traceback (most recent call last):
File "./server/web.py", line 288, in do_GET
data = template.parse(self)
File "./lib/template.py", line 54, in parse
self._template = self._parseFragment(self._template)
File "./lib/template.py", line 327, in _parseFragment
result = self._evaluateSetExpression(tag)
File "./lib/template.py", line 457, in
_evaluateSetExpression
raise RuntimeError, ("Failed to execute %s(%s)" %(cl))
TypeError: not enough arguments for format string
coffee - - [27/Jul/2003 20:34:09] "GET /filelist.tpl
HTTP/1.1" 500 -
Traceback (most recent call last):
File "./lib/template.py", line 454, in
_evaluateSetExpression
return
apply(getattr(self._dino,cl),eval(args[0][1:-1]))
File "./lib/replacer.py", line 36, in getVar
var = lib.general.fireCommand("status")
File "./lib/general.py", line 173, in fireCommand
if commands[name]["function"]:
KeyError: status
Traceback (most recent call last):
File "./server/web.py", line 288, in do_GET
data = template.parse(self)
File "./lib/template.py", line 54, in parse
self._template = self._parseFragment(self._template)
File "./lib/template.py", line 327, in _parseFragment
result = self._evaluateSetExpression(tag)
File "./lib/template.py", line 457, in
_evaluateSetExpression
raise RuntimeError, ("Failed to execute %s(%s)" %(cl))
TypeError: not enough arguments for format string
coffee - - [27/Jul/2003 20:34:09] "GET /player.tpl
HTTP/1.1" 500 -
Traceback (most recent call last):
File "./lib/template.py", line 454, in
_evaluateSetExpression
return
apply(getattr(self._dino,cl),eval(args[0][1:-1]))
File "./lib/replacer.py", line 47, in getVar
var = lib.general.fireCommand("playlist",["show"])
File "./lib/general.py", line 173, in fireCommand
if commands[name]["function"]:
KeyError: playlist
Traceback (most recent call last):
File "./server/web.py", line 288, in do_GET
data = template.parse(self)
File "./lib/template.py", line 54, in parse
self._template = self._parseFragment(self._template)
File "./lib/template.py", line 327, in _parseFragment
result = self._evaluateSetExpression(tag)
File "./lib/template.py", line 457, in
_evaluateSetExpression
raise RuntimeError, ("Failed to execute %s(%s)" %(cl))
TypeError: not enough arguments for format string
coffee - - [27/Jul/2003 20:34:09] "GET /playlist.tpl
HTTP/1.1" 500 -
tm>
--
Here's my tabula-musica.conf
[global]
name=Nihil's music server
##use query manager as player
player=mpg123
input=lirc
display=lcdproc
filelist=filedb
server=telnet,pipe,socket,web,xml
tools=debug
[filedb]
##path=path=name:path2=anothername
path=/media/music/
cache=0
##cache expire after x hours
expire=12
##random can select songs, albums or both
random=albums
[net]
port=9999
##query manager
[query]
##use two players, both xmms
player=xmmsp:0
crossfading=0
mixer=xmmsp
##configure all files that playertype xmmsp can play
xmmsp_type=(.*\.mp3|.*\.wav|.*\.ogg|http://*)
##config for xmms player session 0
#[xmmsp:0]
##don't set session, only you know what you are doing
#program=/bin/sh
#parameter=-c "DISPLAY=:0 xmms"
(mpg123:0)
##config for xmms player session 1
#[xmmsp:1]
##don't set session, only you know what you are doing
#program=/bin/sh
#parameter=-c "DISPLAY=:1 xmms"
#[lirc]
##configfile of lirc
#config=/home/poelzi/.lircrc
##pipe is just a printout of current stats
[pipe]
pipe=/tmp/tabula-musica
[socket]
##default is /tmp/.$username.tabula-musica
#socket=/tmp/.poelzi-tabula-musica
[telnet]
##default is /tmp/.$username.tabula-musica
#socket=/tmp/.poelzi-tabula-musica
[xml]
##xml protocol for gui clients
#host = 0.0.0.0
#port = 10667
#maxclients = 10
[web]
##xml protocol for gui clients
#host = 0.0.0.0
#port = 10680
##path to templates
#path = etc/templates/web
##default theme
#theme = clara
allow_files = 1
##allows directory listening
allow_browse = 1
##allows to switch themes over server:port/[themename]/
allow_themes = 1
[lcdproc]
##display config. multi displays comma seperated
##host[:port][/template][#minscreen]
display=localhost:13666/40x4
Daniel Poelzleithner
Server:Web
None
Public
|
Date: 2003-07-30 22:44 Logged In: NO |
|
Date: 2003-07-29 15:26 Logged In: NO |
|
Date: 2003-07-29 13:05 Logged In: NO |
|
Date: 2003-07-27 22:06 Logged In: NO |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use