On Tue, Jul 23, 2013 at 09:47:34PM +0200, Alessandro Molina wrote:
>    This is probably because your test didn't load the application and so the
>    config is not available.
>    Check in newly quickstarted TG23 applications the "load_app" function and
>    make sure it's called before setup_db (like in
>    tests/model/__init__.py:setup() in newly 2.3 quickstarted apps)
That was it, there used to be setup_db only, now you need the load_app
beforehand as you said.

I have a more serious problem with 2.3, I cannot get it to work through
WSGI.  Every url under it gives me a 404.  I tried it with both the
paster and gearbox serve and they work fine. I try a test.wsgi file and
that works fine, but every request to the application gives me a 404 and
it's not the webserver giving it but the application throwing the 404
(they look and log differently).

Not sure if it is relevant, but its mounted on a subdirectory. So
http://enc.com.au/ is not WSGI but http://enc.com.au/itools/ is.
I rolled back to 2.2.2 and it works ok again.

I know there was some work in the routing done for 2.3 so I'm guessing
I'm hitting a snag there. Any help to sort this would be appreciated.

 - Craig
-- 
Craig Small VK2XLZ   http://enc.com.au/          csmall at : enc.com.au
Debian GNU/Linux     http://www.debian.org/      csmall at : debian.org
GPG fingerprint:     5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to