[web2py] Re: Apache-wep2py error when upgrading to Debian Wheezy

2014-06-13 Thread Alfonso Pastor Sierra
: > > What are you trying to do? This is not web2py code. > > On Friday, 13 June 2014 05:59:53 UTC-5, Alfonso Pastor Sierra wrote: >> >> >> Hello, editing /var/web2py/subwsgihandler.py and commenting two lines: >> >> def start_response(self, status, headers,

[web2py] Re: Apache-wep2py error when upgrading to Debian Wheezy

2014-06-13 Thread Alfonso Pastor Sierra
urn self._start_response(status, _headers, info) it runs without errors. Why? El domingo, 1 de junio de 2014 13:06:18 UTC+2, Alfonso Pastor Sierra escribió: > > Hello, > > I have a web2py application with apache: > > cat /etc/apache2/conf.d/controlies-apache > >

[web2py] Re: Apache-wep2py error when upgrading to Debian Wheezy

2014-06-03 Thread Alfonso Pastor Sierra
custom setup, where all applications are served under the > "controlies" virtual directory. > Did you change routes ? > > On Sunday, June 1, 2014 5:36:37 PM UTC+2, Alfonso Pastor Sierra wrote: >> >> >> More info: >> >> Apache version: 2.2.2

[web2py] Re: Apache-wep2py error when upgrading to Debian Wheezy

2014-06-01 Thread Alfonso Pastor Sierra
More info: Apache version: 2.2.22-13+deb7u1 Web2py version: Version 1.95.1 (2011-04-25 15:04:14) Permissions: # ls -l /var/web2py total 68 drwxr-xr-x 3 www-data www-data 4096 may 29 13:10 applications -rw-r--r-- 1 www-data www-data 44 may 29 11:12 arranque.sh -rw-r--r-- 1 www-data www-da

[web2py] Apache-wep2py error when upgrading to Debian Wheezy

2014-06-01 Thread Alfonso Pastor Sierra
Hello, I have a web2py application with apache: cat /etc/apache2/conf.d/controlies-apache WSGIScriptAlias /controlies /var/web2py/subwsgihandler.py WSGIDaemonProcess web2py user=www-data group=www-data \ home=/var processes=5 \

[web2py] Font size and FPDF Report

2013-12-20 Thread Alfonso Pastor Sierra
Hi, I have the code for a PDF Report: def export_pdf(): title = "Informe de impresiones" head = THEAD(TR(TH("Fecha/Hora",_width="16%"), TH("Impresora",_width="17%"), TH("Host",_width="10%"), TH("Usuario",_width="10%"),

[web2py] Re: Upload file from bash script

2012-12-26 Thread Alfonso Pastor Sierra
Curl is a software (as wget) than you can install in a linux system (for Debian and derivatives): sudo apt-get install curl You can run curl from the bash shell or a shell script. More info: http://curl.haxx.se/docs/faq.html Also you can find a Windows/MSDOS version: http://curl.haxx.se/d

[web2py] Re: Upload file from bash script

2012-12-17 Thread Alfonso Pastor Sierra
user:pass@m127.0.0.1:8000/yourapp/default/upload/givenfilename.txt > > > > > > On Saturday, 15 December 2012 05:49:08 UTC-6, Alfonso Pastor Sierra wrote: >> >> Hi, >> >> I want upload a file to a "upload" field in a table automatically, >> sending the file from a bash script using wget. How can I do it?. >> >> Thanks >> >> --

[web2py] Upload file from bash script

2012-12-15 Thread Alfonso Pastor Sierra
Hi, I want upload a file to a "upload" field in a table automatically, sending the file from a bash script using wget. How can I do it?. Thanks --