[web2py] Re: Installing web2py in IIS 8.5 wwwroot subfolder

2018-03-28 Thread Dave S
On Tuesday, March 27, 2018 at 3:47:01 PM UTC-7, Edwood wrote: > > I just ended installing in a different folder outside of Inetpub an it > worked. > Glad you could get things working. We've had some IIS gurus around in the past, but they may be busy keeping up with new requirements from

[web2py] execute python script

2018-03-28 Thread ArtDijk
LS, I've written a print to pdf python script. How can I execute this script via a button on a web2py screen? -- 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)

Re: [web2py] execute python script

2018-03-28 Thread Richard Vézina
It depends... This is a start if you want to create CSV type of file : ```python # The code below is greatly inspired by gluon/sqlhtml.py class ExporterTSV and ExporterCSV import cStringIO out = cStringIO.StringIO() final = cStringIO.StringIO() import csv if csv_or_xls ==

Re: [web2py] btn-default

2018-03-28 Thread Dave S
On Wednesday, March 28, 2018 at 11:43:00 AM UTC-7, Andrea Fae' wrote: > > Yes...I know this, but in web2py application I need to change the style. > Where is the definition of this class in the files css? Inside the web > application I mean... > > grep btn-default */static/js/*.js tells me it

Re: [web2py] Re: ECMAScript Modules Vue and Web2py - simple test

2018-03-28 Thread Marco Mansilla
Thanks Massimo, so far it working fine. JS code is a lot more cleaner and no need for node which is nice. We just need native support from browsers and clients to update to latest versions. Marco. El mié., 28 de mar. de 2018 13:47, Massimo Di Pierro < massimo.dipie...@gmail.com> escribió: >

Re: [web2py] btn-default

2018-03-28 Thread Andrea Fae'
Yes...I know this, but in web2py application I need to change the style. Where is the definition of this class in the files css? Inside the web application I mean... Il giorno mercoledì 28 marzo 2018 16:50:15 UTC+2, Richard ha scritto: > > Bootstrap : https://getbootstrap.com/ > > On Tue, Mar

[web2py] updating pydal in web2py from git repo

2018-03-28 Thread Yoel Benítez Fonseca
h! How long takes the changes from pydal to be in the web2py git repo... following the README.md from web2py: git clone --recursive https://github.com/web2py/web2py.git This is OK, but now it need a change already in the master granch of pydal, ¿how can i update the pydal submodule? --

Re: [web2py] btn-default

2018-03-28 Thread Richard Vézina
Or : touch /static/css/myapp.css Then add : .btn-default {YOUR WANTED STYLE} Then modify the /views/layout.html and add a new : response.files.append(URL('static', 'css/myapp.css')) You don't really want to customize the bootstrap css class or you should learn "sass" and add another level of

Re: [web2py] btn-default

2018-03-28 Thread Richard Vézina
Bootstrap : https://getbootstrap.com/ On Tue, Mar 27, 2018 at 4:02 PM, Andrea Fae' wrote: > Where is the definition btn-default in any welcome clone application? I > need to change the style...thanks > > -- > Resources: > - http://web2py.com > - http://web2py.com/book

[web2py] Re: login, redirects, and multiple apps

2018-03-28 Thread Massimo Di Pierro
This is all very strange since web2py uses different cookie names, session id, and session folders for different apps. Therefore I do not see how things can get mixed up. The only thing I can think of is if something in routes is accidentally redirecting form app1 to app2 or vice versa. This

[web2py] Re: Correct way to put libraries in site-package folder?

2018-03-28 Thread Massimo Di Pierro
You can only use the web2py binary with the prepackaged libraries and some pure python packages. If you need to use thrd party libraries that may come to binary form, you should use the regular source version of web2py. On Saturday, 17 March 2018 00:25:55 UTC-5, Jaison Raj wrote: > > Hi

Re: [web2py] Re: please help us test trunk web2py

2018-03-28 Thread Massimo Di Pierro
can you please provide the final traceback from the erro ticket? On Sunday, 18 March 2018 02:40:20 UTC-5, Paolo wrote: > > @nbush would you open an issue on https://github.com/web2py/web2py/issues. > It seems that languages files were wrongly updated into decoded messages. > see >

[web2py] Re: ECMAScript Modules Vue and Web2py - simple test

2018-03-28 Thread Massimo Di Pierro
Good work. This helps me a lot. On Friday, 23 March 2018 14:07:26 UTC-5, marco mansilla wrote: > > Just in case anyone is interested I have uploaded a simple test app with > VueJS as modules in the browser. > > Did it to test and see how it works, as a demo someone could find it > useful, more

[web2py] Re: UnicodeDecodeError "'utf-8' codec can't decode..." when inserting a blob in database (python 3.6.3)

2018-03-28 Thread Massimo Di Pierro
I think this is. Can you please open an issue about it? On Tuesday, 27 March 2018 13:32:15 UTC-5, alexandre.he...@gmail.com wrote: > > Hello All, > > I'm an absolute newbie with web2py so I'm not sure if the issue lies in > web2py/3.6 or my own mistakes... My apologies in advance. > > I