You might want to check any dynamic {{extend}} statements within your
views.  When the app is compiled the views are 'extended' but any
paths based on run-time objects just don't work.  For example this
works uncompiled...

{{extend os.path.join(request.controller, 'custom_layout.html')}}

But it won't compile as there is no request object at compile time.
The include path needs to be hard-coded like this...

{{extend 'controller_name/custom_layout.html'}}


On Apr 30, 4:07 pm, Thadeus Burgess <thade...@thadeusb.com> wrote:
> Something is wrong with your syntax "somewhere".
>
> You can try and temporarily patch applications/admin/compile and
> remove the exception catch, that way you can determine the exact line
> that is causing the error.
>
> --
> Thadeus
>
> On Thu, Apr 29, 2010 at 9:41 PM, DJ <sebastianjaya...@gmail.com> wrote:
> > I checked for file permissions and they look fine. No special files in
> > my app apart from javascript files and the regular web2py files.
>
> > Version: 1.77.3 running on Ubuntu 8, python 2.5.2
>
> > Any pointers?
>
> > -Sebastian

Reply via email to