[web2py:11984] Web2py and pexpect?

2008-11-17 Thread artien
Hello, I'm trying to use pexpect from web2py with limited success. What I notice is that web2py doesn't treat the object like a normal python program would. A simple example (my real program creates ssh sessions this is just to demonstrate the issue): with ajax I call two functions: first it c

[web2py:11993] Re: web2py 1.50

2008-11-17 Thread artien
f you need more information let me know. Artien On Nov 17, 7:51 pm, mdipierro <[EMAIL PROTECTED]> wrote: > I posted web2py 1.50 > > this fixes some bug introduced in 1.49 with custom forms, the new > IS_URL validator written by Jonathan Benn and no more warnings for > missing

[web2py:12007] Re: Web2py and pexpect?

2008-11-17 Thread artien
Thanks the cache.ram works :) One process running web2py do you mean as in actual processes or as in sessions? Artien On Nov 17, 8:00 pm, mdipierro <[EMAIL PROTECTED]> wrote: > You are trying to create a process from one action (one http request) > and access it from another one.

[web2py:12139] Re: Web2py and pexpect?

2008-11-18 Thread artien
ey dependent on the > > response.session_id if you have one file per session. That depends on > > details. > > > Massimo > > > On Nov 17, 2:16 pm, artien <[EMAIL PROTECTED]> wrote: > > > > Thanks the cache.ram works :) One process running web2py do you

[web2py:12156] IP4 and IP6 checker for who wants it

2008-11-19 Thread artien
Here is the code I'm using to validate ip addresses entered in a text field in a form: Hope its usefull for someone, perhaps an idea for a requires IS_IP4 or IS_IP6? :) def ipcheckv6(ipnummer): Is_IP = True splitcounter = 0 if ipnummer.count('::') > 1: #bad formatted addres

[web2py:12198] Re: web2py book in PDF at $12.50

2008-11-20 Thread artien
Works fine for me. Seems like a problem on your side. Try another browser or the lulu.com main site? On Nov 20, 9:42 am, "Cevdet Ural" <[EMAIL PROTECTED]> wrote: > >   I  am getting an empty window from lulu.com link. > >     How is it to solve ? > [EMAIL PROTECTED] > > --~--~-~--~~--