I found the problem.  When you do a compile you are adding a path on
to the front of:

{{extend '../../plugin_t2/views/layout.html'}}

lines and this does not work when being compiled.

During the data=parse_template in compile_views  parse_template
constructs a path:

/..../applications/app/views/../../plugin_t2/views.....

Which raises an exception because that path does not exist when it
tries to open the file on that mal constructed path.

I took out the ../../ and the app compiles fine now.  I don't really
need the view file, but I need the controller function as it emails
out some things.  I cases like this where we only use a controller
function, is there a way to just not have the controller_function.html
around - it seems it has to at least be there, even if empty, I guess.

thx,

-wes




On Mon, Feb 1, 2010 at 6:39 PM, mdipierro <mdipie...@cs.depaul.edu> wrote:
> was this solved?
>
> Massimo
>
> On Feb 1, 5:09 pm, Wes James <compte...@gmail.com> wrote:
>> When I try to compile my app with 1.74.9 I get:
>>
>> Cannot compile: there are errors in your app. Debug it, correct errors
>> and try again.
>>
>> I've been poking around my app, but haven't come across any errors in
>> the code.  Is it possible to put what file the error was in in a later
>> version of appamin?
>>
>> I compiled it under 1.74.8.  Does it need to be uncompiled then
>> recompiled for each version?
>>
>> thx,
>>
>> -wes
>
> --
> You received this message because you are subscribed to the Google Groups 
> "web2py-users" group.
> To post to this group, send email to web...@googlegroups.com.
> To unsubscribe from this group, send email to 
> web2py+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/web2py?hl=en.
>
>

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

Reply via email to