RE: [web2py] Re: no more cherrypy wsgiserver

2010-03-17 Thread Timothy Farrell
: [web2py] Re: no more cherrypy wsgiserver Did you do anything special to use apachebench on the cherrypy server? When I run ab http://localhost/init/; I get a apr_socket_recv: Connection refused (111) error from apachebench. If I do the same command when running the latest hg tip of web2py

[web2py] Re: no more cherrypy wsgiserver

2010-03-16 Thread Michael Toomim
Did you do anything special to use apachebench on the cherrypy server? When I run ab http://localhost/init/; I get a apr_socket_recv: Connection refused (111) error from apachebench. If I do the same command when running the latest hg tip of web2py (with rocket), the benchmark works. I'm trying

[web2py] Re: no more cherrypy wsgiserver

2010-03-13 Thread Graham Dumpleton
On Mar 13, 5:28 pm, Yarko Tymciurak resultsinsoftw...@gmail.com wrote: On Mar 12, 9:14 pm, Graham Dumpleton graham.dumple...@gmail.com wrote: On Mar 13, 8:48 am, Timothy Farrell tfarr...@swgen.com wrote: I'm not sure how you upgraded, but make sure you have a rocket.py in your gluon

[web2py] Re: no more cherrypy wsgiserver

2010-03-13 Thread mdipierro
Yarko, this is bad. Somebody should tell them. ca you do that? If not, can you point me to the installer and I will do so? On Mar 13, 12:28 am, Yarko Tymciurak resultsinsoftw...@gmail.com wrote: On Mar 12, 9:14 pm, Graham Dumpleton graham.dumple...@gmail.com wrote: On Mar 13, 8:48 am,

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-13 Thread Jonathan Lundell
On Mar 13, 2010, at 7:21 AM, mdipierro wrote: Yarko, this is bad. Somebody should tell them. ca you do that? If not, can you point me to the installer and I will do so? Perhaps you should turn off access, or at least public access, to the svn repository. There's no good reason anyone should

[web2py] Re: no more cherrypy wsgiserver

2010-03-13 Thread mdipierro
I do not see an option to do that. Massimo On Mar 13, 9:48 am, Jonathan Lundell jlund...@pobox.com wrote: On Mar 13, 2010, at 7:21 AM, mdipierro wrote: Yarko, this is bad. Somebody should tell them. ca you do that? If not, can you point me to the installer and I will do so? Perhaps you

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-13 Thread Jonathan Lundell
On Mar 13, 2010, at 8:40 AM, mdipierro wrote: I do not see an option to do that. You could delete all the files, and leave just a README with a pointer to the hg repository. The history would still be there, but anyone who tried to fetch the head would just get the README. Massimo On

[web2py] Re: no more cherrypy wsgiserver

2010-03-13 Thread Michael Toomim
I'm so excited! I was about to try moving to rocket myself, because I need the scalability and it is very useful for my app to run without apache. THANKS GUYS! On Mar 11, 8:08 am, mdipierro mdipie...@cs.depaul.edu wrote: We moved from cherrypy wsgiserver toRocket, by Timothy Farrell. I

[web2py] Re: no more cherrypy wsgiserver

