RE: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Bjorn Stabell
I'm just curious, with Twisted in place, how much other work would have to be done to run Zope in a Java application server? Just hypothetical. Would the persistency and pickling stuff work in Jython? Regards, -- Bjorn > -Original Message- > From: Itamar Shtull-Trauring [mailto:[EMAIL

RE: [Zope-dev] Zope & Cygwin

2001-10-10 Thread Norman Vine
Phillip J. Eby writes: > >Perhaps I'm confused, but I have an old (>3 months) version of Cygwin, but >when I installed the Win32 Python 2.1.1 release, I was able to build >extension modules just fine using distutils, after I built an import >library. You shouldn't need VC++ to build Zope extensio

Re: [Zope-dev] Zope & Cygwin

2001-10-10 Thread Phil Harris
It's probably me that's confused :) On Wed, 10 Oct 2001 21:19:04 -0500 "Phillip J. Eby" <[EMAIL PROTECTED]> wrote: > Perhaps I'm confused, but I have an old (>3 months) version of Cygwin, but > when I installed the Win32 Python 2.1.1 release, I was able to build > extension modules just fine

Re: [Zope-dev] Zope & Cygwin

2001-10-10 Thread Phillip J. Eby
Perhaps I'm confused, but I have an old (>3 months) version of Cygwin, but when I installed the Win32 Python 2.1.1 release, I was able to build extension modules just fine using distutils, after I built an import library. You shouldn't need VC++ to build Zope extensions, just distutils and gc

[Zope-dev] ZPublisher/ZServer interaction (was Re: A modest proposal)

2001-10-10 Thread Phillip J. Eby
At 08:00 AM 10/10/01 -0700, kapil thangavelu wrote: >sadly the distinction between zpublisher and zserver is nowhere near as >clean, i spent some time looking at it this morning trying to get my server >of choice using zope. i thought it would be a mid morning hack, but the rabit >hole follows th

Re: [Zope-dev] Proposal: have install_product detect __init__.pyo too

2001-10-10 Thread Evan Simpson
Richard Jones wrote: > I'd like to run python in its optimised mode (to try to squeeze that extra > 1-5% of performance out of it ;). The only real barrier to doing this is that > install_product doesn't check for __init__.pyo (just .py and .pyc). > > Would there be serious problems if it was

[Zope-dev] Component model, webservices and xmlrpc?

2001-10-10 Thread Jay, Dylan
This is a question for those that understand where the component model and webservices are headed with zope. I'm asking since I'm trying to understand the direction zope is headed I just had to let someone access some RDBS data easily. Its already used in zope so I figured the easiest way was xml

[Zope-dev] PageTemplateFile + Metal not working

2001-10-10 Thread Steve Alexander
I'm using ZPT in a Python Product. PageTemplateFile works fine, using it more-or-less as a drop-in replacement for DTMLFile. However, I want to use METAL with this. Simple macros that work on page templates created in the ZODB fail to work from filesystem python products. The error I'm getting

Re: [Zope-dev] Zope & Cygwin

2001-10-10 Thread Phil Harris
I had a brief conversation with the Cygwin Python maintainer a little while back, supposedly the next release of Cygwin will have a threaded Python (2.1.1 or maybe even higher). Phil On Wed, 10 Oct 2001 13:17:22 -0400 "Chris McDonough" <[EMAIL PROTECTED]> wrote: > > FYI > > I finally have a C

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread kapil thangavelu
On Wednesday 10 October 2001 08:09 am, Michel Pelletier wrote: > > Just to throw out another idea, Amos has discussed with me in the past the > idea of replacing medusa with Apache 2.0. Compelling as many of Twisted's > features may be, Apache 2.0 as far as i can tell supports many of them as > w

Re: [Zope-dev] Zope & Cygwin

2001-10-10 Thread Chris McDonough
> No I forgot to mention that this is with a locally compiled Python > that hasn't had threading disabled. Oh ok... when possible I will give it a roll and I'll try to document the problems I have so we can compare notes. Thanks! - C ___ Zope-Dev

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread kapil thangavelu
On Wednesday 10 October 2001 04:41 am, Itamar Shtull-Trauring wrote: > Tino Wildenhain wrote: > > this sounds good for me. One would have to see it > > in the wild. Would you be able to do a sample integration > > for testing? > > It's not that I actually have the time for it, nor do I have enough

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread kapil thangavelu
On Wednesday 10 October 2001 07:49 am, Michel Pelletier wrote: > On Wed, 10 Oct 2001 13:12:24 +0200 > > Itamar Shtull-Trauring <[EMAIL PROTECTED]> wrote: > > 1) Medusa is working *now*. This is of course the main reason why not to > > switch. I dunno how deeply integrated Zope is with ZServer. >

