Package: destar
Version: 0.0.167-1
Severity: grave
Justification: renders package unusable

The destar package is missing a config file. When I install quixote and
destar, and visit http://localhost:8080/ in my browser, I get the
following python traceback. Please add a sane default config file
to /etc/asterisk/destar_cfg.py. Just an empty file seems to be fine.

I also note that it is listening on all network interfaces and not just
localhost. It is probably a good idea to make this localhost only, since
it seems you can change stuff without authenticating in any way.

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/quixote/publish.py", line 522, in 
process_request
    output = self.try_publish(request, env.get('PATH_INFO', ''))
  File "/usr/lib/python2.3/site-packages/quixote/publish.py", line 436, in 
try_publish
    self.start_request(request)
  File "/usr/share/destar/python/Publisher.py", line 88, in start_request
    users = backend.getConfiglets(name="CfgOptUser")
  File "/usr/share/destar/python/backend.py", line 556, in getConfiglets
    if not __loaded: loadPythonConfig()
  File "/usr/share/destar/python/backend.py", line 60, in loadPythonConfig
    execfile(DESTAR_CFG)
IOError: [Errno 2] No such file or directory: 'destar_cfg.py'

Form:

Cookies:

Environment:
ACCEPT_ENCODING gzip,deflate
CONTENT_LENGTH  0
CONTENT_TYPE    
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT     
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET UTF-8,*
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_CONNECTION keep-alive
HTTP_COOKIE     
HTTP_HOST       localhost:8080
HTTP_KEEP_ALIVE 300
HTTP_REFERER    
HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) 
Gecko/20050802 Galeon/1.3.21 (Debian package 1.3.21-6)
PATH_INFO       /
QUERY_STRING    
REMOTE_ADDR     127.0.0.1
REMOTE_PORT     4566
REQUEST_METHOD  GET
REQUEST_URI     /
SCRIPT_FILENAME 
SCRIPT_NAME     
SERVER_NAME     localhost
SERVER_PORT     8080
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE page_main


-- System Information:
Debian Release: unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages destar depends on:
ii  python                        2.3.5-3    An interactive high-level object-o

Versions of packages destar recommends:
ii  asterisk                  1:1.0.9.dfsg-4 open source Private Branch Exchang
pn  python-pysqlite           <none>         (no description available)
ii  sqlite                    2.8.16-1       command line interface for SQLite

-- no debconf information
-- 
bye,
pabs

http://qa.debian.org/developer.php?login=Paul+Wise&comaint=yes

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

Reply via email to