I'm trying to setup mongodb as my root factory, but whenever I try to access a value in production.ini (like settings['mongo_uri']), it crashes saying KeyError even though that key does exist and is accessed perfectly in the Main function. Why can't it access the INI files? Here is a pastebin link to the relevant code: http://pastebin.com/Uw0x3Vzn
Can anyone see what's wrong here? -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/pylons-discuss/-/b__OmKlwFwMJ. 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.
