Hi,
I'm stuck with a static view lookup problem. Seems like there is a
bug, maybe someone has an idea.

The situation is:
I've two static directories registered (in two different components)
by calling

                        config.include(component.RegisterViews)
                        config.commit()

for each of the components.
component.RegisterViews calls something like
"config.add_static_view(name='design1', path='module.design:static')"

Everything (the registration, static url generation) works fine up to
the lookup of the static files of the second(!) registered static
view. The first registered one works allright.

The call in pyramid.router.py (line 140)

                    view_callable = adapters.lookup(
                        (IViewClassifier, request_iface,
context_iface),
                        IView, name=view_name, default=None)

fails and returns None. All parameters passed to lookup() are ok.
Unfortunately the adapter lookup is everything but transparent and I'm
not sure what to look for in a debugger.

Any Idea?
Thanks, Arndt.


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