I wasn't using the scaffolding app, just setting the formstyle and
then checking the user login/register forms.
On Sat, May 23, 2015 at 2:58 AM, Niphlod niph...@gmail.com wrote:
uhm. could you point out what are the pages of the scaffolding app you're
referring to ? they don't seem that bad to
I tried those bootstrap styles from latest source and they seem to
work well for SQLFORM, however face problems for the non-standard
features in the auth forms mentioned.
On Fri, May 22, 2015 at 8:40 PM, 黄祥 steve.van.chris...@gmail.com wrote:
the newest version of web2py that have bootstrap 3
http is stateless
do you mean because the decoding is handled at the server layer before
reaches web2py?
On Tue, Jan 13, 2015 at 6:04 PM, Niphlod niph...@gmail.com wrote:
http is stateless.
On Tuesday, January 13, 2015 at 6:12:27 AM UTC+1, Richard Penman wrote:
Yeah same data of course,
and web2py is not
On Tue, Jan 13, 2015 at 6:04 PM, Niphlod niph...@gmail.com wrote:
http is stateless.
On Tuesday, January 13, 2015 at 6:12:27 AM UTC+1, Richard Penman wrote:
Yeah same data of course, but different encoding than form specifies so I
expected back end to reject it.
why it
file.
The correct file should be placed in
~/webapps/${webfaction_app_name}/uwsgi/uwsgi.xml . Check there, otherwise it
would be better to re-run the script to double check that everything has
been installed/configured correctly.
Paolo
2015-01-12 3:09 GMT+01:00 Richard Baron Penman richar
Yeah same data of course, but different encoding than form specifies so I
expected back end to reject it.
why it shouldn't be ? it's just different encodings to send the same data
over the wire.
On Monday, January 12, 2015 at 3:36:12 AM UTC+1, Richard Penman wrote:
Strangely I found that the
When the script is run it converts this template into what I posted.
So how has web2py changed since that would break this?
On Sun, Jan 11, 2015 at 11:29 PM, Paolo Valleri paolo.vall...@gmail.com wrote:
According to the script you mention, the uwsgi.xml should be much different
because it
oh, where is that documented? I didn't find it in the help message
(web2py.py -h) or the book.
On Sat, Aug 30, 2014 at 1:31 AM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
But now we simply do
web2py.py -G GAE
and everything is taken care for you you automatically.
On Wednesday,
I ask because typically a leading underscore would indicate a private
method.
On Aug 28, 2014 2:21 PM, Anthony abasta...@gmail.com wrote:
That's it.
On Thursday, August 28, 2014 3:59:48 AM UTC-4, Richard Penman wrote:
Hello,
my database table defines 'format' - what is the proper way to use
ah OK, that makes sense.
On Thu, Aug 28, 2014 at 2:42 PM, Anthony abasta...@gmail.com wrote:
In this case, the leading underscore is more to ensure the format attribute
doesn't clash with any possible field names (which are also accessed as
attributes of the table object).
Anthony
On
Thanks for info
On Tue, Aug 26, 2014 at 10:26 PM, Derek sp1d...@gmail.com wrote:
You should use proper HTTP status codes.
429 is the appropriate response code.
http://tools.ietf.org/html/rfc6585
While 503 did have wording suggesting it can be used for rate limiting, that
has been removed.
I found simply increasing the allocated memory resolved this error:
limit-as1024/limit-as
reload-on-as512/reload-on-as
reload-on-rss256/reload-on-rss
On Tue, Jan 15, 2013 at 11:33 PM, Daniel Gonzalez gonva...@gmail.com wrote:
I have not yet upgraded :(
On Tuesday, January 15, 2013 1:25:06
I used subprocesses on my previous server with uwsgi and had no problem.
On Tue, Jan 15, 2013 at 9:51 PM, Niphlod niph...@gmail.com wrote:
I may be out of line here, but the problem may lie in the fact that if you
want to start a subprocess usually subprocess.call uses a thread to
communicate
hmm, that looked promising but unfortunately found I am already at 2.7.3:
$ python -V
Python 2.7.3
On Tue, Jan 15, 2013 at 10:00 PM, Daniel Gonzalez gonva...@gmail.com wrote:
I am actually researching the same problem. Please take a look here:
Already 2.7.3.
Did you find the problem fixed after upgrading?
On Tue, Jan 15, 2013 at 11:22 PM, Daniel Gonzalez gonva...@gmail.com wrote:
The links I sent are related to mod_wsgi / apache / python 2.7.2, but it is
a generic python 2.7.2 problem. The problems do not happen always.
What
migrate=True, fake_migrate=True
strangely that produces the same table corrupted error
--
These work:
DAL(uri, migrate=False, fake_migrate=False)
DAL(uri, migrate=False, fake_migrate=True)
These produce Runtime error:
DAL(uri, migrate=True, fake_migrate=False)
DAL(uri, migrate=True, fake_migrate=True)
--
Thanks - that did it.
Any idea what happened and how to prevent this?
If helpful I can send the previous and current .table files.
On Sat, Dec 29, 2012 at 6:32 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
Can you try delete (backup first) all yourapp/database/*.table then try
That is the process I first tried, based on info in the web2py book.
The problem for this was when web2py was regenerating the tables it
raised an error that auth_user already exists.
On Sat, Nov 17, 2012 at 3:55 AM, pbreit pbreitenb...@gmail.com wrote:
I think you might want to try:
1. copy
I am still on web2py 1.99.4. Perhaps that is the reason.
For now my solution was to manually update the postgres database and
use fake_migrate to create the corresponding .table files.
http://web2py.com/books/default/chapter/29/06#Fixing-broken-migrations
I also develop with sqlite and migrations
(the launching) process and work
in the background.
pip install python-daemon
http://pypi.python.org/pypi/python-daemon/
mic
2012/11/7 Richard Baron Penman richar...@gmail.com
OK, got a solution that has been working well for last few days now.
I made 2 mistakes previously that caused me
...@gmail.com
wrote:
using SIGKILL is not a good way to end processes and zombies are evil not
only in Night of the Living
Deadhttps://en.wikipedia.org/wiki/Night_of_the_Living_Dead ;-)
they consume resources.
mic
2012/11/8 Richard Baron Penman richar...@gmail.com
thanks for advice
OK, got a solution that has been working well for last few days now.
I made 2 mistakes previously that caused me trouble:
1) The child processes are independent. I had used ctrl+c to kill
web2py, which was passed on to the child processes.
When kill -9 [web2py PID] was used the child processes
I don't get the it's not applicable in this case part. The way you start
them on web2py is the same one you can use with the scheduler
Does not seem applicable because does not address the problem of
dependent child processes.
Starting child processes from webserver main process is
Nice! I will modify this for my own use.
What is this included in gluon for?
I noticed a double slash is shown for sub-folders:
base//css/ (- when in static/css)
On Wed, Oct 31, 2012 at 8:09 PM, Niphlod niph...@gmail.com wrote:
there's something, not really tested, that you can definitely try:
That is correct. current.request.raw_args == '/css'
So checking for empty args fixes this.
I have submitted a patch for this and some other issues:
http://code.google.com/p/web2py/issues/detail?id=1131thanks=1131ts=1351737416
I needed to be able to filter files by extension and prevent
thanks for tips - yes I did have that inserted in the controller.
On Thu, Jul 26, 2012 at 2:01 PM, Anthony abasta...@gmail.com wrote:
The redirect in:
if not any(has_membership):
redirect(URL(r=request, c='default', f='index'))
will not break the execution of models?
Since the
did it from controller.
And not a rollback because the data was inserted, just the fields are NULL.
On Thu, Feb 16, 2012 at 4:52 PM, Ron McOuat ron.mco...@gmail.com wrote:
If you did this from a shell using the -S and -M web2py.py options then
the code must do a db.commit() as part of the
I am currently using uwsgi/nginx, and would prefer to stay with that
setup because so many others recommended it.
I saw some web2py examples here at the uwsgi wiki:
http://projects.unbit.it/uwsgi/wiki/Example
Does anyone have experience with configuring uwsgi/nginx to just serve
web2py for
v1.99.2
I found I get no error when I change the database from postgres to sqlite.
Richard
On Sun, Jan 1, 2012 at 2:43 AM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
Your code works for me. What version of web2py? Try it is a newly
createted application.
On Dec 31, 6:37 am, Plumo
ah thanks - that was it. I heard a year back the new DAL would take
care of these name conflicts.
On Sat, Dec 31, 2011 at 6:39 PM, Marin Pranjić marin.pran...@gmail.com wrote:
User is a reserved keyword in postgres, you need to rename field
Marin
On 31 Dec 2011 09:42, Plumo
yes only the default controller is available by default, until I
defined the controllers variable.
)
Richard
On Fri, Nov 18, 2011 at 12:24 AM, Jonathan Lundell jlund...@pobox.com wrote:
On Nov 16, 2011, at 11:53 PM, Richard Baron Penman wrote:
what web2py version are you using? I have 1.99.2
This is the only variable I have defined in routes.py:
routers = dict(
BASE = dict(
domains
:20 AM, Richard Baron Penman wrote:
in fact Bruno's suggestion to use the controllers variable does work for me.
Previously I used what you suggest (see first post in this thread) and
then only the default controller was exposed.
What error? Accessing domain/sales before returned this error
wrote:
On Nov 17, 2011, at 8:48 AM, Richard Baron Penman wrote:
OK domain1/sales
(These are just examples - if would be helpful to have the exact
settings and domains I am using we can have a private conversation.)
The apps have different controllers.
With this router:
routers = dict
, Jonathan Lundell jlund...@pobox.com wrote:
On Nov 17, 2011, at 8:03 PM, Richard Baron Penman wrote:
The point is the other controllers are not available without the
controllers variable. I can provide the real domains used in a private
conversation if helpful.
Since Bruno has also experienced
I found listing the controllers explicitly as Bruno mentioned fixed the problem.
Previously domain/non-default-controller returned: invalid function
(default/non-default-controller)
I would expect all controllers to work by default.
Richard
On Wed, Nov 16, 2011 at 2:36 PM, Jonathan Lundell
'ALL' but did not work
),
)
On Thu, Nov 17, 2011 at 12:56 AM, Jonathan Lundell jlund...@pobox.com wrote:
On Nov 16, 2011, at 5:32 AM, Richard Baron Penman wrote:
I found listing the controllers explicitly as Bruno mentioned fixed the
problem.
Previously domain/non-default-controller returned
The URL's are mapped like this:
http://domain.com/function/args?vars
The controllers are not exposed.
v1.99.2
Richard
On Wed, Nov 16, 2011 at 1:34 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
this should not be the case. if it is is a bug.
On Nov 15, 10:18 pm, Plumo
I was also surprised how much resources the default configuration
uses, just for the welcome app. Seems Django has better configuration.
I tried that static technique but haven't noticed a difference yet. I
only have the default welcome app static files.
Webfaction support recommends reducing the
I think this primarily a problem of how web2py is being served rather
than a web2py problem. Just the welcome app and no traffic takes 70MB
of memory by default.
On Fri, Nov 11, 2011 at 11:59 AM, Bruno Rocha rochacbr...@gmail.com wrote:
On Fri, Nov 11, 2011 at 12:52 AM, Richard Baron Penman
)
what's in data?
for key in data: print ket, repr(data[key]), type(data[key])
On Nov 4, 11:00 pm, Richard Baron Penman richar...@gmail.com wrote:
Yes the app uses a customized auth.
That user field stores google accounts:
from google.appengine.api import users
google_user
of the auth logic yourself.
On Nov 3, 10:07 pm, Richard Baron Penman richar...@gmail.com wrote:
from trunk, now a different error:
Traceback (most recent call last):
File /web2py/helpdesk/gluon/restricted.py, line 204, in restricted
exec ccode in environment
File /web2py/helpdesk
from trunk, now a different error:
Traceback (most recent call last):
File /web2py/helpdesk/gluon/restricted.py, line 204, in restricted
exec ccode in environment
File /web2py/helpdesk/applications/helpdesk/controllers/default.py:index,
line 11, in module
File
Currently the datastore is at 1.3GB and costs next to nothing, so normally I
wouldn't care. But this project is for a client who doesn't want to enable
billing so I am trying every optimization I can find.
On Thu, May 26, 2011 at 7:16 AM, howesc how...@umich.edu wrote:
i don't see the reason
would this work?
db.table_name.my_descriptive_field_name = db.table_name.a
I would rather avoid extra global variables and changing my database
queries.
On Wed, May 25, 2011 at 12:21 AM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
How about
my_descriptive_field_name = db.a
On May
For space reasons I want the database to internally store 'a', but be able
to use the longer name in code for readability.
So I think your example should instead be:
Field('a', 'string', alias='my_descriptive_field_name')
But does that alias parameter exist? Not according to docs:
On Wed, May 25, 2011 at 1:50 AM, Vinicius Assef vinicius...@gmail.comwrote:
I didn't understand your space reasons
see first post
On Wed, May 25, 2011 at 2:13 AM, pbreit pbreitenb...@gmail.com wrote:
Massimo's example gets you roughly the same result.
so are you saying this would work too?
db.table_name.my_descriptive_field_name = db.table_name.a
Having a constant or an alias is pretty much the same.
main drawback
nice - I didn't know about bloog.
I tried accessing that GAE app at http://blog.lucasdavi.la
http://blog.lucasdavi.la/and the first request took almost 10 seconds -
terrible!
On Wed, May 18, 2011 at 9:09 AM, Bruno Rocha rochacbr...@gmail.com wrote:
Instant Press
) I guess that is a GAE indexes problem, my is running on
webfaction which is faster at this point.
On Tue, May 17, 2011 at 9:15 PM, Richard Baron Penman richar...@gmail.com
wrote:
nice - I didn't know about bloog.
I tried accessing that GAE app at http://blog.lucasdavi.la
http
have a look in gluon/dal.py to see the internals. Very convenient.
On Tue, May 3, 2011 at 11:30 PM, Jose jjac...@gmail.com wrote:
On 3 mayo, 00:21, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
You can easily make a custom type to do that:
import xlib
compressed =
cool, that is what I was thinking too.
On Tue, Apr 19, 2011 at 1:48 AM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
On GAE tickets are stored on database.
you could use routes_onerror to call an action that publishes the
latest error on an RSS feed.
On Apr 18, 9:50 am, Plumo
Tickets are stored differently on normal server and GAE, and I want a
solution that works on both.
Is there a function that returns the current tickets?
On Tue, Apr 19, 2011 at 2:12 AM, Jonathan Lundell jlund...@pobox.comwrote:
On Apr 18, 2011, at 8:54 AM, Richard Baron Penman wrote:
cool
yes also worked for me.
People will need to change the application name, so should this be included
in app.yaml but commented out?
On Wed, Mar 9, 2011 at 2:03 PM, Jonathan Lundell jlund...@pobox.com wrote:
On Mar 8, 2011, at 6:36 PM, Plumo wrote:
thanks John, that makes sense.
I tested
I often use elance.com, and currently they have 54 projects related to
Python, and 1123 related to PHP.
On Mon, Feb 28, 2011 at 1:06 PM, blackthorne francisco@gmail.comwrote:
that is programming language popularity
not web programming language popularity
On Feb 28, 12:28 am, Plumo
I do want to remove the /page/ part.
Specifying a list of functions would be fine - how is that done?
On Mon, Feb 14, 2011 at 1:21 PM, Jonathan Lundell jlund...@pobox.comwrote:
On Feb 13, 2011, at 5:53 PM, Plumo wrote:
In the main routes.py I have:
routes_app =
thanks, I used the site-packages approach.
On Sat, Jan 1, 2011 at 6:04 PM, Jonathan Lundell jlund...@pobox.com wrote:
On Dec 31, 2010, at 9:24 PM, Plumo wrote:
My app uses Google's gdata client library:
http://code.google.com/p/gdata-python-client/
modules/
gdata/
atom/
test.py
Yes would be good if a clone existed. The only web2py helpdesk I found...
needs work: http://y-a-t-s-y.appspot.com/
I expect the hardest part is receiving emails - adding to correct ticket,
attachments, encoding problems, etc.
This page describes the different kinds of ticket systems well:
59 matches
Mail list logo