Bug#501207: destar: Fails to run with python2.5
John Wright
jsw at debian.org
Tue Oct 7 00:14:49 UTC 2008
block 501207 by 484360
tags 501207 + patch
thanks
The above problem is actually the same as bug 501207. However, with
that patch applied, I get the following problem starting destar:
jswright at neptune:~$ destar
DeStar 0.2.2, Copyright (C) 2005 by Holger Schurig and contributors.
DeStar comes with ABSOLUTELY NO WARRANTY. This is free software,
you are welcome to redistribute it under certain conditions;
see the included files GPL-2.txt and COPYRIGHT.txt
Serving application 'page_main' on port 8080
warning: Computing default hostname
info: Medusa (V1.11) started at Mon Oct 6 18:08:53 2008
Hostname: neptune.jswright
Port:8080
Note: you need the cdr_sqlite3_custom module to have CDR and Stats functionalities
Note: you don't seem to have access to /var/log/asterisk/master.db yet created by cdr_sqlite3_custom. See INSTALL.txt for details.
Traceback (most recent call last):
File "/usr/share/destar/python/destar.py", line 139, in <module>
pub.run()
File "/usr/share/destar/python/Server.py", line 168, in run
publisher = self.publishclass(self.approot)
File "/var/lib/python-support/python2.5/quixote/publish.py", line 107, in __init__
self.root_namespace = _get_module(root_namespace)
File "/var/lib/python-support/python2.5/quixote/publish.py", line 32, in _get_module
__import__(name)
File "/var/lib/python-support/python2.5/quixote/ptl_import.py", line 127, in find_import_module
return self.loader.load_module(fullname, stuff)
File "/var/lib/python-support/python2.5/quixote/ptl_import.py", line 107, in load_module
return _load_ptl(name, filename, file)
File "/var/lib/python-support/python2.5/quixote/ptl_import.py", line 82, in _load_ptl
return _exec_module_code(code, name, filename)
File "/var/lib/python-support/python2.5/quixote/ptl_import.py", line 35, in _exec_module_code
exec code in mod.__dict__
File "/usr/share/destar/python/page_main.ptl", line 74, in <module>
m = __import__(s)
File "/var/lib/python-support/python2.5/quixote/ptl_import.py", line 127, in find_import_module
return self.loader.load_module(fullname, stuff)
File "/var/lib/python-support/python2.5/quixote/ptl_import.py", line 107, in load_module
return _load_ptl(name, filename, file)
File "/var/lib/python-support/python2.5/quixote/ptl_import.py", line 72, in _load_ptl
code = compile_template(file, filename, output)
File "/var/lib/python-support/python2.5/quixote/ptl_compile.py", line 303, in compile_template
template.compile()
File "/usr/lib/python2.5/compiler/pycodegen.py", line 111, in compile
tree = self._get_tree()
File "/var/lib/python-support/python2.5/quixote/ptl_compile.py", line 274, in _get_tree
tree = parse(self.source, self.filename)
File "/var/lib/python-support/python2.5/quixote/ptl_compile.py", line 232, in parse
raise SyntaxError(str(e), (filename, e.lineno, e.offset, e.text))
SyntaxError: non-default argument follows default argument (page_owner_cdr.ptl)
The attached patch fixes the SyntaxError.
--
John Wright <jsw at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug501207.patch
Type: text/x-diff
Size: 740 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20081006/1ee3f633/attachment.patch
More information about the Pkg-voip-maintainers
mailing list