Re: [Zope-dev] Re: [medusa] Twisted, medusa, ZServer, and VFS's

2001-10-10 Thread Don Hopkins
Running Zope on Windows is quite convenient for developing and debugging portable Python extensions to run on the server. It's straightforward to run Zope under Visual C++, in order put breakpoints in Python extensions, single step through the code and catch errors. Not to start any religious argu

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Andy McKay
> > How about Tux? Would that even make sense? > > Nope, TUX is linux-only. I think the point is to make an easily changeable front end that allows ZServer to be easily replaced with server x. Be it Tux or IIS or YAWS (Yet Another Web Server). Cheers. -- Andy McKay.

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Michael R. Bernstein
On Wed, 2001-10-10 at 10:47, Andreas Jung wrote: > > From: "Michael R. Bernstein" <[EMAIL PROTECTED]> > > > > On Wed, 2001-10-10 at 09:42, Andy McKay wrote: > > > > > > Absolutely it may be more work but being able to eventually plug in your > > > own > > > front end would be great, be it ZServer

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Andreas Jung
- Original Message - From: "Michael R. Bernstein" <[EMAIL PROTECTED]> To: "Andy McKay" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 10, 2001 13:47 Subject: Re: [Zope-dev] A modest proposal: Replace medusa with Twisted > On Wed, 2001-10-10 at 09:42, Andy McKay wro

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Michael R. Bernstein
On Wed, 2001-10-10 at 09:42, Andy McKay wrote: > > I think a general proposal for "Pluggable front-ends" would be better > > received. I know there has been talk about dropping ZServer in favor of > > Apache 2.0. What would be nice would be to have options. > > Absolutely it may be more work but

RE: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Brian Lloyd
> > Thing is that from what I see win32 is the most popular > platform for Zope > > Actually I think win32 is in the minority. A poll on ZopeZen (totally > unscientific) showed about 60% run on Linux. Our server logs always show win32 binary downloads as far and away the winner. That doesn't m

RE: [Zope-dev] Zope & Cygwin

2001-10-10 Thread Norman Vine
Chris McDonough writes: > >> FYI >> I finally have a Cygwin compiled Zope running in a Cygwin enviroment. >> This is with the very latest Cygwin distribution augmented by a locally >> compiled Cygwin as represented by the current Cygwin CVS files. > >Cool! This is excellent. This means that I st

Re: [Zope-dev] Zope & Cygwin

2001-10-10 Thread Chris McDonough
> FYI > I finally have a Cygwin compiled Zope running in a Cygwin enviroment. > This is with the very latest Cygwin distribution augmented by a locally > compiled Cygwin as represented by the current Cygwin CVS files. Cool! This is excellent. This means that I stand a shot at getting rid of 200

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Andy McKay
> I think a general proposal for "Pluggable front-ends" would be better > received. I know there has been talk about dropping ZServer in favor of > Apache 2.0. What would be nice would be to have options. Absolutely it may be more work but being able to eventually plug in your own front end would

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Casey Duncan
On Wednesday 10 October 2001 10:49 am, Michel Pelletier allegedly wrote: > On Wed, 10 Oct 2001 13:12:24 +0200 > > Itamar Shtull-Trauring <[EMAIL PROTECTED]> wrote: > > 1) Medusa is working *now*. This is of course the main reason why not to > > switch. I dunno how deeply integrated Zope is with Z

[Zope-dev] Zope & Cygwin

2001-10-10 Thread Norman Vine
Michel Pelletier writes: >> >Whether or not it is the most popular, who knows? Windows >support is absolutely essential however and will never be >traded off for any other feature. FYI I finally have a Cygwin compiled Zope running in a Cygwin enviroment. This is with the very latest Cygwin dis

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Bill Anderson
On Wed, 2001-10-10 at 06:17, seb bacon wrote: > * Phil Harris <[EMAIL PROTECTED]> [011010 15:25]: > > Thing is that from what I see win32 is the most popular platform for Zope > > (I'm including experimenters here though, not just production sites). > > Last time I looked at the zope.org download

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Michel Pelletier
On Wed, 10 Oct 2001 16:05:06 +0200 Itamar Shtull-Trauring <[EMAIL PROTECTED]> wrote: > 2) Plugging in a different transports instead of TCP (e.g. SSL) is much > easier in Twisted than medusa, as far as I can tell. In m2crypto's medusa > ssl code very protocol needs its own subclass in order supp

