[web2py] Re: Payment gateway working app using AuthorizNet

2017-01-31 Thread Massimo Di Pierro
There is an example in gluon/contrib/AuthorizeNet.py but I do not think anybody used that in year. On Monday, 30 January 2017 15:35:00 UTC-6, Ron Chatterjee wrote: > > Is there a fully working version of payment gateway using AuthorizeNet > that anyone can share? > > -- Resources: -

[web2py] Re: Web2Py & Pycharm Debugger not working

2017-01-31 Thread Harold Sarmiento
I have merged my project Web2py to the last version, this causes the debug breakpoints does not work never more, if i return to my previous commit, the breakpoints work again, then seems to be a problem with the new versión of Web2py. I am using Eclipse Mars 2 Release (4.5.2) with Pydev

[web2py] Import application from staging to production server

2017-01-31 Thread Anatoli Hristov
Hello, When I try to import an application I get error. It's my first time that I get this, I imported plenty apps. Error ticket for "idstock"Ticket ID 81.164.40.94.2017-01-30.16-32-55.1a6057a7-defb-45ff-af30-25bccb9dbe3e Cannot import module

[web2py] Re: DAL Query string for MariaDB

2017-01-31 Thread SR
It wasn't working due to different reason. After fixing that this Query string works. On Friday, January 20, 2017 at 4:43:40 PM UTC-6, SR wrote: > > What will be DAL Query string in db.py for MariaDB database in my Centos 7 > machine? > Is this right? > db =

[web2py] Re: user_signature in url in email forces user to login but after redirects without signature

2017-01-31 Thread Leonel Câmara
Why do you need a signature for something that requires the user to be logged in? -- 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

[web2py] Re: How to use Let's Encrypt with Web2Py on Apache

2017-01-31 Thread Dave S
On Tuesday, January 31, 2017 at 6:31:24 AM UTC-8, Carlos Correia wrote: > > How did you do it? I'm facing the same problem... > > Thanks > > > Do these posts help?

[web2py] user_signature in url in email forces user to login but after redirects without signature

2017-01-31 Thread António Ramos
Hello i send this link to a user http://domain.pt/fileit/events/list?_signature=xxx2edb30xxx39dbb8996911ed4d210dd96c1141 The controller events\list is @auth.requires(lambda: URL.verify(request, hmac_key='%s%s' % (secret, auth.user_id))) def list(): The user clicks on the link and gets

Re: [web2py] Re: scheduler task setting 127.0.0.1 when Host=True

2017-01-31 Thread António Ramos
Solved. Thank you 2017-01-31 17:15 GMT+00:00 Leonel Câmara : > Yeah that's what I thought. host=True makes URL use request.env.http_host, > except the scheduler doesn't have a real request so it becomes 127.0.0.1. > > Instead of host=True put the actual domain

[web2py] Re: scheduler task setting 127.0.0.1 when Host=True

2017-01-31 Thread Leonel Câmara
Yeah that's what I thought. host=True makes URL use request.env.http_host, except the scheduler doesn't have a real request so it becomes 127.0.0.1. Instead of host=True put the actual domain host='ramos.com' or read it from a config host=myconf.get('host.names')[0], something like that. --

Re: [web2py] Re: vue.js

2017-01-31 Thread 'John Philip' via web2py-users
Hi Stephan, I tried the brutal approach. I changed the delimiters for web2py on the model and changed all of the views accordingly. I left the delimiters for vuejs as default ('{{' '}}') regards, John On Monday, January 30, 2017 at 10:24:25 AM UTC+1, St. Pirsch wrote: > > Hello John, > Would

[web2py] Re: Forms suddenly not working!

2017-01-31 Thread Anthony
On Tuesday, January 31, 2017 at 10:17:50 AM UTC-5, Andrew Buchan wrote: > > How can I check that? > For future reference, in case you didn't figure it out, you can see cookies going back and forth with each request/response via the browser developer tools (in the network tab). Anthony --

[web2py] Re: Forms suddenly not working!

2017-01-31 Thread Andrew Buchan
OK, silly me, never thought to check if it works on another browser, which it does, so I guess I'll just try donating my cookies to the dev/null cookie monster :-D Thanks for chipping in, I was panicking slightly... On Tuesday, January 31, 2017 at 3:06:27 PM UTC, Andrew Buchan wrote: > > Hi, I

[web2py] Re: Forms suddenly not working!

2017-01-31 Thread Andrew Buchan
How can I check that? On Tuesday, January 31, 2017 at 3:12:10 PM UTC, Anthony wrote: > > If forms are not validating but there are no error messages, likely the > _formkey check is failing (which is used for CSRF protection). Not sure why > that would be the case. Is the session cookie going

[web2py] Re: Forms suddenly not working!

2017-01-31 Thread Anthony
If forms are not validating but there are no error messages, likely the _formkey check is failing (which is used for CSRF protection). Not sure why that would be the case. Is the session cookie going back and forth as expected? Anthony On Tuesday, January 31, 2017 at 10:06:27 AM UTC-5, Andrew

[web2py] Forms suddenly not working!

2017-01-31 Thread Andrew Buchan
Hi, I just updated an application hosted on pythonanywhere, and the forms are no longer working. Even the login form (default, unaltered), doesn't seem to work. When I hit submit the page simply reloads, with no error messages. Same goes for all my very simple forms. - There are no errors in the

[web2py] Re: How to use Let's Encrypt with Web2Py on Apache

2017-01-31 Thread Carlos Correia
How did you do it? I'm facing the same problem... Thanks -- 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

Re: [web2py] Re: scheduler task setting 127.0.0.1 when Host=True

2017-01-31 Thread António Ramos
Forget my sign url function. my mistake... i should have simplified it to the problem... a simple URL('fileit','events','list',host=True) in my scheduler task produces http://127.0.0.1:8000/fileit/events/list Regards 2017-01-31 12:53 GMT+00:00 Leonel Câmara : > What is

[web2py] Re: scheduler task setting 127.0.0.1 when Host=True

2017-01-31 Thread Leonel Câmara
What is sign_url doing? How are you getting the host? Are you using request to find the host inside a scheduler task? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

[web2py] scheduler task setting 127.0.0.1 when Host=True

2017-01-31 Thread António Ramos
hello i´m using webfaction hosting for my app. inside my task controller i have this url=sign_url('fileit','events','list',args,vars,host,auth.user_id) i then print the url to check the content and i get url=":http://127.0.0.1:8000/fileit/events/list; why is 127.0.0.1 instead of the public ip

Re: [web2py] Re: SystemExit: 1 ticket on scheduler

2017-01-31 Thread Gael Princivalle
Ok probably a timing out due to the https call that has not replied in less than 60 sec (the timeout of the task). I've set now retry_failed to -1. Thanks. -- Gael Princivalle 2017-01-31 8:45 GMT+01:00 Niphlod : > or it got a SIGTERM, or it was timing

Re: [web2py] Re: SystemExit: 1 ticket on scheduler

2017-01-31 Thread Gael Princivalle
>Is that the traceback from the associated record in the scheduler_run table? Yes -- Gael Princivalle 2017-01-30 22:16 GMT+01:00 Anthony : > Looks like maybe an error somewhere in your model files. Is that the > traceback from the associated record in