2010-03-13 Thread Yarko Tymciurak
On Mar 13, 9:21 am, mdipierro mdipie...@cs.depaul.edu wrote: Yarko, this is bad. Somebody should tell them. ca you do that? If not, can you point me to the installer and I will do so? Did it right away; they already updated the installer (see:

[web2py] Re: no more cherrypy wsgiserver

2010-03-13 Thread mdipierro
I still do not know how to do that. I will give you full access and you try. On Mar 13, 10:47 am, Jonathan Lundell jlund...@pobox.com wrote: On Mar 13, 2010, at 8:40 AM, mdipierro wrote: I do not see an option to do that. You could delete all the files, and leave just a README with a

[web2py] Re: no more cherrypy wsgiserver

2010-03-13 Thread mdipierro
Thank you Yarko. Massimo On Mar 14, 1:08 am, Yarko Tymciurak resultsinsoftw...@gmail.com wrote: On Mar 13, 9:21 am, mdipierro mdipie...@cs.depaul.edu wrote: Yarko, this is bad. Somebody should tell them. ca you do that? If not, can you point me to the installer and I will do so? Did it

[web2py] Re: no more cherrypy wsgiserver

2010-03-12 Thread mdipierro
this is an excellent case. On Mar 12, 10:13 am, Timothy Farrell tfarr...@swgen.com wrote: The benchmarks are in.  As you can see from the attached PDF, there is a strong case for Rocket. How I conducted these benchmarks: CPU: Athlon 4050e 2.1 GHz RAM: 3GB OS: Windows 7 Ultimate Python

[web2py] Re: no more cherrypy wsgiserver

2010-03-12 Thread Jose
On 11 mar, 16:08, mdipierro mdipie...@cs.depaul.edu wrote: We moved from cherrypy wsgiserver to Rocket, by Timothy Farrell. I included an older version, need to include the latest one. It needs to be tested but let's wait I post the latest version before we do so. Why? @Tim, you made a

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-12 Thread Timothy Farrell
I'm not sure how you upgraded, but make sure you have a rocket.py in your gluon folder. -tim On 3/12/2010 3:42 PM, Jose wrote: On 11 mar, 16:08, mdipierromdipie...@cs.depaul.edu wrote: We moved from cherrypy wsgiserver to Rocket, by Timothy Farrell. I included an older version, need

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-12 Thread Timothy Farrell
OK, in testing mod_proxy I've hit a snag. I'd like for someone else to take a look. I have web2py running on port 8000. Here's the relevant section of my httpd.conf (this is Apache 2.2.14): IfModule proxy_module SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1

[web2py] Re: no more cherrypy wsgiserver

2010-03-12 Thread Jose
On 12 mar, 21:48, Timothy Farrell tfarr...@swgen.com wrote: I'm not sure how you upgraded, but make sure you have a rocket.py in your gluon folder. $ hg pull $ hg update -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group,

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-12 Thread Jonathan Lundell
On Mar 12, 2010, at 2:09 PM, Timothy Farrell wrote: OK, in testing mod_proxy I've hit a snag. I'd like for someone else to take a look. I have web2py running on port 8000. Here's the relevant section of my httpd.conf (this is Apache 2.2.14): IfModule proxy_module SetEnv

[web2py] Re: no more cherrypy wsgiserver

2010-03-12 Thread mdipierro
To summerize. Is there something that works on mod_proxy+cherrypy that does not work on mod_proxy+rocket? -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this

[web2py] Re: no more cherrypy wsgiserver

2010-03-12 Thread mdipierro
I need help in building the windows binary. I cannot get Python25 + ssl 1.15 installed becuase it requires visual studio. Can one of you windows users try install python 2.5 install setuputils install mark hammond extensions easy_install ssl send me the c:/Python25 folder zipped. -- You

[web2py] Re: no more cherrypy wsgiserver

2010-03-12 Thread Graham Dumpleton
On Mar 13, 8:48 am, Timothy Farrell tfarr...@swgen.com wrote: I'm not sure how you upgraded, but make sure you have a rocket.py in your gluon folder. What ever they are doing they are trying to do it under Apache/ mod_wsgi, not as a standalone process. Graham -tim On 3/12/2010 3:42 PM,

[web2py] Re: no more cherrypy wsgiserver

2010-03-12 Thread Yarko Tymciurak
On Mar 12, 9:14 pm, Graham Dumpleton graham.dumple...@gmail.com wrote: On Mar 13, 8:48 am, Timothy Farrell tfarr...@swgen.com wrote: I'm not sure how you upgraded, but make sure you have a rocket.py in your gluon folder. What ever they are doing they are trying to do it under Apache/

[web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread mdipierro
Tim can add more but here is my impression. Cherrypy has a pluses, it is fast and has been tested a lot, but has some minuses too, it is hard to read, does not work with python 3.0 and requires OpenSSL. I tried to rewrite with gluon/sneaky, which also was 2x faster than cherrypy's but did not

[web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread mdipierro
He explained it partially here: https://launchpad.net/rocket/+announcements We will stress-test it with different browsers anyway. Massimo On Mar 11, 11:28 am, Jonathan Lundell jlund...@pobox.com wrote: On Mar 11, 2010, at 8:59 AM, Timothy Farrell wrote: One at a time: Is Rocket a

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Jonathan Lundell
On Mar 11, 2010, at 9:50 AM, mdipierro wrote: He explained it partially here: https://launchpad.net/rocket/+announcements We will stress-test it with different browsers anyway. I'm personally not that concerned. My point is that saying 0.x raises all sorts of red flags for

[web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread mdipierro
Rocket 0.3.1 is IN. Please download from trunk and start testing. Use this code db.define_table('image',Field('upload')) Please test upload and download of a large files via appadmin into image table. Please let us know which browser you tested and whether it worked or you experience any

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Timothy Farrell
Slight correction: db.define_table('image',Field('upload', 'upload')) I have successfully up- and downloaded files as large as 480MB and apps as large as 160MB (any larger apps crashed on unzipping). In all cases I was testing over HTTPS. -tim On 3/11/2010 1:04 PM, mdipierro wrote:

[web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread mdipierro
Which browsers? The problem with cherrypy 3.x was for example that different browser treated in different ways the server delay and some browser truncated files on download. I want to make sure that all common browsers are tested. Massimo On Mar 11, 2:18 pm, Timothy Farrell tfarr...@swgen.com

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Timothy Farrell
I tried larger files (2GB - 4.5GB) but Firefox wouldn't let me submit the form. Something about DVD images I suppose ;-) On 3/11/2010 2:18 PM, Timothy Farrell wrote: Slight correction: db.define_table('image',Field('upload', 'upload')) I have successfully up- and downloaded files as

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Timothy Farrell
That was FF 3.6 on Win7. I'm going to try some less well behaved browsers (IE 5.5+ via IEtester) next. On 3/11/2010 2:21 PM, mdipierro wrote: Which browsers? The problem with cherrypy 3.x was for example that different browser treated in different ways the server delay and some browser

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Álvaro Justen [Turicas]
What about testing this with Selenium[1]? You can use many browsers as plugins (IE, Safari, Firefox etc.). There is a Python wrapper[2]. There is a project made by brazilians (at Globo.com) that translates natural language to Selenium commands, called pyccuracy[3] - it could help too. [1]

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Timothy Farrell
So I was testing with IE 5.5+. and I hit a bug uploading...but the bug is in IE. It kept failing on uploading very large files and I couldn't figure it out. Turns out, IE was sending this http header: Content-Length: -556031510 Oops. This is in IE 5.5 all the way to IE 8. I suspect that

[web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread mdipierro
That is good enough. Don't we all love IE? When we discover bugs in our won code we can think of IE and feel better about ourselves. Massimo On Mar 11, 3:14 pm, Timothy Farrell tfarr...@swgen.com wrote: So I was testing with IE 5.5+. and I hit a bug uploading...but the bug is in IE.  It kept

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Albert Abril
well we shouln't worry a lot about IE 5.5, no? 5.5!! let me link this: http://farm4.static.flickr.com/3609/3629069606_3d1a1cd8fb_b.jpg On Thu, Mar 11, 2010 at 10:39 PM, mdipierro mdipie...@cs.depaul.edu wrote: That is good enough. Don't we all love IE? When we discover bugs in our won code

[web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread mdipierro
LOL. The problem Tim reported, as he indicates, also exists for subsequent IE version. I am sure cherrypy chokes on that too so this is not an issue. On Mar 11, 3:51 pm, Albert Abril albert.ab...@gmail.com wrote: well we shouln't worry a  lot about IE 5.5, no?  5.5!! let me link

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Jonathan Lundell
On Mar 11, 2010, at 9:50 AM, mdipierro wrote: He explained it partially here: https://launchpad.net/rocket/+announcements We will stress-test it with different browsers anyway. Not just browsers, right, but backending other servers and server variations? (mod_wsgi, mod_proxy, nginx,

[web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread mdipierro
mod_proxy yes. The other servers options do not use it. They do not use wsgiserver now. On Mar 11, 4:02 pm, Jonathan Lundell jlund...@pobox.com wrote: On Mar 11, 2010, at 9:50 AM, mdipierro wrote: He explained it partially here:    https://launchpad.net/rocket/+announcements We will

Re: [web2py] Re: no more cherrypy wsgiserver

2010-03-11 Thread Jonathan Lundell
On Mar 11, 2010, at 2:07 PM, mdipierro wrote: mod_proxy yes. The other servers options do not use it. They do not use wsgiserver now. Right, thanks. On Mar 11, 4:02 pm, Jonathan Lundell jlund...@pobox.com wrote: On Mar 11, 2010, at 9:50 AM, mdipierro wrote: He explained it partially