[web2py] Re: UWSGI root vs limited user.

2016-07-19 Thread Michael M
Figured it out: Niplod you may be proud. I ran strace in the in the in the service: [Unit] Description=uWSGI Emperor Service After=syslog.target [Service] EnvironmentFile=-/etc/sysconfig/uwsgi ExecStartPre=/bin/mkdir -p /run/uwsgi ExecStartPre=/bin/chown uwsgi:uwsgi /run/uwsgi ExecStart=/bin/st

[web2py] Re: web2py 2.14.6 is OUT

2016-07-19 Thread Ben Lawrence
HI I am seeing difference in behavior between 2.14.5 and 2.14.6 for SQLFORM.grid, after clicking on the 'csv' button to download the csv. Same statement in both 2.14.5 and 2.14.6 formTable=SQLFORM.grid(\ query,\ fields=[db.temperature.probe,db.temperature.timeMeasured,db.temperature

[web2py] Re: having issues with dates and DAL

2016-07-19 Thread samuel bonill
I had the same problem with Postgres. i fixed it using executesql in db.py : *db.executesql("SET datestyle = dmy;")* El martes, 19 de julio de 2016, 14:54:10 (UTC-5), web2py...@gmail.com escribiĆ³: > > Hi everyone, > > i keep getting this error: > > File "/web2py/gluon/packages/dal/pydal/adapte

[web2py] Re: web2py on android

2016-07-19 Thread samuel bonill
You can use web2py for build a ret_api server and build your app with NativeScript (Angular2), ionic or reactnative -- 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 I

[web2py] Re: user name case sensitivity

2016-07-19 Thread Michael Messmer
I added it and it still didn't work. But I am using LDAP-AD login method. The method I use is: def user(): if request.args(0) == 'login' and request.post_vars.username: request.post_vars.username = request.vars.username = request.post_vars.username.upper() #or .lower() if you pref

[web2py] Re: How active and 'professional' is web2py?

2016-07-19 Thread Massimo Di Pierro
If popularity is a factor one should use PHP. web2py is very actively maintained thanks to Niphlod, Paolo, Anthony, Richard, Leonel, Michele, and many others. We have an excellent team. You will find old articles because web2py exists since 2007 and it is always backward compatible so those in

[web2py] Re: web2py on android

2016-07-19 Thread Massimo Di Pierro
Any web app can run as an android app or ios app. What the server side is written in irrelevant. One of the easiest ways is to use gonative.io but it is not free. Everything you see in the article you mention works if you replace Flask with web2py. I am sure other users have other recommendat

[web2py] having issues with dates and DAL

2016-07-19 Thread web2pyuser777
Hi everyone, i keep getting this error: File "/web2py/gluon/packages/dal/pydal/adapters/base.py", line 1544, in parse_date (y, m, d) = map(int, str(value)[:10].strip().split('-')) ValueError: invalid literal for int() with base 10: '2016/04/12' im basically submitting the form and searchin

Re: [web2py] Re: Again: virtual field requires type-attribute

2016-07-19 Thread Julio del Barrio
Hi, Massimo. If I not want any virtual fields in row object returned by select? If I use the row as dict in a insert operation, I must to filter, and I haven't any way to know what field is virtual, in abstract. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http:/

[web2py] save image from get request

2016-07-19 Thread mayrolin0
I was wondering if someone could help me with something that I think should be simple or basic, but I can't seem to figure out. I'm just starting to work with web2py/python and I'm not sure how to save an image from a request. I'm trying to save an image from a get request into an upload databa

[web2py] Re: How active and 'professional' is web2py?

2016-07-19 Thread Niphlod
nope, I don't. except for public contributions you can see on github, I did consult once. Then I just maintain several in-house apps for my current employeer, which is mostly where redis, mssql, AD and scheduler new features have been battle-tested before being released to the public That bein

[web2py] Re: How active and 'professional' is web2py?

2016-07-19 Thread Dave S
On Tuesday, July 19, 2016 at 7:53:49 AM UTC-7, joeg816 wrote: > > Are there any marquee sites that are using it? When Rails was hot, they > had a few big names. Same with PHP, etc. > I am not sure about "marquee", but Niphlod and Massimo seem to have several important accounts. A couple mon

[web2py] Re: How active and 'professional' is web2py?

2016-07-19 Thread joeg816
Are there any marquee sites that are using it? When Rails was hot, they had a few big names. Same with PHP, etc. I like what I have seen of web2py but I am scared off since a lot of the info I find online is several years old. I am sure it works fine but to stay employed in this field, you u

[web2py] Re: cannot disable automatic login after registration

2016-07-19 Thread Sneka R
Yes. I have no success too. Any help is appreciated. On Saturday, October 24, 2015 at 7:30:52 PM UTC-5, Pierre wrote: > > Hi everyone, > > I tried to do it with no success with this: > > auth.settings.login_after_registration = False > > thanks for your help > > -- Resources: - http://web2py.com

[web2py] Re: switch between standard and testing database?

2016-07-19 Thread Mirek ZvolskĆ½
I will describe again, what I want: I have url /plugin_splinter/tests with checkboxes: - chrome - firefox - test localhost:8000 - test production - all webtests --or-- - webtest1 , - webtest2, ... Then I want run webtests (splinter+selenium), navigate to different actions (and type

[web2py] web2py on android

2016-07-19 Thread Paolo Amboni
Is it possible to do something like that with web2py? Android apps with Python, Flask and a WebView (https://kivy.org/planet/2016/05/android-apps-with-python-flask-and-a-webview/) Thanks!! -- Resources: - http://we