apache/mod_wsgi setup is working as expected now on mac
On Friday, December 23, 2022 at 1:55:04 PM UTC-5 Ian W. Scott wrote:
> Okay, my one remaining problem is logging output. I'm using the default
> logging settings for web2py, and it usually is output in the apache error
> log. Bu
2py internal server for simplicity.
>
> Anyway have you setup uwsgi to use the right python?
>
> Il giorno ven 23 dic 2022 alle ore 09:22 Massimiliano
> ha scritto:
>
>> How do you start web2py?
>>
>> Il giorno ven 23 dic 2022 alle ore 03:39 Ian W. Scott
>>
gt; In my dev machine I use the web2py internal server for simplicity.
>
> Anyway have you setup uwsgi to use the right python?
>
> Il giorno ven 23 dic 2022 alle ore 09:22 Massimiliano
> ha scritto:
>
>> How do you start web2py?
>>
>> Il giorno ven 23 dic 202
:43:56 PM UTC-5 Ian W. Scott wrote:
> I've just moved to mac for my development and am trying to rebuild my
> (formerly Linux) web2py dev environment. But I've hit a complete dead end:
> - web2py is generating 500 errors in the browser
> - there's no log output in the apache logs at all
I've just moved to mac for my development and am trying to rebuild my
(formerly Linux) web2py dev environment. But I've hit a complete dead end:
- web2py is generating 500 errors in the browser
- there's no log output in the apache logs at all (so no error messages)
- none of the db table files
Monday, September 19, 2022 at 6:07:18 PM UTC-4 Ian W. Scott wrote:
> I'm trying to set up a static maintenance page under apache that doesn't
> depend on web2py. The problem is that the mod_wsgi scriptalias directive
> seems to override the rewrite instructions to serve the static maint
I'm trying to set up a static maintenance page under apache that doesn't
depend on web2py. The problem is that the mod_wsgi scriptalias directive
seems to override the rewrite instructions to serve the static maintenance
page.
My apache config includes this:
ErrorDocument 503
Then you need to change something. Since you haven't shown *anything* of
what you've written, no one can help with what that change might be.
On Wednesday, July 1, 2020 at 1:00:06 AM UTC-4, Anusha Narayan wrote:
>
> when I am trying to style the registration form using HTML, I am losing
> the
Can you post the complete instructions for the lines listed in the stack
trace? At least for the one in your code?
On Tuesday, June 23, 2020 at 10:10:32 AM UTC-4, Diego Tostes wrote:
>
>
> I am getting this error:
>
> Traceback (most recent call last):
> File
One constructive way to counter this "argument" might be to contribute a
web2py entry (frontend and/or backend)
to https://github.com/gothinkster/realworld
On Sunday, May 17, 2020 at 5:10:31 PM UTC-4, Ramos wrote:
>
> How is that possible ?
>
I have attached my file from the controller.
> Could you please let me know where do I need to make the changes (i.e.
> keepvalues = True)
>
> Regards,
> Anuj
>
> On Tuesday, May 5, 2020 at 6:38:29 PM UTC+5:30, Scott Hunter wrote:
>>
>> If this is part of a form (w
If this is part of a form (which I have to guess at, since you have
provided *no* details), you can use the `keepvalues` option to not reset
the fields of a form.
On Tuesday, May 5, 2020 at 8:24:32 AM UTC-4, Anuj Mahawar wrote:
>
> Hey Scott,
> Yeah, I meant that the date is
What do you mean by "redirected"? If you just mean that the date field is
reset to the current date, that is the same default behavior for all input
fields.
On Tuesday, May 5, 2020 at 12:44:31 AM UTC-4, Anuj Mahawar wrote:
>
> I am a beginner to the web2py. I am building an application with a
Did you ever solve this problem? I'm running into the same thing.
On Monday, April 8, 2019 at 12:56:49 PM UTC-4, João Matos wrote:
>
> When using Apache 2.4 (HTTPS using port 443) with web2py the application
> works fine, but the admin interface always returns and error "Internal
> Server
What are the "likely culprits" I should be looking at when I get an
"Internal server error" accessing admin or appadmin on a fresh web2py
installation? Here's what I've been trying so far.
- Apache2 config file correctly configured?
- I'm
- accessing over https?
- admin password set?
-
. Scott wrote:
>
> Unfortunately I don't know anything about nginx. I've always worked with
> apache2. Can anyone suggest how to debug this? I'm really at the end of my
> rope here.
>
> On Thursday, April 30, 2020 at 10:37:58 AM UTC-4, Ian W. Scott wrote:
>>
>> Thank
here....
>
> -Jim
>
>
> On Thursday, April 30, 2020 at 12:30:44 PM UTC-5, Scott Hunter wrote:
>>
>> Isn't "the next time through the method" when there is a new submission,
>> which would have the saved value in it (unless the user changed it)? Maybe
>
Unfortunately I don't know anything about nginx. I've always worked with
apache2. Can anyone suggest how to debug this? I'm really at the end of my
rope here.
On Thursday, April 30, 2020 at 10:37:58 AM UTC-4, Ian W. Scott wrote:
>
> Thanks very much
>
> Ian W. Scott, PhD
> Asso
need that value on the next time through the method. Therefore
> I have to save it to my session and grab it the next time in. Am I missing
> something?
>
> On Thu, Apr 30, 2020 at 12:19 PM Scott Hunter > wrote:
>
>> Since the value in question is part of the current s
Since the value in question is part of the current submission, isn't the
value available in form.vars?
- Scott
On Thursday, April 30, 2020 at 12:54:02 PM UTC-4, Jim S wrote:
>
> I was hoping to avoid those tricks. I too have done this by storing
> values in the session to be redisp
I recall doing this by "pre-populating" the field you want to keep with the
old value.
- Scott
On Thursday, April 30, 2020 at 11:10:42 AM UTC-4, Jim S wrote:
>
> Does anyone know how I can have a form 'keepvalues' but only keep one
> specific field value? I don't want it
Thanks very much
Ian W. Scott, PhD
Associate Professor of New Testament
Tyndale Seminary, Toronto, Canada
www.ianwscott.com (http://www.ianwscott.com)
Paul's Way of Knowing: Story Experience and the Spirit (Baker Academic [Mohr
Siebeck], 2006)
The Online Critical Pseudepigrapha (SBL, 2006
Thanks Annet for your help. Webfaction doesn't seem currently to make that
install script available when you're creating a new application in a
server. Web2py doesn't appear anywhere on the list of available application
types. Do you know if it's available somewhere else on their service?
I'm setting up a fresh install of web2py (on webfaction) on centos7 with
Apache 2.4.6 and PostgreSQL under Python 3.8. I've followed the server
configuration section of the web2py manual and the welcome app itself is
working fine. But when I try to navigate to Admin or appadmin I get a 500
user = auth.get.user()['first_name']
On Sunday, February 23, 2020 at 9:23:06 PM UTC-5, Lovedie JC wrote:
>
> Thanks.
> Before you replied I had tried :
> user = auth.get.user()[first_name]
>
> With an error.. 'first_name' is not defined
> Regards
>
> On Mon, Feb 24, 2020, 02:02 Val K > wrote:
>
What error did it give you? Are you sure `details.email_address` is
defined?
On Sunday, February 23, 2020 at 8:13:07 AM UTC-5, mostwanted wrote:
>
> I did try it without the quotes & it still gave me an error!
>
> On Sunday, February 23, 2020 at 2:59:04 PM UTC+2, Scott Hunter
Did you try removing the quotes around the address?
- Scott
On Saturday, February 22, 2020 at 4:56:04 PM UTC-5, mostwanted wrote:
>
> I've created an emailing form in my application but have substituted where
> the email goes with a reference that contains the email, th
The FPDF module has an HTML Renderer which you might find useful.
- Scott
On Sunday, January 26, 2020 at 9:25:47 AM UTC-5, John Bannister wrote:
>
> Hi All,
>
> I have hit a bit of a stumbling block and would like to know if anyone
> else has come across this and
lem, but would like some direction as to where to look.
- Scott
--
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
What is stopping you from using it *in* your web2py app?
On Wednesday, November 27, 2019 at 12:58:48 PM UTC-5, Ramos wrote:
>
> Hard to find a tool like this for my web2py app
>
> https://mermaidjs.github.io/#/
>
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book
You could write one to do this & use it where you need to.
On Monday, November 4, 2019 at 12:00:47 AM UTC-5, T.R.Rajkumar wrote:
>
> sqlform filed validators do not check for the precision of decimal fields.
> It would be nice it web2py validates the precision of fields.
>
--
Resources:
-
In case someone is looking for answers to my numbered questions, it seems
from what I can tell that:
1. Memory used performing a select isn't released for quite a while
afterwards, even if your code doesn't use that data again. So multiple
selects will quickly make your memory usage
r 2, 2019 at 3:44:18 PM UTC-4, Ian W. Scott wrote:
>
> I'm trying to lower the memory use of an app and have some general
> questions about how memory is used in DAL selects:
>
>
>1. Am I right that the memory used while performing the select isn't
>released right away
Thanks Dave. That was helpful.
On Tuesday, September 3, 2019 at 3:29:02 AM UTC-4, Dave S wrote:
>
>
>
> On Monday, September 2, 2019 at 12:44:18 PM UTC-7, Ian W. Scott wrote:
>>
>> I'm trying to lower the memory use of an app and have some general
>> questions a
I'm trying to lower the memory use of an app and have some general
questions about how memory is used in DAL selects:
1. Am I right that the memory used while performing the select isn't
released right away, even if the select isn't assigned to a variable?
2. I'm aware of iterselect.
When I try to import pytz at the top of my db.py model I'm getting the
following error:
No module named 'applications.paideia.modules.pytz'
"paideia" is the name of the application. I'm running python 3.7 and
double-checked that pytz is accessible from the py3.7 interactive prompt.
It is.
The web2py book refers to a sample wsgi config file (web2py-wsgi.conf) that
is supposed to be in the "scripts" folder. But it's not there in the
current production release. Is that available somewhere? I'm running into
some problems with my config.
Thanks.
--
Resources:
- http://web2py.com
-
`post_vars` isn't callable, but you are trying to call it on line 7. As
I'm not sure what you are trying to do there, can't say what to do instead.
On Monday, July 8, 2019 at 11:13:21 PM UTC-4, imran tube wrote:
>
> 'Storage' object is not callable
> : where is my wrong my code view or
The short answer is, you don't. Javascript is being executed in the
browser; controller code is executed on the server.
The longer answer is that the browser can make a request to the server (via
ajax or some other mechanism) that can cause controller code to be
executed. I think you'll need
Note: if the folder, translations, that is being complained about is added,
the app still can't be reached, but there is no longer an exception
reported: just the 404 page.
- Scott
On Saturday, May 11, 2019 at 9:55:34 PM UTC-4, 黄祥 wrote:
>
> $ ./web3py-start applications/
>
The direction from web2py to web3py seems to be applications where the
server is responsible for (relatively) static pages which use Javascript
for their dynamic aspects & talking to the server via an API, primarily for
interaction w/ the database.
In the spirit of Progressive Web Apps, one
I followed these directions as best I could:
* There is no file named web3py.py. There is a file web3py-start; that
seemed to work
* No matter what URL I provide, I get a big red screen saying "404 Not
Found"
On Thursday, April 11, 2019 at 1:31:29 PM UTC-4, En Ware wrote:
>
> I git installed
Shouldn't you ask them?
On Monday, April 1, 2019 at 8:57:21 AM UTC-4, Ron Chatterjee wrote:
>
> Does anyone know why python anywhere only give option for 2.15 edition of
> web2py? If I have to guess that's few years old. I asked the question
> because I am not sure if they believe 2.15 is more
This part of the web2py book might
help: http://www.web2py.com/book/default/chapter/06#sum-avg-min-max-and-len
On Monday, April 1, 2019 at 6:41:51 PM UTC-4, João Matos wrote:
>
> Hello,
>
> I have this SELECT in SQLite
>
> result = db.executesql(
> "SELECT auth_user.id,
it in your view.
If you want the code to be executed in the browser, you are out of luck.
- Scott
On Sunday, March 24, 2019 at 2:29:41 PM UTC-4, yng wrote:
>
> Hi Guru's.
>
> I'm new to web2py and web development in general.
> Hope somebody can help me.
>
> I want to inject a html ma
Thanks Anthony. That's very helpful.
On Monday, March 11, 2019 at 7:02:31 PM UTC-4, Anthony wrote:
>
> On Monday, March 11, 2019 at 9:52:16 AM UTC-4, Ian W. Scott wrote:
>>
>> I'd like to use react to build a relatively freestanding, single-page
>> front-end int
Okay. Good. Is there documentation somewhere on how to serve a static index
page? I can't seem to find it in the book.
On Monday, March 11, 2019 at 9:55:26 AM UTC-4, Leonel Câmara wrote:
>
> That seems perfectly doable. It's very much ok to use web2py simply to
> make an API for react to call.
I'd like to use react to build a relatively freestanding, single-page
front-end interface that communicates with web2py for dbio and heavier
processing. But I'm having a hard time wrapping my mind around how to
approach integrating them. I realize that I'm running into some gaps in my
File "/usr/local/lib/python2.7/dist-packages/MySQLdb/cursors.py", line
205, in execute
self.errorhandler(self, exc, value)
File "/usr/local/lib/python2.7/dist-packages/MySQLdb/connections.py",
line 36, in defaulterrorhandler
raise errorclass, errorvalue
- Scott
--
Res
odule named " error.
Is there a proper way to get all this working?
Thanks in advance
Scott
--
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)
-
I'm trying to debug an "invalid reset password" message when a user tries
to reset their password via an emailed link. I'm confused, though, about
where the emailed link is handled. I understand that it goes to
default/user/reset_password, but where in gluon (tools.py?) is that
response
rage.
- Scott
On Friday, January 5, 2018 at 2:46:22 AM UTC-5, Dave S wrote:
>
>
>
> On Thursday, January 4, 2018 at 1:07:24 PM UTC-8, Scott Hunter wrote:
>>
>> If I try to user curl to call the api_get_user_email function in the
>> default controller of the welcome
bug or I
am calling this incorrectly; here's the curl command:
curl --user username:password
http://127.0.0.1:8000/welcome/default/api_get_user_email
Any guidance as to what needs to be fixed would be appreciated.
- Scott
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentati
,'%(name)s')`.
Does this mean that things like SQLFORM.grid will not work for tables
defined so? What about tables like those part of `auth`?
If these parts of web2py will no longer work, is there a recommended way to
synchronize remote databases that does not have these issues?
- Scott
--
Since Dec 1, I can no longer schedule tasks in the scheduler for my web2py
(Version 2.14.6-stable+timestamp.2016.05.10.00.21.47) app on
PythonAnywhere.com; the task log is a LONG permutation of the following 3
lines:
ERROR:web2py.scheduler.giles-livetask1#7087:error popping tasks
I think you're right. It looks like the execution hangs up in
Auth.request_reset_password at the point where the system is checking a
setting for password case sensitivity:
if not self.settings.email_case_sensitive:
table_user.email.requires.insert(0, IS_LOWER())
I
I have one user (and only one) whose email has suddenly started to be
rejected by the auth login system. With the correct email address and
password (I've double-checked) he gets "Invalid login." Then when he tries
to use the password reset form he gets an "Invalid email" notice, as if the
- Scott
--
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&q
:
>
>
>
> On Monday, November 20, 2017 at 7:04:00 PM UTC-8, Ian W. Scott wrote:
>>
>> I'm not getting web2py's 404 page because it's not the controller's page
>> that isn't found. It's the stylesheet.
>>
>
> Yeah, I just was about to admit I didn't try messing
0, 2017 at 6:02:38 PM UTC-8, Ian W. Scott wrote:
>>
>> Yes, that's right. I'm getting a 404 on each file with the added version
>> string, which must mean that the routes.py isn't pointing the browser
>> successfully to the real file (without the version string in the na
, 2017 at 8:38:17 PM UTC-5, Dave S wrote:
>
>
>
> On Monday, November 20, 2017 at 9:04:27 AM UTC-8, Ian W. Scott wrote:
>>
>> I'm still wondering if anyone can help with this. I found a minor error
>> in the second member of the routes_in tuple (the period shouldn't b
testing
this on the bundled rocket server, so I don't think there's any issue with
server settings.
Any help would be much appreciated.
On Friday, November 17, 2017 at 10:12:58 AM UTC-5, Ian W. Scott wrote:
>
> Hi there. I'm dynamically adding version numbers to the filenames for
> stat
I should add that one reason I'm having trouble debugging is because I'm
not sure how to test the output of the rewrite. Is there any way to see
exactly what the rule is going to output, given a particular filename?
On Friday, November 17, 2017 at 10:12:58 AM UTC-5, Ian W. Scott wrote:
>
&
Hi there. I'm dynamically adding version numbers to the filenames for
static assets like css, js, and image files. (These version numbers aren't
actually in the filenames. They're just added to the url in the and
How would I determine that, and what would I do about it? I upgraded using
the "wizard".
- Scott
On Tuesday, August 8, 2017 at 11:09:42 PM UTC-4, Anthony wrote:
>
> Is it possible when you upgraded to 2.15.3, you failed to get the updated
> pydal that goes with it?
>
I have code in my db.py model to add fields to auth_user:
auth_extras = [
Field('paid', 'boolean',writable=False,readable=False),
Field('paidwhen', 'date',writable=False,readable=False),
Field('paidamount', 'float',writable=False,readable=False),
to the credit card number appropriately
(except for giving me back the token).
On Thursday, March 23, 2017 at 6:08:59 PM UTC-4, Anthony wrote:
>
> On Thursday, March 23, 2017 at 10:20:29 AM UTC-4, Scott Hunter wrote:
>>
>> That's what I would have thought, but if I have the fo
t
specify `args` in the action URL, or leave the action URL empty (and
display `request.env` from the appropriate controller).
Poking around the DOM, I see that there is *another* form inside of mine,
and this is the form which contains the "submit" button (along with all of
the in
I'd be very interested to see how you manage the Checkout form within the
web2py framework.
- Scott
On Thursday, March 23, 2017 at 4:11:02 AM UTC-4, Mathieu Clabaut wrote:
>
> I have a working stripe integration in web2py which is closely based to
> what the gluon/contrib/stripe.py
the
`action` attribute). Is there a way, within that controller, I can get the
content of that submission (what would show up in `request.post_vars` for a
web2py-generated form)? Does it help if I know the names of these fields?
- Scott
--
Resources:
- http://web2py.com
- http://web2py.com/book
>From the deafening silence, apparently this was not enough detail for
anyone to even ask what other details I need to provide, so I'll do it
myself: what other info do I need to provide to get some kind of response?
- Scott
On Wednesday, March 22, 2017 at 4:22:24 AM UTC-4, Scott Hunter wr
need is,
I can't tell how to get it.
I've been using web2py's Stripe module, but been getting errors about not
using TSL1.2; so instead of trying to mess with that, thought I would go
directly to using one of Stripe's supported methods.
- Scott
On Wednesday, March 22, 2017 at 12:29:36 AM UTC
Has anyone been able to use Stripe's Checkout with web2py? If so, how did
you do it? I'm having trouble getting the token it generates back.
- Scott
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https
in the source DB (which would presumably address the problem)?
- Scott
Note: I am not using the cpdb.py script to do this because it was never
able to find DAL, even when I gave it a full path to the gluon directory
On Wednesday, March 8, 2017 at 4:52:58 AM UTC-5, Scott Hunter wrote:
>
> When
record.
Is there some way to identify what line of the CSV is causing this? How
could this constraint be violated if the values all correspond to valid
records?
- Scott
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- htt
The link reports "Account suspended", so that wasn't too useful;
but I will check out sparkpost.com
On Monday, February 27, 2017 at 3:38:27 PM UTC-5, Dave S wrote:
>
>
>
> On Friday, February 17, 2017 at 4:57:03 AM UTC-8, Scott Hunter wrote:
>>
>> Is it possibl
Hello?
On Friday, February 17, 2017 at 7:57:03 AM UTC-5, Scott Hunter wrote:
>
> Is it possible to send email with web2py's Auth mailer using a .p7s file
> to sign/encrypt it? If so, how?
>
> If not, I saw (very brief) documentation on how to use x509 encryption
>
Is it possible to send email with web2py's Auth mailer using a .p7s file to
sign/encrypt it? If so, how?
If not, I saw (very brief) documentation on how to use x509 encryption (top
of Chapter 8), but wasn't clear on what the arguments that it needed were.
- Scott
--
Resources:
- http
ere 123456 is you pass phrase.
>
> 443 is the port for which the password apply
>
> This will create parameters_443.py file that you drop/replace in the
> web2py/ folder and then restart web2py instance and the new generated
> password should work.
>
> Richard
>
>
py/ folder and then restart web2py instance and the new generated
> password should work.
>
> Richard
>
> On Thu, Feb 16, 2017 at 11:29 AM, Ian W. Scott <scot...@gmail.com
> > wrote:
>
>> I seem to have forgotten the admin password for my web2py installation,
>>
ated
> password should work.
>
> Richard
>
> On Thu, Feb 16, 2017 at 11:29 AM, Ian W. Scott <scot...@gmail.com
> > wrote:
>
>> I seem to have forgotten the admin password for my web2py installation,
>> so I need to change it. Looking at posts here, the re
I seem to have forgotten the admin password for my web2py installation, so
I need to change it. Looking at posts here, the recommendation was:
1 - stop apache server
2 - restart web2py
3 - enter new password
4 - restart apache server
I'm getting stuck at 2. The only way I know how to "restart"
-packages
Attempting to add these to default.conf causes apache to fail on restart.
Thank you in advance for pushing me in the right direction.
I'm a bit over my head and working under a deadline.
-Scott
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http
It would be the case if one were cloned from the other.
- Scott
On Wednesday, December 14, 2016 at 3:54:44 PM UTC-5, Richard wrote:
>
> You should check if both data set are the same which shouldn't be the case
> for the machine you experiment the issue with...
>
> On Wed, Dec 1
I have just tried it on a different OS X machine (but same version of the
OS), and did not see the problem. And I didn't see it on pythonanywhere,
so I guess it is just that one machine.
- Scott
On Wednesday, December 14, 2016 at 2:03:10 PM UTC-5, Anthony wrote:
>
> Sorry, I cannot rep
produced using limitby
are the same as those that appear on the first page of the listing produced
by grid (as expected).
My use of belongs *does* force a unique id because the list passed to it
was constructed precisely to enforce that condition.
- Scott
On Wednesday, December 14, 2016 at 3
If I make a fresh, new app from the Administrative Interface, and replace
the contents of default.py with the following, it will print the first 20
records that should show up in the grid, first without using limityby (and
using a counter to stop at 20), and then with limityby; the second is
On Tuesday, December 13, 2016 at 11:57:48 AM UTC-5, Anthony wrote:
>
> On Tuesday, December 13, 2016 at 3:11:42 AM UTC-5, Scott Hunter wrote:
>>
>> The first 20 records appear in the same order in each case (using
>> DBBrowser). How does that help?
>>
>
The problem was with appconfig.ini; I had moved the Stripe tokens into it,
but left them surrounded by quotes.
On Monday, December 12, 2016 at 9:04:24 PM UTC-5, Scott Hunter wrote:
>
> I have 2 appliances on a pythonanywhere web app, one a clone of the other,
> both with a Stripe pay
It does not appear to have any notion of an appliance; they are just
different URLs on the same domain. I didn't use the backup appliance until
the real one stopped working.
- Scott
On Monday, December 12, 2016 at 10:49:30 PM UTC-5, Dave S wrote:
>
>
>
> On Monday, December 12,
The first 20 records appear in the same order in each case (using
DBBrowser). How does that help?
I *am* using the args (in code that appears before this), and do not use
any links generated by grid.
- Scott
On Monday, December 12, 2016 at 11:22:53 PM UTC-5, Anthony wrote:
>
&g
nday, December 12, 2016 at 9:00:09 PM UTC-5, Anthony wrote:
>
> On Monday, December 12, 2016 at 6:55:27 PM UTC-5, Scott Hunter wrote:
>>
>> Web2py: version 2.14.6, on OSX (from source, python 2.7.x) and at
>> pythonanywhere (for the version that works properly).
>>
&
been tried since
then until today).
Running web2py Version 2.14.6-stable+timestamp.2016.05.10.00.21.47
Any thoughts as to what might be the problem, or even better, how to fix it?
- Scott
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2
ch you can view via response.toolbar()) as well as the SQL
> you are running.
>
> Anthony
>
> On Sunday, December 11, 2016 at 11:49:53 PM UTC-5, Scott Hunter wrote:
>>
>> I'm using a SQLFORM.grid, using a query of the form:
>>
>> db.t_dog.id.belongs(dog_ids)
on
the first page of the SQLFORM.grid when sorted on the appropriate column.
On Monday, December 12, 2016 at 1:42:57 PM UTC-5, Richard wrote:
>
> Hello Scott,
>
> I am not sure I understand the problem... But for sure limit by alone will
> never return you the same set of results as you
I'm using a SQLFORM.grid, using a query of the form:
db.t_dog.id.belongs(dog_ids)
But the listing is erratic; some records only appear when the list is
sorted certain ways (except for the last page); entries on each page are in
order, but entries between pages overlap.
I thought the
/add behavior
(although maybe I could use its constraint parameter to accomplish this
without using groupby).
- Scott
On Saturday, December 3, 2016 at 11:11:58 AM UTC-5, Anthony wrote:
>
> This is tricky. Write operations (as well as the details view) are
> disabled with groupby bec
).
Is this intentional? Short of using the advanced search, is there a way to
search numeric fields?
- Scott
--
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
? If it is a feature, can someone explain the reasoning
behind it, and how I would best work around it?
- Scott
--
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
My bad; I was using concrete (the callback for AFTER a record has been
created) instead of onvalidation (the one for BEFORE that).
On Friday, December 2, 2016 at 11:17:57 PM UTC-5, Scott Hunter wrote:
>
> If the oncreate callback for a SQLFORM.grid sets form.errors to true, the
&g
1 - 100 of 356 matches
Mail list logo