Bug#484360: destar: Fails to run with python2.5
Eldon Koyle
ekoyle at gmail.com
Tue Jun 3 20:51:24 UTC 2008
Package: destar
Version: 0.2.2-5
Severity: important
Destar fails to start. It appears to be caused by a change in
the default python version to 2.5. It works if I use python2.4.
This could also be a problem with python-quixote and python2.5. A quick
fix would be to Depend: python2.4 and use python2.4 explicitly from
/usr/lib/destar/destar.py .
asterisk-test:/etc/asterisk# 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 Tue Jun 3 14:18:05 2008
Hostname: asterisk-test
Port:8080
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 72, in _load_ptl
code = compile_template(file, filename, output)
File "/var/lib/python-support/python2.5/quixote/ptl_compile.py", line 297, 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 268, in _get_tree
tree = parse(self.source, self.filename)
File "/var/lib/python-support/python2.5/quixote/ptl_compile.py", line 223, in parse
return TemplateTransformer().parsesuite(buf)
File "/usr/lib/python2.5/compiler/transformer.py", line 129, in parsesuite
return self.transform(parser.suite(text))
File "/usr/lib/python2.5/compiler/transformer.py", line 125, in transform
return self.compile_node(tree)
File "/usr/lib/python2.5/compiler/transformer.py", line 158, in compile_node
return self.file_input(node[1:])
File "/var/lib/python-support/python2.5/quixote/ptl_compile.py", line 58, in file_input
io_imp = ast.From(IO_MODULE, [(IO_CLASS, None)])
TypeError: __init__() takes at least 4 arguments (3 given)
asterisk-test:/etc/asterisk#
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.25-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages destar depends on:
ii asterisk 1:1.4.19.1~dfsg-1 Open Source Private Branch Exchang
ii debconf 1.5.22 Debian configuration management sy
ii python 2.5.2-1 An interactive high-level object-o
ii python-medusa 0.5.4+clean-1 Framework for implementing asynchr
ii python-pychart 1.39-6 Python library for creating high q
ii python-pysqlite2 2.4.1-1 Python interface to SQLite 3
ii python-quixote1 1.2-4+b1 A highly Pythonic Web application
ii sqlite3 3.5.9-2 A command line interface for SQLit
Versions of packages destar recommends:
ii op-panel 0.27.dfsg-2 switchboard type application for t
-- debconf information:
destar/port: 8080
More information about the Pkg-voip-maintainers
mailing list