> After compiling the Welcome app, I tried two things. I moved out the 
> source files from the controllers, models, and views folders, and either 
> just left the compiled folder in place,
>

That should work but does not in 2.15 due to a bug, for which I have 
submitted a pull request. See 
https://groups.google.com/forum/#!msg/web2py/R7ie7_neg7E/JdFcmriEAgAJ. It 
should work if you leave the view files but delete the controllers and 
models.

Note, in that case, the errors you see should be "Invalid view", not 
"Invalid controller".

Also, note that you can achieve the above by running "Pack compiled" in the 
admin app -- it will retain only the compiled files in the packed 
application.
 

> or went and replaced all the source files from the controllers, models, 
> and views folders with those files from the compiled folder. Neither of 
> these attempts worked, throwing 'invalid controller' errors.
>

This approach will not work and is not intended to.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to