I put the output of the pdf generation tool into a StringIO object which is
request.body the output never touches the filesystem.
(web2py's request.body is an StringIO object)
This controller will run in the background and download the document.
The headers below are what you need in your
Massimo,
This has happened to me a few times it seems that an error in the module
just proclaims it is not there instead of raising the error through the
custom_import. I have not tried to fix it in web2py because I am under
deadlines, I just know that there is a import error or something like
When I was using sublime to develop web2py I would do imports under a False.
This would help with auto complete as well.
I use the pycharm now and it has web2py support that takes care of the way
web2py use the libs.
if 0: # for IDE's to find the imports for the globals
from gluon.globals
Yes I do it all the time. Here is the config I use on Ubuntu in
/etc/apache2/conf.d
START OF FILE
# most people use /home/www-data I just happend to use /home/web2py instead
this time
# I put this file in /etc/apache2/conf.d/, This makes it global to the
apache install.
# the key here is
Everyone at some point has this thought. But there is a big down side
to generating all the html in code, it makes the application hard to
skin. I can skin a web2py application in half and hour not including
cleaning up the menus with any template I come across. I do like
generate the html I am
I played with it, and it looks like nothing will replace eric4 for me.
I have been using eric back in the 3 days for PyQt apps.
A lot of people poo poo eric because of not getting breakpoints to
work.
One can force a breakpoint every time by importing sys on the file and
inserting sys.breakpoint()
Sorry I have not replied sooner.
the cron job is for apache
When you use wsgi apache runs the web2py.
Andy
On Dec 25, 8:19 am, annet annet.verm...@gmail.com wrote:
Andy,
I think your guess is right, to be sure I asked support the same
question. Here is their answer:
There is a Control
I'm just guessing but of you run it as a wsgi app it will all be all
be good. I have it behind mod_wsgi on my own server (not webfaction)
and apache takes care of it.
On Dec 24, 6:28 am, annet annet.verm...@gmail.com wrote:
In the WebFaction documentation about creating an application, I read
8 matches
Mail list logo