Re: [web2py] Re: I was thinking about python2 clock

2018-03-26 Thread Ty oc
I see, and in fact, yes, I was surprised to see that it run OK on first try on python3. Thought this is a little pulling it off, it would be nice if I could run the pycharm check code for webpy modules and get 0 warnings or errors. SO, I wonder, if you have a setup that "allow" this? El ju

[web2py] Re: I was thinking about python2 clock

2018-03-22 Thread Ty oc
I think we2py should join the party!! and be on the list! :P http://python3statement.org/ El martes, 20 de marzo de 2018, 16:14:58 (UTC-6), Leonel Câmara escribió: > > I'm guessing the rewrite will take some time. One thing you can do is to > report any python3 problems you find with web2py whi

[web2py] Re: I was thinking about python2 clock

2018-03-22 Thread Ty oc
That means that I can run right now web2py on python 3.5 or 3.6? if I update to master? (my webpy version is a little old). Nice! will try! El martes, 20 de marzo de 2018, 16:14:58 (UTC-6), Leonel Câmara escribió: > > I'm guessing the rewrite will take some time. One thing you can do is to > re

[web2py] I was thinking about python2 clock

2018-03-19 Thread Ty oc
There have been new frameworks comming for 3.5> and I just found https://pythonclock.org/ so I wonder, if I can start migrating my web2py apps right now to the next version of web2py? It is because I have a large rewrite and would love to use 3.5 or 3.6 for this. -- Resources: - http://web2py

[web2py] Re: Visual Studio Code and debugging

2017-03-25 Thread Ty oc
You have 2 options, first is to optne the full web2py with applications directory and open web2py script and hit run (with internal console, external and so on should work) Or setup remote debugging https://donjayamanne.github.io/pythonVSCodeDocs/docs/debugging_remote-debugging/ basically you

[web2py] If I where to use a headless testing and CI what would ou recomend?

2017-01-28 Thread Ty oc
I have found this http://phantomjs.org/headless-testing.html and because I have some process like inventory for a lot of things and combinations in time and so on, I need to make full tests of all the process in the webapp. Im trying to get the fastest way possible to impolement my tests with s

[web2py] Re: Syntax for placeholders in executesql

2016-12-06 Thread Ty oc
By the way, what case would be the xintaxis for oracle as database? El martes, 6 de diciembre de 2016, 11:46:34 (UTC-6), Ty oc escribió: > > Well, if this is so specific, why it isn't documented with the current > simple equivalent examples for each supported driver?

[web2py] Re: Syntax for placeholders in executesql

2016-12-06 Thread Ty oc
Well, if this is so specific, why it isn't documented with the current simple equivalent examples for each supported driver?? I mean placeholders is an optional sequence of values to be substituted in or, if > supported by the DB driver, a dictionary with keys matching named > placeholders in

[web2py] need to kill user sessions, not only block

2016-11-11 Thread Ty oc
So blocked or disabled have the same behaviour, what happend if I want to log out all the sessions from a specific user? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Rep

[web2py] Re: IDE for using web2py on windows

2016-10-30 Thread Ty oc
I think they talk about the paid version, I mean, I have community and when I hit new project it only says "pure python" so the workarounds probably work there... I have asked the same little time before https://groups.google.com/d/msg/web2py/DdzirPSMVrE/bja2wvvGBgAJ El sábado, 29 de octub

[web2py] Re: Most "proper way" to configure web2py in pycharm

2016-10-29 Thread Ty oc
I should say for the community edition... not the pro one. El miércoles, 19 de octubre de 2016, 13:49:35 (UTC-5), Willoughby escribió: > > http://www.jetbrains.com/help/pycharm/2016.2/web2py.html > > On Wednesday, October 19, 2016 at 1:37:48 PM UTC-4, Ty oc wrote: >> >>

[web2py] Most "proper way" to configure web2py in pycharm

2016-10-19 Thread Ty oc
Hi there, I know I can debug web2py from pycharm (but sometimes a little slow response time). It also include a nice git interface... so. Thought I will like more intellisense help or jump to definition (because some things in web2py are global), setting some folders to ignore and other to sour

[web2py] Re: How to not return ticket issue HTML but a custom error?

2016-09-20 Thread Ty oc
'/backend/error/report') ] I have as response this HTML instead of the json {'message': 'Error interno'} El martes, 20 de septiembre de 2016, 10:22:34 (UTC-5), Ty oc escribió: > > I mean, we have other web2py apps there, I dont want to

[web2py] Re: How to not return ticket issue HTML but a custom error?

2016-09-20 Thread Ty oc
I mean, we have other web2py apps there, I dont want to modify the default behaviour of the other ones, only this "backend" app. El martes, 20 de septiembre de 2016, 10:06:10 (UTC-5), Ty oc escribió: > > I thought it was a per app configuration. > > El lunes, 19 de septie

[web2py] Re: How to not return ticket issue HTML but a custom error?

2016-09-20 Thread Ty oc
somewhere in your error handling app. > > On Monday, September 19, 2016 at 5:02:11 PM UTC-4, Ty oc wrote: >> >> Where exactly I need to put this file? >> >> I have tried >> >> error_message = '%s---' >> error_message_ticket =

[web2py] Re: How to not return ticket issue HTML but a custom error?

2016-09-19 Thread Ty oc
READ_LOCAL.routes.routes_onerror: so El martes, 6 de septiembre de 2016, 11:17:58 (UTC-5), Anthony escribió: > > http://web2py.com/books/default/chapter/29/04/the-core#Routes-on-error > > Anthony > > On Tuesday, September 6, 2016 at 10:43:19 AM UTC-4, Ty oc wrote: >>

[web2py] How to not return ticket issue HTML but a custom error?

2016-09-06 Thread Ty oc
Still I need to log the ticket issue so we know what is happening (we will be watching for errors to show on the admin webapp), but we dont want the error to be like the HTML that is always show to the user. I want to return a one of the following depending on where Im returning it (a page in t