I should have said that the project works perfectly with paster either
with development.ini or production.ini but not when serving via
mod_wsgi.
I didn't change anything in the project and I didn't add any specific route.

I'm still stuck.

On Sat, Mar 5, 2011 at 1:27 AM, Mengu <whalb...@gmail.com> wrote:
> for development, i recommend you using paster. you can just do "paster
> serve --reload development.ini".
>
> - make sure you have "mako.directories = appname:templates" under
> [app:appname] directive in your *.ini files.
> - when you add a route or so, do not set the path like "/templates/
> index.html" just set it like "index.html". ie:
>
>    config.add_route('new_bookmark', '/bookmarks/new',
> view='bookmarkapp.views.bookmarks.new', view_renderer='bookmarks/
> index.html')
>
> hope this helps.
>
> On Mar 4, 1:02 pm, pgiraud <pierre.gir...@gmail.com> wrote:
>> Hi all,
>>
>> I just created a new project using the pyramid_sqla template (which
>> includes mako template engine).
>> Then followed the "run under mod_wsgi" instructions [1], but I get the
>> following error:
>> TopLevelLookupException: Cant locate template for uri 'index.html'
>>
>> Does anybody have an idea about what's wrong ?
>>
>> Thanks,
>> Pierre
>>
>> [1]http://docs.pylonsproject.org/projects/pyramid/1.0/tutorials/modwsgi/...
>
> --
> You received this message because you are subscribed to the Google Groups 
> "pylons-devel" group.
> To post to this group, send email to pylons-devel@googlegroups.com.
> To unsubscribe from this group, send email to 
> pylons-devel+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/pylons-devel?hl=en.
>
>



-- 
-------------------------------------------------------------
  | Pierre GIRAUD
  | 04.79.44.44.93
  |
  | http://pierrelebricoleur.blogspot.com
  | http://www.flickr.com/photos/pierregiraud
-------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to