Re: [web2py] Re: Help on macos

2022-12-23 Thread Ian W. Scott
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

Re: [web2py] Re: Help on macos

2022-12-23 Thread Ian W. Scott
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 >>

Re: [web2py] Re: Help on macos

2022-12-23 Thread 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

[web2py] Re: Help on macos

2022-12-22 Thread Ian W. Scott
: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

[web2py] Help on macos

2022-12-22 Thread Ian W. Scott
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

[web2py] Re: Bypass web2py for static maintenance page

2022-09-21 Thread Ian W. Scott
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

[web2py] Bypass web2py for static maintenance page

2022-09-19 Thread Ian W. Scott
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

[web2py] Re: How to retain the 'email verification' functionality in customized registration form?

2020-07-01 Thread Scott Hunter
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

[web2py] Re: Column auth_user.id not found BUT the column exists.

2020-06-27 Thread Scott Hunter
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

[web2py] Re: CON Abandoned framework with (almost) no community

2020-05-18 Thread Scott Hunter
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 ? >

[web2py] Re: web2py - date picker issue

2020-05-06 Thread Scott Hunter
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

[web2py] Re: web2py - date picker issue

2020-05-05 Thread Scott Hunter
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

[web2py] Re: web2py - date picker issue

2020-05-05 Thread Scott Hunter
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

[web2py] Re: "TypeError: sequence of byte string values expected, value of type str found" when accessing admin

2020-05-01 Thread Ian W. Scott
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

[web2py] Likely causes of admin server error?

2020-05-01 Thread Ian W. Scott
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? -

Re: [web2py] Re: Server error when accessing admin

2020-05-01 Thread Ian W. Scott
. 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

Re: [web2py] Re: SQLFORM keepvalues - only 1 field

2020-04-30 Thread Scott Hunter
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 >

Re: [web2py] Re: Server error when accessing admin

2020-04-30 Thread Ian W. Scott
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

Re: [web2py] Re: SQLFORM keepvalues - only 1 field

2020-04-30 Thread Scott Hunter
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

Re: [web2py] Re: SQLFORM keepvalues - only 1 field

2020-04-30 Thread Scott Hunter
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

[web2py] Re: SQLFORM keepvalues - only 1 field

2020-04-30 Thread Scott Hunter
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

Re: [web2py] Re: Server error when accessing admin

2020-04-30 Thread Ian W. Scott
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

[web2py] Re: Server error when accessing admin

2020-04-30 Thread Ian W. Scott
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?

[web2py] Server error when accessing admin

2020-04-29 Thread Ian W. Scott
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

Re: [web2py] Re: p4web auth issues

2020-02-23 Thread Scott Hunter
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: >

[web2py] Re: Substituting an email address with a reference in a web2py emailing form

2020-02-23 Thread Scott Hunter
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

[web2py] Re: Substituting an email address with a reference in a web2py emailing form

2020-02-23 Thread 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

[web2py] Re: Saving a view as an file/image

2020-01-26 Thread Scott Hunter
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

[web2py] py4web won't create apps

2019-12-25 Thread Scott Hunter
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

[web2py] Re: Off topic : visual diagrams anyone ???

2019-12-01 Thread Scott Hunter
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

[web2py] Re: validators

2019-11-04 Thread Scott Hunter
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: -

[web2py] Re: Help understanding memory use and selects

2019-09-04 Thread Ian W. Scott
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

[web2py] Re: Help understanding memory use and selects

2019-09-04 Thread Ian W. Scott
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

[web2py] Re: Help understanding memory use and selects

2019-09-04 Thread Ian W. Scott
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

[web2py] Help understanding memory use and selects

2019-09-02 Thread Ian W. Scott
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.

[web2py] Problem importing installed module

2019-08-19 Thread Ian W. Scott
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.

[web2py] Example mod_wsgi config file?

2019-08-19 Thread Ian W. Scott
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 -

[web2py] Re: 'Storage' object is not callable

