[Bug 82286] Re: [apport] destar.py crashed with TypeError in file_input()
realmkeeper
realmkeepersbox at gmail.com
Fri Jan 15 11:37:19 UTC 2010
Same Issue also running Hardy.
Installed Python2.4 plus the exstras; python2.4-minimal, python-
profiler, python2.4-doc, binfmt-support.
Hacked the server.py file to python2.4
> sudo less /usr/share/destar/python/Server.py
#!/usr/bin/env python2.4
"""quixote.server.medusa_http
An HTTP handler for Medusa that publishes a Quixote application.
"""
Restarted the Asteriks and destar deamons, restarted hardy, firewall is
off and errors still stay the same.
> 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 Fri Jan 15 12:37:52 2010
Hostname: Ubuntu-server.efc.local
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)
Anybody with Ideas?
The thing that bugs me is that Python2.5 shows up in the error codes even after setting the server.py file from python to python2.4.
Thanks in advance.
Vincent
--
[apport] destar.py crashed with TypeError in file_input()
https://bugs.launchpad.net/bugs/82286
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list