[web2py] Re: MARKMIN clarification

2012-01-01 Thread Massimo Di Pierro
This could be a bug. It is possible you have extra spaces after some of the ? On Jan 1, 5:59 pm, lyn2py wrote: > MARKMIN blockquote: I can't have 2 blockquotes in a single message? > > This is the text I used, and only the one on top was generated as a > blockquote. The one below was like the

[web2py] Re: utf-8 and pyfpdf

2012-01-01 Thread Christopher Steel
You need to use a font that supports as well C.

Re: [web2py] Re: Problem with examples of pyfpdf

2012-01-01 Thread Christopher Steel
here is another example http://code.google.com/p/uc-pyfpdf/

[web2py] Re: redirecting python console output to web browser page

2012-01-01 Thread blackshirt
Okey Ross, if we using popen, can we doing it for real time (i mean, streaming output) ? On Jan 2, 12:20 am, Ross Peoples wrote: > I use subprocess.Popen a lot to run shell commands from Python. There is no > need for a specific web2py feature. > > This is the method I use whenever I need to call

[web2py] Subject here

2012-01-01 Thread shark4313
Here is the message.

[web2py] Re: MARKMIN clarification

2012-01-01 Thread lyn2py
One more point to note... I tried it twice. It consistently didn't render properly in one and it consistently rendered properly in the other. *confused* What can I do to help resolve this issue? On Jan 2, 7:59 am, lyn2py wrote: > MARKMIN blockquote: I can't have 2 blockquotes in a single message

[web2py] Re: MARKMIN clarification

2012-01-01 Thread lyn2py
MARKMIN blockquote: I can't have 2 blockquotes in a single message? This is the text I used, and only the one on top was generated as a blockquote. The one below was like the rest of the body. here's some blockquote: -- this is a message for first para this is a message for second para this

Re: [web2py] Re: Happy new year

2012-01-01 Thread Adi
+1 :)

[web2py] Re: How to create pdfs using markmin2pdf with Windows 7

2012-01-01 Thread Massimo Di Pierro
On windows you have to download miktex: http://miktex.org/ I am not sure if miktex includes pdflatex. I only used it on linux but it should be easy to define it after miktex is installed. Anyway, I strongly recommend that you install cygwin. It includes python, latex, pdflatex and a bash (unix-li

Re: [web2py] Re: utf-8 and pyfpdf

2012-01-01 Thread Massimiliano
Try this one: euro = chr(128) as euro char On Sun, Jan 1, 2012 at 11:29 PM, Martin Weissenboeck wrote: > Now I have found that I have to convert the string: > > txt = 'äöü ß ÄÖÜ' > txt = txt.decode('utf-8').encode('latin-1','replace') > > > This new string will be written correctly into the p

[web2py] Re: utf-8 and pyfpdf

2012-01-01 Thread Martin Weissenboeck
Now I have found that I have to convert the string: txt = 'äöü ß ÄÖÜ' txt = txt.decode('utf-8').encode('latin-1','replace') This new string will be written correctly into the pdf-file.Is there a better way? No chance for the Euro-currency-symbol '€' Maybe there will be a full unicode charac

[web2py] Re: Happy new year

2012-01-01 Thread Stefaan Himpe
Gelukkig nieuwjaar :) Stefaan.

[web2py] Re: Happy new year

2012-01-01 Thread Nico de Groot
Gelukkig Nieuwjaar (from Amsterdam, The Netherlands)

[web2py] Re: Happy new year

2012-01-01 Thread Dominique
Bonne et heureuse année à tous ! Dominique On Jan 1, 6:20 pm, Manuele Pesenti wrote: > Un  felice anno a tutti! :) > >      Manuele > > Il 01/01/2012 08:26, Massimo Di Pierro ha scritto: > > > > > > > > > Happy new year everybody!

[web2py] Re: Cannot get janrain to work