[Zope-dev] Re: [medusa] Twisted, medusa, ZServer, and VFS's

2001-10-10 Thread Skip Montanaro
Donovan> ZServer grew out of Medusa I'm not sure how tightly tied to Donovan> Zope it is >> >> Not tightly at all. I use it completely independent of Zope. Donovan> Hmm, what for? How? What are you serving out of? I still do Zope-y sorts of things: serve files, exe

[Zope-dev] Lowlevel python/Zope Errors: asyncore.py and others...

2001-10-10 Thread Dario Lopez-Kästen
Hello! I have a serious problem with Zope. We repeatedly get the following kind of errors: 2001-09-05T13:45:12 ERROR(200) ZServer uncaptured python exception, closing channel ( socket.error:(32, 'Broken pipe') [/usr/local/zope/dist/Zope-2.4.1/ZServer/medusa/asynchat.py|initiate_send|21 4] [/usr

[Zope-dev] Re: [medusa] Twisted, medusa, ZServer, and VFS's

2001-10-10 Thread Donovan Baarda
I'm trying to get selective with the cross-posting based on what the thread is focusing on... On Wed, Oct 10, 2001 at 08:48:37AM -0500, Skip Montanaro wrote: > > > Donovan> ZServer grew out of Medusa I'm not sure how tightly tied to > Donovan> Zope it is > > Not tightly at all.

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Michel Pelletier
On Wed, 10 Oct 2001 12:25:09 +0100 "Phil Harris" <[EMAIL PROTECTED]> wrote: > But kosh, we all know your hatred of all things Microsoft. > > You're absolutely right, it could be fixed, and probably should be as well. > > Thing is that from what I see win32 is the most popular platform for Zope

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Michel Pelletier
On Wed, 10 Oct 2001 13:12:24 +0200 Itamar Shtull-Trauring <[EMAIL PROTECTED]> wrote: > 1) Medusa is working *now*. This is of course the main reason why not to > switch. I dunno how deeply integrated Zope is with ZServer. ZServer and the Zope application interface through a pretty clean bound

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Zopista
> Thing is that from what I see win32 is the most popular platform for Zope Actually I think win32 is in the minority. A poll on ZopeZen (totally unscientific) showed about 60% run on Linux. - Original Message - From: "Phil Harris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Chris W

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Itamar Shtull-Trauring
Andreas Jung wrote: > The Medusa architecture is also more or less generic and extendable. 1) I've talked to at least one person who had trouble integrating an external protocol into Zope, and ended up running it as a seperate process and communicating over XML-RPC. 2) Plugging in a different

[Zope-dev] Re: [medusa] Twisted, medusa, ZServer, and VFS's

