Bug#501207: destar: The same Problem is still in 0.2.2-5.2 in testing

2008-11-28 Thread Tzafrir Cohen
reassign 501207 python-quixote1
thanks

 And the same error when trying to run it directly:
 
 
 $ /usr/sbin/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 Thu Nov 27 00:13:38 2008
 Hostname: sweetmorn.cohens.org.il
 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)

This is called directly from quixote code. The respective __init__
method is of the class compiler.ast.From . 

According to pydoc it is defined as:

  __init__(self, modname, names, level, lineno=None)

I see no documentation of the level argument anywhere.

When I add an extra junk parameter, say:

  io_imp = ast.From(IO_MODULE, [(IO_CLASS, None)], junk)

The error moves to the next line (which has the same issue.

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Bug#501207: destar: The same Problem is still in 0.2.2-5.2 in testing

2008-11-28 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 reassign 501207 python-quixote1
Bug#501207: destar doesn't start, backtrace shown
Bug reassigned from package `destar' to `python-quixote1'.

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#501207: destar: The same Problem is still in 0.2.2-5.2 in testing

2008-11-28 Thread Ben Hutchings
Tzafrir,

Please don't assign this bug to quixote1; there is already a bug report
on quixote1 (#484360) and I just uploaded a fix for that.  Neither of
the bugs mentioned in this report remains in destar.

Ben.

-- 
Ben Hutchings
Any smoothly functioning technology is indistinguishable from a rigged demo.


signature.asc
Description: This is a digitally signed message part


Bug#501207: destar: The same Problem is still in 0.2.2-5.2 in testing

2008-11-27 Thread Tzafrir Cohen
Extra information on my system where the bug is found (see traces in 
previous message)

$ reportbug --template destar

 ...

Package: destar
Version: 0.2.2-5.2

 ...

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages destar depends on:
ii  asterisk   1:1.6.0.1~dfsg-0.6416 Open Source Private Branch Exchang
ii  debconf1.5.24Debian configuration management sy
ii  python 2.5.2-3   An interactive high-level object-o
ii  python-medusa  0.5.4+clean-2 Framework for implementing asynchr
ii  python-pychart 1.39-6Python library for creating high q
ii  python-pysqlite2   2.4.1-1   Python interface to SQLite 3
ii  python-quixote11.2-4+b1  A highly Pythonic Web application
ii  sqlite33.5.9-5   A command line interface for SQLit

Versions of packages destar recommends:
pn  op-panel  none (no description available)

destar suggests no packages.

-- debconf information:
  destar/port: 8080

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#501207: destar: The same Problem is still in 0.2.2-5.2 in testing

2008-11-26 Thread Barry deFreese

Hi,

I don't quite understand your issue.  Are you saying you still have the 
same problem with the latest version?  You shouldn't need the 
work-around any more.


Thanks,

Barry deFreese



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#501207: destar: The same Problem is still in 0.2.2-5.2 in testing

2008-11-26 Thread Tzafrir Cohen
When trying to run the daemon from the init script:

# start-stop-daemon --start  --pidfile /var/run/destar/destar.pid --chuid 
asterisk --exec /usr/sbin/destar -- --pid=/var/run/destar/destar.pid --port=8080
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 Thu Nov 27 00:09:00 2008
Hostname: sweetmorn.cohens.org.il
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)



And the same error when trying to run it directly:


$ /usr/sbin/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 Thu Nov 27 00:13:38 2008
Hostname: sweetmorn.cohens.org.il
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 

Bug#501207: destar: The same Problem is still in 0.2.2-5.2 in testing

2008-11-11 Thread bugreporter
Package: destar
Version: 0.2.2-5.2
Followup-For: Bug #501207

The workaround still solves the problem. But that is not that good, isn`t it?


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-etchnhalf.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages destar depends on:
ii  asterisk   1:1.4.21.2~dfsg-2 Open Source Private Branch Exchang
ii  debconf1.5.23Debian configuration management sy
ii  python 2.5.2-2   An interactive high-level object-o
ii  python-medusa  0.5.4+clean-2 Framework for implementing asynchr
ii  python-pychart 1.39-6Python library for creating high q
ii  python-pysqlite2   2.4.1-1   Python interface to SQLite 3
ii  python-quixote11.2-4+b1  A highly Pythonic Web application 
ii  sqlite33.5.9-5   A command line interface for SQLit

Versions of packages destar recommends:
pn  op-panel  none (no description available)

destar suggests no packages.

-- debconf information:
  destar/port: 8080



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]