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

2017-03-22 Thread Dave S
On Wednesday, March 22, 2017 at 6:42:42 PM UTC-7, Dave S wrote: > > > > On Wednesday, March 22, 2017 at 6:29:38 PM UTC-7, Scott Hunter wrote: >> >> 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 >>

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

2017-03-22 Thread Dave S
On Wednesday, March 22, 2017 at 6:29:38 PM UTC-7, Scott Hunter wrote: > > 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?

[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 wrote:

[web2py] how to iterate IS_IN_DB validator with multiple option set to True

2017-03-22 Thread Áureo Dias Neto
i have an field with the IS_IN_DB validator with multiple option set to True, i want to iterate it to show the results an example of field content is: {'Curso': '|8|9|'} -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code)

Re: [web2py] Re: Trying to use Field.represent for 'blob' type in SQLFORM.grid (works in appadmin?)

2017-03-22 Thread Dave S
On Wednesday, March 22, 2017 at 1:56:56 PM UTC-7, Jordan Myers wrote: > > Also, attempting to access appadmin for any table yields: > > Traceback (most recent call last): > File "/home/veda/acre/gluon/restricted.py", line 216, in restricted > exec(ccode, environment) > File "", line 192,

Re: [web2py] Re: web2pyslices

2017-03-22 Thread Carlos Costa
+1 for the web2py fiddle idea. Maybe it could be run on an entirely Python sandbox. There are some libs available to accomplish this. 2017-03-22 11:29 GMT-03:00 Richard Vézina : > Just an idea, need coding though, maybe we could create a basic app where > the slice

Re: [web2py] Re: Trying to use Field.represent for 'blob' type in SQLFORM.grid (works in appadmin?)

2017-03-22 Thread Jordan Myers
Also, attempting to access appadmin for any table yields: Traceback (most recent call last): File "/home/veda/acre/gluon/restricted.py", line 216, in restricted exec(ccode, environment) File "", line 192, in File "/home/veda/acre/gluon/sqlhtml.py", line 3314, in __init__ fieldmap =

Re: [web2py] Re: How to upload an image from React Native to Web2py?

2017-03-22 Thread Dave S
On Wednesday, March 22, 2017 at 1:01:45 PM UTC-7, Dave S wrote: > > > > On Monday, March 13, 2017 at 10:56:49 PM UTC-7, Mika Sjöman wrote: >> >> Yes I did both but I kept getting the same output no matter what I did. >> >> //Cheers >> > > > I think you need to copy the field store to a file.

Re: [web2py] Re: How to upload an image from React Native to Web2py?

2017-03-22 Thread Dave S
On Monday, March 13, 2017 at 10:56:49 PM UTC-7, Mika Sjöman wrote: > > Yes I did both but I kept getting the same output no matter what I did. > > //Cheers > I think you need to copy the field store to a file. That is, you do a normal python open for a file that's going to be where you

[web2py] Re: How to upload an image from React Native to Web2py?

2017-03-22 Thread Mika Sjöman
Yeah, I am back at it now. But I still dont seem to be able to save the object. Any ideas on how to save this object? I have tried and tried but I am just not able to save it :( // Mika On Tuesday, March 14, 2017 at 11:20:16 AM UTC+1, Leonel Câmara wrote: > > Mika just because you've uploaded

Re: [web2py] Re: ProgrammingError: column "worker_stats__tmp" is of type json but expression is of type text

2017-03-22 Thread António Ramos
I want to keep postgres... 2017-03-22 17:22 GMT+00:00 Ben Lawrence : > Use mysql, less head-ache for the scheduler. > > On Mar 22, 2017, at 10:20 AM, Ramos wrote: > > I had the same problem this week and did all > > > *Please drop the scheduler_worker

Re: [web2py] Re: ProgrammingError: column "worker_stats__tmp" is of type json but expression is of type text

2017-03-22 Thread Ben Lawrence
Use mysql, less head-ache for the scheduler. > On Mar 22, 2017, at 10:20 AM, Ramos wrote: > > I had the same problem this week and did all > > Please drop the scheduler_worker table from the database and remove the file > *_scheduler_worker.table from the databases/

[web2py] Re: ProgrammingError: column "worker_stats__tmp" is of type json but expression is of type text

2017-03-22 Thread Ramos
I had the same problem this week and did all *Please drop the scheduler_worker table from the database and remove the file *_scheduler_worker.table from the databases/ folder of your application, then set migrate to True (a single request with migrate=True will suffice). The table will be

Re: [web2py] Re: Trying to use Field.represent for 'blob' type in SQLFORM.grid (works in appadmin?)

2017-03-22 Thread Jordan Myers
I have done as you suggested, but web2py server will no longer start (tried with rocket server). Traceback: Traceback (most recent call last): File "web2py.py", line 21, in import gluon.widget File "/home/veda/acre/gluon/widget.py", line 26, in from gluon import main, newcron File

Re: [web2py] Retrieve other fields from the LDAP database during login

2017-03-22 Thread Richard Vézina
Which field, are they related to group? Please try to be more specific. I think you can get more data from LDAP for group, but I am not sure if it possible for fields specific to the user though you can hack the ldap_auth to do so... Richard On Mon, Mar 20, 2017 at 4:30 PM, Dave S

Re: {Disarmed} Re: [web2py] web2pyslices

2017-03-22 Thread Richard Vézina
Hello Carlos, I didn't see pass your example proposal, but having to install it make it difficult to get feedback I guess... Maybe you could set tempory live demo on python anywhere for instance or anywhere else... Richard On Tue, Mar 21, 2017 at 3:28 PM, Carlos Cesar Caballero Díaz <

Re: [web2py] Re: web2pyslices

2017-03-22 Thread Richard Vézina
Just an idea, need coding though, maybe we could create a basic app where the slice has to be a working example a la fiddle (web2py-fiddle). I know it difficult and involve a lot of security, sandboxing, etc, but it would be interresting to have demo of slice, that make sure we have the exact code

Re: [web2py] Re: web2pyslices

2017-03-22 Thread Carlos Costa
I'd like to help maintain it. And I vote for a web2py solution. Not using would let us in a "shoemaker's son always goes barefoot" situation. I think this is embarrassing. 2017-03-22 1:23 GMT-03:00 Kiran Subbaraman : > I agree that the managing web2pyslices as issues

[web2py] Visual Studio Code and debugging

2017-03-22 Thread Andrea Fae'
I tried to use Visual Studio Code like IDE for debugging web2py programs. In the launch.json I inserted this: { "name": "Web2py", "type": "python", "request": "launch", "stopOnEntry": true, "pythonPath": "${config.python.pythonPath}",

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

2017-03-22 Thread Scott Hunter
I enter the credit cad info, the submit button turns green w/ the animated check box after being pressed, and the appropriate controller gets invoked. But there is nothing in the request about the token: no post vars (which makes sense, since it isn't using a web2py-generated form), but not