2019-07-09 Thread Scott Hunter
`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

[web2py] Re: How to pass the variable in Jquery in view to controller

2019-07-08 Thread Scott Hunter
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

[web2py] Re: Web3py

2019-05-12 Thread Scott Hunter
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/ >

[web2py] pyDAL -> jsDAL?

2019-04-29 Thread Scott Hunter
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

[web2py] Re: Web3py

2019-04-23 Thread Scott Hunter
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

[web2py] Re: Why python anywhere stuck with web2py 2.15 version

2019-04-01 Thread Scott Hunter
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

[web2py] Re: How can I convert a SUM from a SQLite SELECT statement to web2py's DAL?

2019-04-01 Thread Scott Hunter
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,

[web2py] Re: Inject html markup with python code at run time

2019-03-24 Thread Scott Hunter
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

[web2py] Re: Big picture issues in using react with web2py

2019-03-13 Thread Ian W. Scott
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

[web2py] Re: Big picture issues in using react with web2py

2019-03-11 Thread Ian W. Scott
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.

[web2py] Big picture issues in using react with web2py

2019-03-11 Thread Ian W. Scott
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

[web2py] Bad MySQL migration when there shouldn't be one?

2019-02-26 Thread Scott Hunter
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

[web2py] Modules Import Problem.

2018-07-20 Thread Scott ODonnell
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) -

[web2py] Where is password reset link handled?

2018-01-16 Thread Ian W. Scott
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

[web2py] Re: Problem w/ v2.16.1 & python3 & rest api

2018-01-05 Thread Scott Hunter
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

[web2py] Problem w/ v2.16.1 & python3 & rest api

2018-01-04 Thread Scott Hunter
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

[web2py] Remote database synchronization

2017-12-08 Thread Scott Hunter
,'%(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 --

[web2py] Scheduler on PythonAnywhere not working since Dec 1

2017-12-06 Thread Scott Hunter
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

[web2py] Re: "Invalid email" when requesting password reset

2017-11-30 Thread Ian W. Scott
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

[web2py] "Invalid email" when requesting password reset

2017-11-30 Thread Ian W. Scott
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

[web2py] Possible bug using | at end of element of list:string

2017-11-29 Thread Scott Hunter
- 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

[web2py] Re: Routes.py to filter out file version numbers

2017-11-20 Thread Ian W. Scott
: > > > > 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

[web2py] Re: Routes.py to filter out file version numbers

2017-11-20 Thread Ian W. Scott
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

[web2py] Re: Routes.py to filter out file version numbers

2017-11-20 Thread Ian W. Scott
, 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

[web2py] Re: Routes.py to filter out file version numbers

2017-11-20 Thread Ian W. Scott
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

[web2py] Re: Routes.py to filter out file version numbers

2017-11-17 Thread Ian W. Scott
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: > &

[web2py] Routes.py to filter out file version numbers

2017-11-17 Thread Ian W. Scott
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

[web2py] Re: web2py 2.15.3-stable: trying to re-bind a field?

2017-08-08 Thread Scott Hunter
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? >

[web2py] web2py 2.15.3-stable: trying to re-bind a field?

2017-08-08 Thread Scott Hunter
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),

[web2py] Re: web2py using "foreign" form

2017-03-23 Thread Scott Hunter
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

[web2py] Re: web2py using "foreign" form

2017-03-23 Thread Scott Hunter
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

Re: [web2py] Re: Using Stripe's Checkout w/ web2py

2017-03-23 Thread Scott Hunter
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

[web2py] web2py using "foreign" form

2017-03-23 Thread Scott Hunter
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

[web2py] Re: Using Stripe's Checkout w/ web2py

2017-03-22 Thread Scott Hunter
>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

[web2py] Re: Using Stripe's Checkout w/ web2py

2017-03-22 Thread Scott Hunter
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

[web2py] Using Stripe's Checkout w/ web2py

2017-03-21 Thread Scott Hunter
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

[web2py] Re: MySQL CSV load fails on pythonanywhere

2017-03-08 Thread Scott Hunter
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

[web2py] MySQL CSV load fails on pythonanywhere

2017-03-08 Thread Scott Hunter
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

[web2py] Re: Email using p7s file

2017-02-27 Thread Scott Hunter
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

[web2py] Re: Email using p7s file

2017-02-26 Thread Scott Hunter
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 >

[web2py] Email using p7s file

2017-02-17 Thread Scott Hunter
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

Re: [web2py] Changing admin password

2017-02-16 Thread Ian W. Scott
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 > >

Re: [web2py] Changing admin password

2017-02-16 Thread Ian W. Scott
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, >>

Re: [web2py] Changing admin password

2017-02-16 Thread Ian W. Scott
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

[web2py] Changing admin password

2017-02-16 Thread Ian W. Scott
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"

[web2py] Newbie questions about Apache & Web2PY

2017-02-12 Thread Scott ODonnell
-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

Re: [web2py] Re: Problem with limitby?

2016-12-14 Thread Scott Hunter
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

[web2py] Re: Problem with limitby?

2016-12-14 Thread Scott Hunter
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

Re: [web2py] Re: Problem with limitby?

2016-12-14 Thread Scott Hunter
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

[web2py] Re: Problem with limitby?

2016-12-13 Thread Scott Hunter
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

[web2py] Re: Problem with limitby?

2016-12-13 Thread Scott Hunter
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? >> >

[web2py] Re: Issues w/ Stripe?

2016-12-13 Thread Scott Hunter
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

[web2py] Re: Issues w/ Stripe?

2016-12-13 Thread Scott Hunter
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,

[web2py] Re: Problem with limitby?

2016-12-13 Thread Scott Hunter
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

[web2py] Re: Problem with limitby?

2016-12-12 Thread Scott Hunter
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). >> &

[web2py] Issues w/ Stripe?

2016-12-12 Thread Scott Hunter
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

[web2py] Re: Problem with limitby?

2016-12-12 Thread Scott Hunter
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)

Re: [web2py] Problem with limitby?

2016-12-12 Thread Scott Hunter
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

[web2py] Problem with limitby?

2016-12-11 Thread Scott Hunter
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

[web2py] Re: SQLFORM.grid: using groupby disables create?

2016-12-03 Thread Scott Hunter
/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

[web2py] sqlform.grid search numeric fields

2016-12-03 Thread Scott Hunter
). 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

[web2py] SQLFORM.grid: using groupby disables create?

2016-12-03 Thread Scott Hunter
? 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

[web2py] Re: SQLFORM.grid and oncreate error

2016-12-03 Thread Scott Hunter
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   2   3   4   >