[debexpo-devel] better README

Ondrej Certik ondrej at certik.cz
Wed Dec 3 01:06:41 CET 2008


Hi,

I updated the README with installation instructions, please pull from:

git clone git://github.com/certik/debexpo.git

or apply the attached patch.

After executing all of the steps that I described in my patch and
going with the browser to http://127.0.0.1:5000/, I get the error
below. Any ideas how to fix that?

Thanks,
Ondrej

--------------------

CGI Variables
-------------
  CONTENT_LENGTH: '0'
  HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
  HTTP_ACCEPT_CHARSET: 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
  HTTP_ACCEPT_ENCODING: 'gzip,deflate'
  HTTP_ACCEPT_LANGUAGE: 'en-us,en;q=0.5'
  HTTP_CACHE_CONTROL: 'max-age=0'
  HTTP_CONNECTION: 'keep-alive'
  HTTP_HOST: '127.0.0.1:5000'
  HTTP_KEEP_ALIVE: '300'
  HTTP_USER_AGENT: 'Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-3)'
  PATH_INFO: '/'
  REMOTE_ADDR: '127.0.0.1'
  REQUEST_METHOD: 'GET'
  SERVER_NAME: '0.0.0.0'
  SERVER_PORT: '5000'
  SERVER_PROTOCOL: 'HTTP/1.1'


WSGI Variables
--------------
  application: <pylons.wsgiapp.PylonsApp object at 0xa7e7b8c>
  beaker.cache: <beaker.cache.CacheManager object at 0xa8491cc>
  beaker.get_session: <bound method SessionMiddleware._get_session of
<beaker.middleware.SessionMiddleware object at 0xa7e7eec>>
  beaker.session: {}
  paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at
0x9ebc9cc>
  paste.recursive.forward: <paste.recursive.Forwarder from />
  paste.recursive.include: <paste.recursive.Includer from />
  paste.recursive.include_app_iter: <paste.recursive.IncluderAppIter from />
  paste.recursive.script_name: ''
  paste.registry: <paste.registry.Registry object at 0xa84e08c>
  paste.throw_errors: True
  pylons.environ_config: {'cache': 'beaker.cache', 'session': 'beaker.session'}
  pylons.error_call: True
  pylons.routes_dict: {'action': u'index', 'controller': u'index'}
  routes.route: <routes.route.Route object at 0xa7b936c>
  wsgi process: 'Multithreaded'
  wsgiorg.routing_args: ((), {'action': u'index', 'controller': u'index'})
------------------------------------------------------------
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 40331)
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/paste/httpserver.py", line
1056, in process_request_in_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.5/SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.5/SocketServer.py", line 522, in __init__
    self.handle()
  File "/var/lib/python-support/python2.5/paste/httpserver.py", line
432, in handle
    BaseHTTPRequestHandler.handle(self)
  File "/usr/lib/python2.5/BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File "/var/lib/python-support/python2.5/paste/httpserver.py", line
427, in handle_one_request
    self.wsgi_execute()
  File "/var/lib/python-support/python2.5/paste/httpserver.py", line
287, in wsgi_execute
    self.wsgi_start_response)
  File "/var/lib/python-support/python2.5/paste/cascade.py", line 130,
in __call__
    return self.apps[-1](environ, start_response)
  File "/var/lib/python-support/python2.5/paste/registry.py", line
350, in __call__
    app_iter = self.application(environ, start_response)
  File "/var/lib/python-support/python2.5/paste/recursive.py", line
84, in __call__
    return middleware(environ, start_response)
  File "/var/lib/python-support/python2.5/paste/recursive.py", line
47, in __call__
    return self.app(environ, start_response)
  File "/var/lib/python-support/python2.5/paste/errordocument.py",
line 84, in __call__
    return self.app(environ, keep_status_start_response)
  File "/var/lib/python-support/python2.5/paste/recursive.py", line
80, in __call__
    return self.application(environ, start_response)
  File "/var/lib/python-support/python2.5/paste/errordocument.py",
line 185, in __call__
    app_iter = self.application(environ, change_response)
  File "/var/lib/python-support/python2.5/paste/exceptions/errormiddleware.py",
line 138, in __call__
    return self.application(environ, start_response)
  File "/var/lib/python-support/python2.5/pylons/wsgiapp.py", line
314, in __call__
    return self.app(environ, start_response)
  File "/var/lib/python-support/python2.5/beaker/middleware.py", line
81, in __call__
    return self.app(environ, start_response)
  File "/var/lib/python-support/python2.5/beaker/middleware.py", line
159, in __call__
    return self.wrap_app(environ, session_start_response)
  File "/var/lib/python-support/python2.5/routes/middleware.py", line
100, in __call__
    response = self.app(environ, start_response)
  File "/var/lib/python-support/python2.5/pylons/wsgiapp.py", line 95,
in __call__
    response = self.dispatch(controller, environ, start_response)
  File "/var/lib/python-support/python2.5/pylons/wsgiapp.py", line
236, in dispatch
    return controller(environ, start_response)
  File "/home/ondra/repos/debexpo/debexpo/lib/base.py", line 84, in __call__
    return WSGIController.__call__(self, environ, start_response)
  File "/var/lib/python-support/python2.5/pylons/controllers/core.py",
line 160, in __call__
    response = self._inspect_call(self.__before__)
  File "/var/lib/python-support/python2.5/pylons/controllers/core.py",
line 79, in _inspect_call
    result = func(**args)
  File "/home/ondra/repos/debexpo/debexpo/lib/base.py", line 63, in __before__
    set_lang(user_agent_language)
  File "/var/lib/python-support/python2.5/pylons/i18n/translation.py",
line 173, in set_lang
    translator = _get_translator(lang, **kwargs)
  File "/var/lib/python-support/python2.5/pylons/i18n/translation.py",
line 162, in _get_translator
    raise LanguageError('IOError: %s' % ioe)
LanguageError: IOError: [Errno 2] No translation file found for
domain: 'debexpo'
----------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-README-detailed-installation-instructions-added.patch
Type: text/x-diff
Size: 1503 bytes
Desc: not available
URL: <http://workaround.org/pipermail/debexpo-devel/attachments/20081203/f6850535/attachment.patch>


More information about the debexpo-devel mailing list