hi all,
just upgraded to pyramid 1.2a1 in particular to use
pyramid_debugtoolbar 0.7. Unfortunately, I cannot get it to work. When
I include pyramid_debugtoolbar, the static route for my project's
assets seems not to work anymore. I end up with errors like this:

  File ".../templates/site.mako", line 10, in render_body
    <link rel="shortcut icon" href="${url.static('myproject:static/
favicon.ico')}" />
  File ".../urlgenerator.py", line 36, in static
    return self.request.static_url(asset_spec, **kw)
  File ".../lib/python2.6/site-packages/pyramid/url.py", line 366, in
static_url
    return info.generate(path, self, **kw)
  File ".../lib/python2.6/site-packages/pyramid/config/views.py", line
1413, in generate
    return self.route_url(name, request, **kw)
  File ".../lib/python2.6/site-packages/pyramid/url.py", line 505, in
route_url
    return request.route_url(route_name, *elements, **kw)
  File ".../lib/python2.6/site-packages/pyramid/url.py", line 126, in
route_url
    raise KeyError('No such route named %s' % route_name)

Any ideas?
regards,
robert

-- 
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