[web2py] Re: How to create a front end for an external API?

2016-10-21 Thread Dave S
On Friday, October 21, 2016 at 7:42:37 PM UTC-7, greenpoise wrote: > > Want to pull some data. There is no option to write, just pull data. Do you have a representation for this data? A couple of examples of simple data might be 1) a list of deposits and withdrawals, which could be

[web2py] Re: How to create a front end for an external API?

2016-10-21 Thread greenpoise
Want to pull some data. There is no option to write, just pull data. -- 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

[web2py] Re: Login - message "invalid email" - on mobil

2016-10-21 Thread Massimo Di Pierro
I have no idea. I do not see why login would be different from a smartphone. I use it all the time and it works fine. Perhaps capitalization of the email? On Wednesday, 19 October 2016 07:07:24 UTC-5, Beat Kohler wrote: > > Hi Massimo > Thanks for your response. But I not understand your

[web2py] Re: We do not delete posts

2016-10-21 Thread Massimo Di Pierro
yes. new users are moderated. Usually they are approved in one day but some time it may take longer. On Friday, 21 October 2016 15:54:31 UTC-5, tbon...@ucsc.edu wrote: > > Two days a go I posted a question about Janrain and google integration but > i still don't see it. Is it normal? > > On

[web2py] Re: Installation error

2016-10-21 Thread Massimo Di Pierro
Please try: web2py.exe -S welcome -P On Friday, 21 October 2016 15:54:33 UTC-5, Saxman wrote: > > Hi everyone, > > I am totally new to python and hence web2py so please make allowances if > my question is somewhat basic.(No pun intended) > > I have unzipped web2py and ran the command > >

[web2py] Re: db_codec for Hungarian MSSQL

2016-10-21 Thread Massimo Di Pierro
web2py uses utf8 everywhere. If your database is pre-existing and not in utf8 than you need to convert th data. On Friday, 21 October 2016 15:54:32 UTC-5, Gabor Nyul wrote: > > When I'm querying our MSSQL database (with Hungarian data in it) I have > strange characters instead of the Hungarian

[web2py] Re: Deploy to a VPS

2016-10-21 Thread Massimo Di Pierro
Our recommendation is run this: https://raw.githubusercontent.com/web2py/web2py/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh then copy the applications into /home/www-data/web2py/applications/{appname} and make is 700 for www-data. There should be nothing else to install. On Friday, 21

Re: [web2py] Hide flash message after some elapsed time instead of on click

2016-10-21 Thread Scott Hunter
You need single-quotes around flash.fadeOut("slow") Otherwise, as you have seen, it gets executed immediately instead of after a delay. On Tuesday, October 18, 2016 at 9:35:30 AM UTC-4, Marc Smith wrote: > > Hi, > > I'm relatively new to JS but the strange quote character at the > beginning

[web2py] Re: use jquery mobile with image upload functionality in web2py - is a hack is necessary?

2016-10-21 Thread Johnny Lupino
Hi, It's been some time after you had posted your problem, but I found out another way of fixing it, since I could not find "//event.preventDefault(); " anymore. Anyway, to make it possible to submit a form using jqmobile plugin , I only needed to add an extra attribute to my form - which is

[web2py] Installation error

2016-10-21 Thread Ian Penfold
Hi everyone, I am totally new to python and hence web2py so please make allowances if my question is somewhat basic.(No pun intended) I have unzipped web2py and ran the command web2py.exe -S welcome as per the manual and it was run from the web2py folder. While I get the console window to

[web2py] UnicodeDecodeError: 'utf8' codec can't decode byte 0xed in position 14: invalid continuation byte

2016-10-21 Thread Gabor Nyul
I have an MSSQL database with data stored in Hungarian charset. I've tried to use the DataTables example from here: http://www.web2pyslices.com/slice/show/2052/using-datatablesnet-with-web2py-for-ultra-fast-grid-display but I'v got this error. UnicodeDecodeError: 'utf8' codec can't decode byte

[web2py] db_codec for Hungarian MSSQL

2016-10-21 Thread Gabor Nyul
When I'm querying our MSSQL database (with Hungarian data in it) I have strange characters instead of the Hungarian accented characters. I've tried to use the db_codec parameter in DAL() but there is no change. I've tried cp1250, latin2 without success. Any idea? -- Resources: -

[web2py] Re: We do not delete posts

