[pylons-devel] Paste #urlmap and console scripts don't seem to be working correctly.

2015-07-22 Thread Chip Kellam
I have defined my config.ini file as such using the paste urlmap guidelines for creating this type of application: [composite:main] use = egg:Paste#urlmap / = project domain developer.domain.com / = dev domain support.domain.internal / = support # Internal/VPN-only URL [app:project] use =

Re: [pylons-devel] Paste #urlmap and console scripts don't seem to be working correctly.

2015-07-22 Thread Michael Merickel
Pyramid has no way to know which pyramid app you are referring to in bootstrap unless you specify the section. As pyramid at a fundamental level supports running multiple apps in the same process you have to handle this yourself outside if you need to load a specific app for your script to run.

Re: [pylons-devel] Paste #urlmap and console scripts don't seem to be working correctly.

2015-07-22 Thread Chip Kellam
Thanks Michael! It's worth noting that the last pyramid app created, isn't actually determined from the order in the .ini file. Since it ultimately serializes to a dictionary {(domain, path): loader, ...} and we all know and love the unordered natured of Python dicts. -C On Wednesday, July