2001-10-10 Thread Skip Montanaro
Donovan> ZServer grew out of Medusa I'm not sure how tightly tied to Donovan> Zope it is Not tightly at all. I use it completely independent of Zope. Donovan> My problem with Medusa is its http and ftp servers assume that Donovan> the VFS can deliver files wrapped in p

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Raymond Penners
seb bacon wrote: >>Thing is that from what I see win32 is the most popular platform for Zope >>(I'm including experimenters here though, not just production sites). >> > > Last time I looked at the zope.org download stats, it was about 2/3 > windows downloads... Keep in mind that Zope comes pr

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Andreas Jung
- Original Message - From: "Itamar Shtull-Trauring" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 10, 2001 06:11 Subject: [Zope-dev] A modest proposal: Replace medusa with Twisted > Actually, this brings up this idea I had - Zope should replace medusa with > Twist

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Itamar Shtull-Trauring
Tino Wildenhain wrote: > this sounds good for me. One would have to see it > in the wild. Would you be able to do a sample integration > for testing? > It's not that I actually have the time for it, nor do I have enough knowledge of Zope's medusa integration. I was rather hoping someone from D

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread seb bacon
* Phil Harris <[EMAIL PROTECTED]> [011010 15:25]: > Thing is that from what I see win32 is the most popular platform for Zope > (I'm including experimenters here though, not just production sites). Last time I looked at the zope.org download stats, it was about 2/3 windows downloads... seb

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread kosh
On Wed, 10 Oct 2001, Phil Harris wrote: > But kosh, we all know your hatred of all things Microsoft. > How did you ever guess? Hmm my prejudices must be showing through again. ;) > You're absolutely right, it could be fixed, and probably should be as well. > My guess is that it will be also. I

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Itamar Shtull-Trauring
[EMAIL PROTECTED] wrote: > Any ideas what the performance would be compared to medusa? Nope. However, it is pretty fast, and Zope is slow anyway, since it's so dynamic. >>4) Good integration with threads - while event based, twisted has a very >>nice model for dealing with threaded apps. >> >

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Phil Harris
But kosh, we all know your hatred of all things Microsoft. You're absolutely right, it could be fixed, and probably should be as well. Thing is that from what I see win32 is the most popular platform for Zope (I'm including experimenters here though, not just production sites). Anyone from ZC wa

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Phil Harris
Not for me, get all sorts of socket errors - Original Message - From: "Itamar Shtull-Trauring" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 10, 2001 12:24 PM Subject: Re: [Zope-dev] A modest proposal: Replace medusa with Twisted > Phil Harris wrote: > > > I'd s

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Phil Harris
but, I'm just about to try 0.11, so my opinion may change. - Original Message - From: "Itamar Shtull-Trauring" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 10, 2001 12:24 PM Subject: Re: [Zope-dev] A modest proposal: Replace medusa with Twisted > Phil Harris wro

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread kosh
On Wed, 10 Oct 2001, Phil Harris wrote: > I'd say the fact that it doesn't work on Win32 is a bit of a downer. > Just a bit but overall I expect that could be changed if it where really important. From what I have seen under high load and python program will kill windows after a few days with som

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Itamar Shtull-Trauring
Phil Harris wrote: > I'd say the fact that it doesn't work on Win32 is a bit of a downer. Last I checked twisted ran fine on win32. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Phil Harris
I'd say the fact that it doesn't work on Win32 is a bit of a downer. - Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "Itamar Shtull-Trauring" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 10, 2001 12:00 PM Subject: Re: [Zope-dev] A modest proposal

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Tino Wildenhain
Hi Itamar, this sounds good for me. One would have to see it in the wild. Would you be able to do a sample integration for testing? At the same time unmeshing the publishing process sounds sexy to me... Regards Tino --On Mittwoch, 10. Oktober 2001 12:11 +0200 Itamar Shtull-Trauring <[EMAIL PR

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Itamar Shtull-Trauring
Chris Withers wrote: > Well, you're advocating this, so it's fair to paint a rosy picture. And I'm a Twisted developer, so I'm even more biased :) Though the overall design was not done by me, and was what convinced me to use it in the first place. > Can anyone see what the downsides would be

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread kosh
Designing the webpages of tomorrow http://webme-eng.com Designing the MMORPGS of tomorrow http://worldforge.org On Wed, 10 Oct 2001, Itamar Shtull-Trauring wrote: > Actually, this brings up this idea I had - Zope should replace medusa with > Twisted. Why, you ask? > Any ideas what the performa

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Itamar Shtull-Trauring
Oops, forgot the URL: http://www.twistedmatrix.com/ ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-ann

Re: [Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Chris Withers
Itamar Shtull-Trauring wrote: > > Actually, this brings up this idea I had - Zope should replace medusa with > Twisted. Well, you're advocating this, so it's fair to paint a rosy picture. Can anyone see what the downsides would be? In any case, it does look cool. Perhaps a fishbowl proposal wou

[Zope-dev] A modest proposal: Replace medusa with Twisted

2001-10-10 Thread Itamar Shtull-Trauring
Actually, this brings up this idea I had - Zope should replace medusa with Twisted. Why, you ask? 1) Twisted separates transport from protocols, and the event loop it uses is extendable and generic. That means: - It can run on Jython (using threads, someday with java.nio), and it can be

[Zope-dev] Re: [medusa] Twisted, medusa, ZServer, and VFS's

2001-10-10 Thread kapil thangavelu
On Tuesday 09 October 2001 10:48 pm, Donovan Baarda wrote: > G'day, > > First my impressions of the three contenders; Twisted, Medusa, ZServer. > Please correct me if I'm wrong in the following summaries; > > Medusa seems to be the daddy of them all. It's the oldest, which has > benefits and probl