On Sun, Jun 28, 2009 at 5:24 PM, Thomas G. Willis<[email protected]> wrote:
>
> yep it seems they are using the same config. I put the logging in
> wsgiapp.py in an except clause....
>
>        # Hide the traceback here if the import fails (bad syntax and
> such)
>        __traceback_hide__ = 'before_and_this'
>        try:
>            __import__(full_module_name)
>        except Exception, ex:
>            import pprint
>            from pylons import config
>            log.debug("configuration is %s" % pprint.pformat
> (config._current_obj()))
>            raise ex
>
>
> 20:13:19,015 DEBUG [pylons.wsgiapp] configuration is {'__file__': '/
> home/twillis/projects/twsgi/src/container/development.ini',
>
> whereas in my controller I have
>
> #helloembed.py
> app = loadapp("config:/home/twillis/projects/twsgi/src/embedded/
> development.ini")
>
> HelloembedController = app

I don't know what to do at that point, so hopefully one of the other
developers does.

-- 
Mike Orr <[email protected]>

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