[web2py] Coding window is disabled

2018-12-21 Thread Arindam Dasgupta
Hi, I dont know what happened to my coding window. I cannot save anything and it is looking different. Please see the snapshot below. How can I make it normal again ? [image: image.png] Best Regards, Arindam Dasgupta -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - ht

Re: [web2py] Issue with latin /utf8 ??

2018-12-21 Thread Junior Phanter
[image: image.png] Em sex, 21 de dez de 2018 às 15:22, Junior Phanter escreveu: > #-*-coding:utf-8-*- > def teste(): >x="Oito bits - informática" >return response.json([x]) > > > [image: image.png] > [image: image.png] > > > Em sex, 21 de dez de 2018 13:26, António Ramos escreve

Re: [web2py] Issue with latin /utf8 ??

2018-12-21 Thread Junior Phanter
#-*-coding:utf-8-*- def teste(): x="Oito bits - informática" return response.json([x]) [image: image.png] [image: image.png] Em sex, 21 de dez de 2018 13:26, António Ramos Hello i have this var in my code after reading a webservice. > > x='OITO BITS - INFORM*\xc1*TICA, LDA. ' > >

Re: [web2py] Re: web2py and python3

2018-12-21 Thread Web2_3py
*export_to_csv_file* under python2 , no problem under python3 , the following problem File "C:\Users\assus\Desktop\Flash\python3\web2py_2_17_2_src\web2py\gluon\packages\dal\pydal\objects.py", line 2619, in export_to_csv_file writer.writerow(unquote_colnames(colnames)) TypeError: a bytes

[web2py] Issue with latin /utf8 ??

2018-12-21 Thread António Ramos
Hello i have this var in my code after reading a webservice. x='OITO BITS - INFORM*\xc1*TICA, LDA. ' i want to return from my controller 'OITO BITS - INFORM*Á*TICA, LDA. ' this is my relevant code res=[] x='OITO BITS - INFORM*\xc1*TICA, LDA. ' z=x.encode('latin-1') print z it prints'

Re: [web2py] Web2py- PayUMoney Secure Online Payment Gateway.

2018-12-21 Thread Arindam Dasgupta
Sandeep, Thank you so much. I will check this and let you know the results. No matter how much I appreciate you it will never be sufficient!! Thanks a lot. Regards, Arindam On Fri, Dec 21, 2018 at 11:17 AM sandeep patel wrote: > @Arindas, > I have updated default.py and index.html in the git r

Re: [web2py] Creating charts and trends from db

2018-12-21 Thread Maurice Waka
It was a small typo. It worked! Kind regards On Fri, Dec 21, 2018 at 12:47 PM 黄祥 wrote: > another way around perhaps you can use web2py to provide the data from > database as json, then show it with js (highchart, d3 or anything) > > best regards, > stifan > > -- > Resources: > - http://web2py.c

Re: [web2py] Creating charts and trends from db

2018-12-21 Thread 黄祥
another way around perhaps you can use web2py to provide the data from database as json, then show it with js (highchart, d3 or anything) best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://cod

Re: [web2py] Creating charts and trends from db

2018-12-21 Thread Lovedie JC
Let me countercheck. On Fri, 21 Dec 2018, 12:32 sandeep patel @Maurice > This code is working good. you can check here > . > It would be easy to inspect the problem if you can show your controller > code what you have written. > > Thanks > > > On Fri,

Re: [web2py] Creating charts and trends from db

2018-12-21 Thread sandeep patel
@Maurice This code is working good. you can check here . It would be easy to inspect the problem if you can show your controller code what you have written. Thanks On Fri, Dec 21, 2018 at 1:55 PM Maurice Waka wrote: > Hello Sandeep, > The form appe

Re: [web2py] Re: web2py and python3

2018-12-21 Thread max
*Did some quick tests with python 3.5.2 and it seems now web2py master branch is python3 compatible.* *Is there anything , I should worry before switching it to a production modus.* On Thursday, May 11, 2017 at 2:08:43 PM UTC+2, Richard wrote: > > No problem... I can't say when Massimo's

Re: [web2py] Creating charts and trends from db

2018-12-21 Thread Maurice Waka
Hello Sandeep, The form appears well, but the chart area doesn't show any chart, looks a small box at the top left side of the page. Trying to show it shows a message: 'insufficient privileges'. Regards On Fri, Dec 21, 2018 at 9:58 AM sandeep patel wrote: > You can achieve this way. > Controller