2012-01-01 Thread Anthony
In your janrain.key file, it should be: [application]:[API key] where [application] is the name of the application you registered with Janrain (i.e., the part that goes before rpxnow.com in the https://[your application].rpxnow.com URL). Anthony On Sunday, January 1, 2012 12:34:15 PM UTC-5, j

Re: [web2py] Re: Problem with examples of pyfpdf

2012-01-01 Thread Martin Weissenboeck
Thank you; seems to be an error in http://code.google.com/p/pyfpdf/wiki/Web2Py. 2012/1/1 Massimo Di Pierro > print TABLE(*['a','b'],_border='1') > > should be > > print TABLE(_border='1',*['a','b']) > > not all Python versions understand the above syntax. > > On Jan 1, 11:03 am, Martin Weissenb

Re: [web2py] Re: How to create pdfs using markmin2pdf with Windows 7

2012-01-01 Thread Martin Weissenboeck
I am looking for something like pdflatex.exe. Google reports a lot of links, but I did not find a trustable link for download. 2012/1/1 Massimo Di Pierro > What is the problem exactly? Installing pdflatex? markmin2pdf cannot > find pdflatex? can you see pdflatex outside of web2py? Does it make >

[web2py] Cannot get janrain to work

2012-01-01 Thread jc
I am trying to get janrain login to work in test mode on my development machine. The problem I have is that when I try to execute a controller function for which I have set @auth.requires_login(), the system correctly routes me to "http://localhost:8000/list/default/user/login?_next=/list/defau

[web2py] Re: How to create pdfs using markmin2pdf with Windows 7

2012-01-01 Thread Massimo Di Pierro
What is the problem exactly? Installing pdflatex? markmin2pdf cannot find pdflatex? can you see pdflatex outside of web2py? Does it make the latex at all? On Jan 1, 11:25 am, Martin Weissenboeck wrote: > I have found this description in the book: > > You can use markmin to generate HTML, LaTeX an

[web2py] Re: Problem with examples of pyfpdf

2012-01-01 Thread Massimo Di Pierro
print TABLE(*['a','b'],_border='1') should be print TABLE(_border='1',*['a','b']) not all Python versions understand the above syntax. On Jan 1, 11:03 am, Martin Weissenboeck wrote: > Hi, > I want to use pyfpdf and I have tried some examples found here: > > http://code.google.com/p/pyfpdf/wiki

[web2py] EMails and PGP

2012-01-01 Thread Martin Weissenboeck
And another question It is possible to send PGP encrypted emails using the following settings: 1. 2. 3. 4. 5. from gpgme import pgp mail.settings.cipher_type = 'gpg' mail.settings.sign = True mail.settings.sign_passphrase = 'your passphrase' mail.settings.encrypt = True The latter require

[web2py] Re: compute field error

2012-01-01 Thread Massimo Di Pierro
In your post the error say: ProgrammingError: column "update" specified more than once is the column "update" or "updated". The former is a reserved keyword and postgresql may not like it. Massimo On Jan 1, 2:26 am, Richard Baron Penman wrote: > v1.99.2 > > I found I get no error when I change

[web2py] How to create pdfs using markmin2pdf with Windows 7

2012-01-01 Thread Martin Weissenboeck
I have found this description in the book: You can use markmin to generate HTML, LaTeX and PDF documents: m = "Hello **world** [[link http://web2py.com]]"; from gluon.contrib.markmin.markmin2html import markmin2html print markmin2html(m) from gluon.contrib.markmin.markmin2latex import markmin2

[web2py] Re: redirecting python console output to web browser page

2012-01-01 Thread Ross Peoples
I use subprocess.Popen a lot to run shell commands from Python. There is no need for a specific web2py feature. This is the method I use whenever I need to call something: import subprocess def run_command(self, *args): """ Returns the output of a command as a tuple (outp

Re: [web2py] Happy new year

2012-01-01 Thread Manuele Pesenti
Un felice anno a tutti! :) Manuele Il 01/01/2012 08:26, Massimo Di Pierro ha scritto: Happy new year everybody!

[web2py] utf-8 and pyfpdf

2012-01-01 Thread Martin Weissenboeck
Another question about pyfpdf: Is there any chance to get some more utf-8-characters? (I have asked this some months ago). It seems, that pyfpdf only supports the basic ascii character set and no latin-1-characters. I want to use äöü ß ÄÖÜ €...and so on. Regards, Martin

[web2py] Problem with examples of pyfpdf

2012-01-01 Thread Martin Weissenboeck
Hi, I want to use pyfpdf and I have tried some examples found here: http://code.google.com/p/pyfpdf/wiki/Web2Py Example report showed an error in table = TABLE(*rows, _border="0", _align="center", _width="50%") I had to change it to: table = TABLE(rows, _border="0", _align="center", _width="50

Re: [web2py] Re: Happy new year

2012-01-01 Thread Marin Pranjić
+1 :-) 2012/1/1 Miroslav Gojic > Sretna Nova Godina! > > - - Miroslav Gojic - - > > > > 2012/1/1 Gerd > >> Ein gutes und glückliches neues Jahr >> >> Gerd >> > >

Re: [web2py] Happy new year

2012-01-01 Thread Bruno Rocha
Feliz Ano Novo! http://zerp.ly/rochacbruno Em 01/01/2012 05:26, "Massimo Di Pierro" escreveu: > Happy new year everybody!

[web2py] Re: redirecting python console output to web browser page

2012-01-01 Thread blackshirt
Thank's massimo.. look's very complex to do.. Massimo, is there web2py feature's for doing this ? On Dec 30 2011, 11:29 pm, Massimo Di Pierro wrote: > There are two ways around it: > - hopefully the apt module can be configured to send output to a file > - if not, use the python subprocess module

[web2py] Re: Happy new year

2012-01-01 Thread Anthony
Happy New Year!

[web2py] Re: redirecting python console output to web browser page

2012-01-01 Thread blackshirt
Thank's Alan that was very inspiring for noob like me.. if we look at http://groups.google.com/group/web2py/browse_thread/thread/bea1afc64dcc39a6/280bbdcf5acd0bbd#280bbdcf5acd0bbd ,can we use similar methods to do real time streaming output ?? On Dec 30 2011, 6:29 pm, Alan Etkin wrote: > I am n

Re: [web2py] Re: Happy new year

2012-01-01 Thread Javier Quarite
Feliz Año Nuevo (Happy new year from Perù) Javier Q

Re: [web2py] Re: Happy new year

2012-01-01 Thread Miroslav Gojic
Sretna Nova Godina! - - Miroslav Gojic - - 2012/1/1 Gerd > Ein gutes und glückliches neues Jahr > > Gerd >

[web2py] Re: Happy new year

2012-01-01 Thread Gerd
Ein gutes und glückliches neues Jahr Gerd

Re: [web2py] Happy new year

2012-01-01 Thread Nik Go
malipayong bag-ong tuig! On Sunday, January 1, 2012, Massimo Di Pierro wrote: > Happy new year everybody!

Re: [web2py] Happy new year

2012-01-01 Thread steve van christie
akemashite omedetou gozaimasu, minna san... \(^o^)/ On Sun, Jan 1, 2012 at 2:28 AM, Ivan Vilches Basaul < ivan_vilc...@hotmail.com> wrote: > Happy new yearrr ! > > Iván Vilches Basaul > > El 01-01-2012, a las 4:26, "Massimo Di Pierro" > escribió: > > > Happy new year everybody! >

Re: [web2py] Re: compute field error

2012-01-01 Thread Richard Baron Penman
v1.99.2 I found I get no error when I change the database from postgres to sqlite. Richard On Sun, Jan 1, 2012 at 2:43 AM, Massimo Di Pierro wrote: > Your code works for me. What version of web2py? Try it is a newly > createted application. > > On Dec 31, 6:37 am, Plumo wrote: >> I found when

Re: [web2py] Happy new year

2012-01-01 Thread Ivan Vilches Basaul
Happy new yearrr ! Iván Vilches Basaul El 01-01-2012, a las 4:26, "Massimo Di Pierro" escribió: > Happy new year everybody!