My first guess would be Quickwiki is for 0.9.6 nad has not been
upgraded to be useful in 0.9.7 yet.



On Jan 8, 12:59 pm, mk <[email protected]> wrote:
> Hello everyone,
>
> I'm sad to report that QuickWiki as installed from pypi doesn't work
> with Pylons 0.9.7. I installed it using easy_install, followed the
> instructions 
> onhttp://wiki.pylonshq.com/display/pylonsdocs/QuickWiki+Tutorialto the
> letter (added sqlite path, successfully populated db with data etc), and
> it fails with Internal Server Error on page and exception in the paster
> console window below.
>
> I thought maybe the issue was that it tried to bind on 0.0.0.0 address,
> so I changed host in [server:main] to 127.0.0.1, but no, it didn't help.
>
> C:\Documents and Settings\Administrator\QuickWiki>paster serve test.ini
> C:\Python25\lib\site-packages\quickwiki-0.1.5-py2.5.egg\quickwiki\config\middleware.py:44:
> Deprecati
> onWarning: The 'error_template' errorware argument for customizing
> EvalException is deprecated, plea
> se remove it. To customize EvalException's HTML, setup your own
> EvalException and ErrorMiddlewares i
> nstead of using ErrorHandler.
>    **config['pylons.errorware'])
> C:\Python25\lib\site-packages\pylons-0.9.7rc4-py2.5.egg\pylons\middleware.py:98:
> DeprecationWarning:
>   The webhelpers.rails package is deprecated.
> - Please begin migrating to the new helpers in webhelpers.html,
>    webhelpers.text, webhelpers.number, etc.
> - Import url_for() directly from routes, and redirect_to() from
>    pylons.controllers.util (if using Pylons) or from routes.
> - All Javascript support has been deprecated.  You can write
> link_to_remote()
>    yourself or use one of the third-party Javascript libraries.
>    from webhelpers.rails.asset_tag import javascript_path
> Starting server in PID 2428.
> serving onhttp://127.0.0.1:5000
> Error - <type 'exceptions.KeyError'>: 'wsgiorg.routing_args'
> URL:http://127.0.0.1:5000/
> File
> 'c:\\python25\\lib\\site-packages\\WebError-0.10.1-py2.5.egg\\weberror\\errormiddleware.py',
> li
> ne 162 in __call__
>    app_iter = self.application(environ, sr_checker)
> File
> 'c:\\python25\\lib\\site-packages\\Pylons-0.9.7rc4-py2.5.egg\\pylons\\wsgiapp.py',
> line 116 in
> __call__
>    controller = self.resolve(environ, start_response)
> File
> 'c:\\python25\\lib\\site-packages\\Pylons-0.9.7rc4-py2.5.egg\\pylons\\wsgiapp.py',
> line 244 in
> resolve
>    match = environ['wsgiorg.routing_args'][1]
> KeyError: 'wsgiorg.routing_args'
>
> CGI Variables
> -------------
>    CONTENT_LENGTH: '0'
>    HTTP_ACCEPT:
> 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,imag
> e/png,*/*;q=0.5'
>    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 (Windows; U; Windows NT 5.1; en-US;
> rv:1.8.1.20) Gecko/20081217 (CK-
> IBM) Firefox/2.0.0.20'
>    PATH_INFO: '/'
>    REMOTE_ADDR: '127.0.0.1'
>    REQUEST_METHOD: 'GET'
>    SERVER_NAME: '127.0.0.1'
>    SERVER_PORT: '5000'
>    SERVER_PROTOCOL: 'HTTP/1.1'
>
> WSGI Variables
> --------------
>    application: <pylons.wsgiapp.PylonsApp object at 0x0176EB50>
>    paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at
> 0x00E90C50>
>    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 0x0180B6B0>
>    paste.throw_errors: True
>    pylons.environ_config: {'session': 'beaker.session', 'cache':
> 'beaker.cache'}
>    pylons.error_call: True
>    pylons.pylons: <pylons.util.PylonsContext object at 0x0180E0B0>
>    wsgi process: 'Multithreaded'
> ------------------------------------------------------------
>
>              <p>Additionally an error occurred while sending the
> &lt;weberror.reporter.EmailReporter
> object at 0x0180E170&gt; report:
>
>              <pre>Traceback (most recent call last):
>    File
> "c:\python25\lib\site-packages\WebError-0.10.1-py2.5.egg\weberror\errormiddleware.py",
> line 4
> 50, in send_report
>      rep.report(exc_data)
>    File
> "c:\python25\lib\site-packages\WebError-0.10.1-py2.5.egg\weberror\reporter.py",
> line 45, in r
> eport
>      server = smtplib.SMTP(self.smtp_server)
>    File "C:\Python25\lib\smtplib.py", line 244, in __init__
>      (code, msg) = self.connect(host, port)
>    File "C:\Python25\lib\smtplib.py", line 311, in connect
>      (code, msg) = self.getreply()
>    File "C:\Python25\lib\smtplib.py", line 352, in getreply
>      line = self.file.readline()
>    File "C:\Python25\lib\socket.py", line 346, in readline
>      data = self._sock.recv(self._rbufsize)
> error: (10054, 'Connection reset by peer')
> </pre>
>              </p>----------------------------------------
> Exception happened during processing of request from ('127.0.0.1', 2902)
> Traceback (most recent call last):
>    File
> "c:\python25\lib\site-packages\paste-1.7.2-py2.5.egg\paste\httpserver.py",
> line 1062, in proc
> ess_request_in_thread
>      self.finish_request(request, client_address)
>    File "C:\Python25\lib\SocketServer.py", line 254, in finish_request
>      self.RequestHandlerClass(request, client_address, self)
>    File "C:\Python25\lib\SocketServer.py", line 522, in __init__
>      self.handle()
>    File
> "c:\python25\lib\site-packages\paste-1.7.2-py2.5.egg\paste\httpserver.py",
> line 436, in handl
> e
>      BaseHTTPRequestHandler.handle(self)
>    File "C:\Python25\lib\BaseHTTPServer.py", line 316, in handle
>      self.handle_one_request()
>    File
> "c:\python25\lib\site-packages\paste-1.7.2-py2.5.egg\paste\httpserver.py",
> line 431, in handl
> e_one_request
>      self.wsgi_execute()
>    File
> "c:\python25\lib\site-packages\paste-1.7.2-py2.5.egg\paste\httpserver.py",
> line 287, in wsgi_
> execute
>      self.wsgi_start_response)
>    File
> "c:\python25\lib\site-packages\paste-1.7.2-py2.5.egg\paste\cascade.py",
> line 130, in __call__
>
>      return self.apps[-1](environ, start_response)
>    File
> "c:\python25\lib\site-packages\paste-1.7.2-py2.5.egg\paste\registry.py",
> line 350, in __call_
> _
>      app_iter = self.application(environ, start_response)
>    File
> "c:\python25\lib\site-packages\paste-1.7.2-py2.5.egg\paste\recursive.py",
> line 84, in __call_
> _
>      return middleware(environ, start_response)
>    File
> "c:\python25\lib\site-packages\paste-1.7.2-py2.5.egg\paste\recursive.py",
> line 47, in __call_
> _
>      return self.app(environ, start_response)
>    File
> "c:\python25\lib\site-packages\paste-1.7.2-py2.5.egg\paste\errordocument.py",
> line 84, in __c
> all__
>      return self.app(environ, keep_status_start_response)
>    File
> "c:\python25\lib\site-packages\paste-1.7.2-py2.5.egg\paste\recursive.py",
> line 80, in __call_
> _
>      return self.application(environ, start_response)
>    File
> "c:\python25\lib\site-packages\paste-1.7.2-py2.5.egg\paste\errordocument.py",
> line 185, in __
> call__
>      app_iter = self.application(environ, change_response)
>    File
> "c:\python25\lib\site-packages\WebError-0.10.1-py2.5.egg\weberror\errormiddleware.py",
> line 1
> 56, in __call__
>      return self.application(environ, start_response)
>    File
> "c:\python25\lib\site-packages\Pylons-0.9.7rc4-py2.5.egg\pylons\wsgiapp.py",
> line 116, in __c
> all__
>      controller = self.resolve(environ, start_response)
>    File
> "c:\python25\lib\site-packages\Pylons-0.9.7rc4-py2.5.egg\pylons\wsgiapp.py",
> line 244, in res
> olve
>      match = environ['wsgiorg.routing_args'][1]
> KeyError: 'wsgiorg.routing_args'
> ----------------------------------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to