OK, I've totally misunderstood what web2py external cron integration
meant. I thought that I would be integrating system cron to run using
the web2py crontab. I understand now that it's just describing a way
to use the system cron to call web2py, which means it's easy to set
command line paramete
OK, maybe my last question was phrased so naively that it wasn't fit
to answer. So I'll re-phrase: the web2py manual says that to run
external cron, the "-J" and "-N" command line parameters need to be
set.
"If you are running external cron, make sure you add the -N command
line parameter to your
No one is passing the -N or -J parameter for external cron jobs in
web2py who is also using apache/mod_wsgi?
On Aug 25, 12:20 pm, Eric Scott wrote:
> How to I pass command line parameters to web2py when I'm not starting
> web2py from the command line. I'm using apache and
To solve it
> you must define the auth(s) tables in the db.py and set them to
> migrate=false... so web2py stop to trigger their creation each time...
>
> Richard
>
> On Thu, Aug 25, 2011 at 1:53 PM, Eric Scott wrote:
>
>
>
>
>
>
>
> > I'm usin
I'm using postgresql. I had to change a field name in my table def,
which are in the web2py models. The database changed accordingly, but
now I get a key error when I try to insert a new record using
appadmin. I made sure appadmin.py is the latest and greatest. Still
getting key error. I don't
How to I pass command line parameters to web2py when I'm not starting
web2py from the command line. I'm using apache and mod_wsgi. I've
looked closely at the documentation, and there's a section on how to
pass parameters when it's running as a windows service, but the
documentation is clear that
read in an external site about web2py crontab that all cron
scripts should have "db.commit()" at the end of each function with a
query, so perhaps that's what's happening.
On Aug 24, 12:33 pm, Massimo Di Pierro
wrote:
> try print db.tables
>
> On Aug 24, 10:55 am, E
I'm having trouble running a module in the web2py shell. It's having
difficulty with a db query that I execute with no problems in any
controller. Here's the traceback:
Traceback (most recent call last):
File "", line 1, in
File "/home/www-data/web2py/gluon/custom_import.py", line 280, in
ook/default/chapter/08#Other-Login-Methods-and-Log
> There's also this:http://www.web2pyslices.com/slices/take_slice/124.
>
> Anthony
>
>
>
>
>
>
>
> On Monday, August 22, 2011 8:30:18 AM UTC-4, Eric Scott wrote:
> > Is there anyway to use both Janra
Is there anyway to use both Janrain and give users to option to register for
a local account using Auth? I've looked and looked and can't find anything.
I can get my app to let users register for a local account, but then I
can't find anyway to include that option on the login page in addition to
I'm new to both Python and web2py and am having difficulty coding a
web2py radio form where each input field displays a name and an
image. One (and only one) of these images should be set as the user's
default image. I'm having trouble figuring out how to do this in
web2py. I was able to produce
Thanks Richard and pbreit for your input. pbreit -- what you describe
is similar to what I was thinking of. And yes, it would be nice if
there were a standardized way to do this.
Richard, since Bitbucket is acting as my central repo, I'll need to
pull from bitbucket to the production server. But
It could depend of your backend database if it support FK...
>
> If you had customized the auth_user table... Before add you FK field (the
> ones above), try to make sure your custom auth_user is correct then add your
> custom field one after one...
>
> Richard
>
>
>
>
>
27;ve
not seen the code you use anywhere in the web2py book (at least not
that I recall), so I will give it a try to see if it works.
Thanks again,
Eric
On Aug 8, 3:58 pm, Richard Vézina wrote:
> If you send you controller and model code at least with trace back it could
> help to trooble
I'm having problems getting tables linked in web2py using reference
fields. For example, I have a model with table student and table
contact. Table auth_user contains my app's users. In db.py, under
db.define_table('auth_user') I have the following code to reference a
one-to-many relationship be
Thanks again to pbreit, Chris, Richard, and any others I'm missing for
answering my questions about web2py and mercurial. I'm rapidly
getting used to mercurial with web2py and its working great for
switching between computers.
I do have a follow-up question about Fabric. Pbreit -- you're
absolut
Thank you Chris, Richard, and pbreit for your excellent input. Good
to know I'm heading in the right direction. I'll definitely look into
Fabric. Sounds like if I can gain some fluency in Fabric, it will
allow me a lot more control over deployment.
Thanks again,
Eric
On Aug 3, 5:40 pm, Chris
I'm new to web2py but find it a vast improvement over the PHP-based
web framework I was using before, and so I'm already using web2py to
develop my next web app. At the same time, I find myself in a
situation where I'm needing to use several different computers to do
my work. See I need to find a
amiliar with
SQL so it should not be too hard for me to set up the database; I
just need recent documentation on setting web2py to work with it
instead of sqlite.
Thanks in advance for any input on guides to setting up PostgreSQL
with web2py.
Kind regards,
Eric
Eric Scott Bullington
19 matches
Mail list logo