2016-10-21 Thread tbonato
Two days a go I posted a question about Janrain and google integration but i still don't see it. Is it normal? On Monday, July 20, 2015 at 1:08:57 AM UTC-7, Massimo Di Pierro wrote: > > We never delete posts from users, unless the users ask (because they > accidentally post the server password,

[web2py] unicode error

2016-10-21 Thread Gabor Nyul
I wanted to implement the datatable.net sample ( http://www.web2pyslices.com/slice/show/2052/using-datatablesnet-with-web2py-for-ultra-fast-grid-display) in my app. The controller is dead simple: def index(): import json res = json.dumps(db.executesql('select * from bd_aramnemek',

[web2py] Google+ not showing up when using Janrain

2016-10-21 Thread tbonato
Hello, I am using Janrain for my login integration. In Janrain I've selected Google+, Facebook and Twitter but only Facebook and Twitter are displayed in the web2py page. Is this a bug? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Deploy to a VPS

2016-10-21 Thread Paolo Montrasio
I'm taking over a web2py project for a customer. I looked for the common way to deploy to production, read the guide of the web2py site and googled for solutions. They don't apply very well to my case so I'm looking for advice to start in the right way. The production server runs on a VPS.

[web2py] is someone interested in delivering the following training in Thailand?

2016-10-21 Thread bianjiangyan
Hi, We are looking for a trainer to deliver the following training course: WEB2PY in Bangkok Thainland, Please find the details below: Training reference link: http://tha.nobleprog.com/web-development-web2py-course Training date: from 01-11-2016 to 04-11-2016 Training location:

[web2py] Randomly stuck web2py

2016-10-21 Thread Wasim Baig
Been using web2py for sometime now, thank you all for making life so easy. We use stock web2py src on debian 8, with Rocket and mysql and start them in screen. Frequently my web2py process get stuck. Ctrl-C won't kill it, we end up Ctrl-Z it, and then kill -9 pid. For example, root

[web2py] Re: Grid export csv

2016-10-21 Thread Bartosz Baranowski
Niphlod, I am using latest web2py and pydal from master branches. Any idea where is the fix? Could you please direct me to the commit? W dniu środa, 3 sierpnia 2016 12:51:56 UTC-7 użytkownik Niphlod napisał: > > should be already fixed on master, anyway if you're in a hurry, set >

[web2py] Re: represent list:reference

2016-10-21 Thread Leonel Câmara
First you are getting the error because. db.publicaciones.autores.represent is not defined so it is None and hence not callable. That said. Here's a generic represent function you can use with list:reference fields. def represent_listref(table, *fields): def represent(values):

Re: [web2py] Re: Deployment question

2016-10-21 Thread Jim S
Started looking in to this issue again today and found this: http://stackoverflow.com/questions/19439190/segmentation-fault-while-using-pandas-in-uwsgi I took the advice of Roberto and removed the --limit-as in /etc/uwsgi/web2py.ini - and now it seems to work find. I am clueless as to what

[web2py] Re: Web2py freezing

2016-10-21 Thread piero crisci
I just checked error logs and i got this: [Fri Oct 21 18:02:28.797956 2016] [wsgi:warn] [pid 4676:tid 436] mod_wsgi: Compiled for Python/2.7.9+. [Fri Oct 21 18:02:28.798955 2016] [wsgi:warn] [pid 4676:tid 436] mod_wsgi: Runtime using Python/2.7.9. [Fri Oct 21 18:02:28.799957 2016]

[web2py] Re: A new and easier way to test your apps

2016-10-21 Thread Pierre
I managed to register Homer Simpson but he can't login..it is sad...:( did you or someone else manage to login anybody with webclient and a correct email address ? Homer's "resurrection" seems tricky so I leave it for now -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: the request value run well in terminal too like in browser

2016-10-21 Thread 黄祥
yes, that what i face too. first : the same request might have the different value, e.g. request.folder in web browser return /Users/test/site/web2py/applications/test/ yet in terminal return applications/test/ second : the storage dict is not fully covered in terminal e.g. request.env in

[web2py] Re: Web2py freezing

2016-10-21 Thread 黄祥
perhaps its easier to give the error log rather than just the configuration, learn from a lot of discussion in this forum apache is not recommended best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Web2py freezing

2016-10-21 Thread piero crisci
Hello i am having problems with my web2py configuration using APACHE WSCGI I am using this configuration: - Windows Server 2012 R2 - Mysql 5.7 - Python 2.7.9 - Apache 2.4 With more of 10 connection the application is freezing. I am not having answer from the web server and all is stopped.