Comment 20 for bug 82286

Revision history for this message
ddahl (david-ddahl) wrote : Re: [Bug 82286] Re: [apport] destar.py crashed with TypeError in file_input()

Sorry, I must have confused this with another bug where the crash
reporter opens every time destar crashes, even though I set the crash
reporter to ignore those crashes.

David

On Tue, Sep 9, 2008 at 1:13 PM, Vernon Cole <email address hidden> wrote:
> It is not fixed! I am running Hardy with the latest patches. I picked up
> destar on this machine (which had asterisk installed, but not destar) using
> synaptic after I received this message, so destar has not been patched, like
> the copy on my other asterisk box. The result was:
> ---
>
> wnvcole@wciptest:~$ 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
> warning: Cannot do reverse lookup
> info: Medusa (V1.2) started at Tue Sep 9 13:49:09 2008
> Hostname: 10.100.250.170
> 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)
>
> ---
> The error is in destar, not in Hardy, and the patch has been known for some
> time. Destar needs to be updated for the current version of python. My
> communication with the maintainers indicates that neither asterisk nor
> destar is being kept up to patch level on Ubuntu. That is unfortunate. I
> think that this combination is the best possibility to get "plug and play"
> telephony on Ubuntu, so I wish we could convince them to invest some time in
> it. The other asterisk front ends are too bloated for easy installation.
> --
> Vernon Cole
> ------
>
> On Tue, Sep 9, 2008 at 8:44 AM, ddahl <email address hidden> wrote:
>
>> It seems to be fixed. I am running Hardy with all of the latest updates.
>>
>> Thank you for asking.
>>
>> David
>>
>>
>> On Tue, Sep 9, 2008 at 3:56 AM, Christian Mangold
>> <email address hidden> wrote:
>> > Thank you for taking the time to report this bug and helping to make
>> > Ubuntu better. You reported this bug a while ago and there hasn't been
>> > any activity in it recently. We were wondering is this still an issue
>> > for you? Can you try with latest Ubuntu release? Thanks in advance.
>> >
>> > --
>> > [apport] destar.py crashed with TypeError in file_input()
>> > https://bugs.launchpad.net/bugs/82286
>> > You received this bug notification because you are a direct subscriber
>> > of the bug.
>> >
>>
>> --
>> [apport] destar.py crashed with TypeError in file_input()
>> https://bugs.launchpad.net/bugs/82286
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>
> --
> [apport] destar.py crashed with TypeError in file_input()
> https://bugs.launchpad.net/bugs/82286
> You received this bug notification because you are a direct subscriber
> of the bug.
>