Re: [Zope-dev] Creating IMAP and SMTP services for Zope
ender wrote: On Saturday 03 February 2001 10:28, Morten W. Petersen wrote: I'm wondering about creating IMAP and SMTP services for Zope. Someone mentioned to me that extending (using?) the ZServer could be a Good Thing (tm). probably. i've always been curious though about the threads in zserver, i thought they were allocated to handle only zpublisher requests (maybe just http requests). assuming you don't want to tie up the thread handling the asyncore it seems you might need to create a pool of threads for handling requests, or adjust your code to translate imap/smtp requests into zpublisher requests so the default pool can be used. Or, I guess, you could implement the whole thing as a ZEO client, and avoid interfering with the threads of your webserving Zope. -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] test
are we here in mail.zope.org -- Robin Becker ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] FTP PUT'ing images doesn't create Image objects?
This would be nice for images too. Just today I was uploading a bunch via FTP and though the same thing, wouldn't it be nice if it knew these were made into image objs? I thought images would be created here? I'd stick this one in the collector... cheers, Chris ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: [Zope-Annce] DTML Eval Tag Released
Casey Duncan wrote: Hi Phill, Thanks for the feedback. As for the REQUEST vs. RESPONSE usage, the latter can't be used to store values and is really there as a way to communicate to the browser. The former is used pretty regularly to store scratch variables already. Looks like the set() method has been removed from 2.3. I remember using it many a time in 2.2 and 2.1 to do this kind of thing though. RESPONSE.set() worked in the same way as REQUEST.set() but without messing REQUEST up (which in the same light is just a way for the browser to communicate with you) Looks like RESPONSE.__setitem__ maps things directly to the setHeader() method. snip A possible solution to this is for the method to push an empty scratch namespace for itself when it starts and pop it when it finishes. Then the eval tag can just use this namespace to store variables. I considered that too complex for my first release, but I certainly will reconsider it for future ones. This does sound like the way to go. Phill ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope server dies with Netscape's FTP
Chris Withers wrote: Pablo Bleyer Kocik wrote: I am running Zope 2.3.0 under Linux in a remote machine. When I try to access Medusa through FTP (port 8021) using Netscape 4.5 under Windows, Zope dies silently. Is this a known issue? How can I trace what is happening to Zope's FTP server causing it to die? Stick it in the collector: classic.zope.org:8080/Collector (it's down at the moment :-( ) cheers, Chris Yep, I was going to do that. However I wanted to track the bug a little more. The problem is not with Netscape; through plain vanilla FTP utility I get the same situation. But now comes the nice part: If I login to the machine and restart Zope then, *without* leaving the shell prompt, the FTP access works fine. I get the access and success login notices in the screen. If I logout and I try to login with ftp again, Zope RIPs ;^/ Cheers! -- Pablo Bleyer Kocik | pbleyer|"Rintrah roars shakes his fires in the burdend air; @embedded.cl | Hungry clouds swag on the deep" William Blake ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope server dies with Netscape's FTP
Keep CC'ing in the list, this might rign bells for someone else... ...sadly not for me :-S cheers, Chris Pablo Bleyer Kocik wrote: Chris Withers wrote: Pablo Bleyer Kocik wrote: I am running Zope 2.3.0 under Linux in a remote machine. When I try to access Medusa through FTP (port 8021) using Netscape 4.5 under Windows, Zope dies silently. Is this a known issue? How can I trace what is happening to Zope's FTP server causing it to die? Stick it in the collector: classic.zope.org:8080/Collector (it's down at the moment :-( ) cheers, Chris Yep, I was going to do that. However I wanted to track the bug a little more. The problem is not with Netscape; through plain vanilla FTP utility I get the same situation. But now comes the nice part: If I login to the machine and restart Zope then, *without* leaving the shell prompt, the FTP access works fine. I get the access and success login notices in the screen. If I logout and I try to login with ftp again, Zope RIPs ;^/ Cheers! -- Pablo Bleyer Kocik | pbleyer|"Rintrah roars shakes his fires in the burdend air; @embedded.cl | Hungry clouds swag on the deep" William Blake ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] The field converters (:int, :text, etc.)
Hi guys, IIRC, there was some talk about modularizing the field converters (checkers) so that they could be easiliy modified and added to. Is there currently any efforts to solving this problem? If not, there's definently a need for it, IMO.. Thank you for your time. -Morten ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Q: Specialists, Racks, and ZCatalogs?
Michael Bernstein wrote: Thanks, Steve. That was very helpful. To summarize your explanation, if I understood correctly: This is strictly an implementation issue. You could say that. I would agree some of the time :-) If the SkinScript has functionality that should be shared by more than one Rack, it should go in the Specialist, Not quite. If the SkinScript has functionality that is shared by all the Specialist's Racks, then it should go in the Specialist. Another way of looking at this is that application logic lives in the Specialist, and storage logic lives in the Rack. otherwise keep it with the Rack that it's specific to. Or, looked at another way, common functionality should be factored out and acquired. Although you can do that, it is not always the best thing to do. Sometimes, a bit of redundancy helps ease a system through the pains of evolution :-) -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
RE: [Zope-dev] Zope server dies with Netscape's FTP
Are you starting zope with ./start, or otherwise including -D when z2.py is executed? That will cause Zope to try to write to the terminal when an FTP connection is made. Since the terminal is gone, Zope dies. -Randy -Original Message- From: Pablo Bleyer Kocik [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 04, 2001 7:41 AM To: zope-dev Subject: Re: [Zope-dev] Zope server dies with Netscape's FTP Chris Withers wrote: Pablo Bleyer Kocik wrote: I am running Zope 2.3.0 under Linux in a remote machine. When I try to access Medusa through FTP (port 8021) using Netscape 4.5 under Windows, Zope dies silently. Is this a known issue? How can I trace what is happening to Zope's FTP server causing it to die? Stick it in the collector: classic.zope.org:8080/Collector (it's down at the moment :-( ) cheers, Chris Yep, I was going to do that. However I wanted to track the bug a little more. The problem is not with Netscape; through plain vanilla FTP utility I get the same situation. But now comes the nice part: If I login to the machine and restart Zope then, *without* leaving the shell prompt, the FTP access works fine. I get the access and success login notices in the screen. If I logout and I try to login with ftp again, Zope RIPs ;^/ Cheers! -- Pablo Bleyer Kocik | pbleyer|"Rintrah roars shakes his fires in the burdend air; @embedded.cl | Hungry clouds swag on the deep" - William Blake ___ 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-announce http://lists.zope.org/mailman/listinfo/zope ) ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Q: Specialists, Racks, and ZCatalogs?
Steve Alexander wrote: Michael Bernstein wrote: If the SkinScript has functionality that should be shared by more than one Rack, it should go in the Specialist, Not quite. If the SkinScript has functionality that is shared by all the Specialist's Racks, then it should go in the Specialist. If the functionality is shared among *most* of the Racks, can't you override the SkinScript in the exceptions? Although you can do that, it is not always the best thing to do. Sometimes, a bit of redundancy helps ease a system through the pains of evolution :-) On that subject, does anyone know why SkinScripts don't support cut-n-paste or copy-n-paste? Thanks, Michael Bernstein. ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Q: Specialists, Racks, and ZCatalogs?
At 08:38 AM 2/4/01 -0800, Michael Bernstein wrote: On that subject, does anyone know why SkinScripts don't support cut-n-paste or copy-n-paste? 'cause I never thought of implementing it, probably because I've never yet needed to move a SkinScript. Patches cheerfully accepted. :) ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Q: Specialists, Racks, and ZCatalogs?
Phillip J. Eby wrote: At 08:38 AM 2/4/01 -0800, Michael Bernstein wrote: On that subject, does anyone know why SkinScripts don't support cut-n-paste or copy-n-paste? 'cause I never thought of implementing it, probably because I've never yet needed to move a SkinScript. Patches cheerfully accepted. :) I've just patched ZPatterns so that SkinScript methods have a History tab. I guess I could work on cut and paste too :-) I'll send a patch when I'm done and tested. -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: Zope server dies with Netscape's FTP
I think this may be a problem with passive/active FTP sessions and (possibly) proxies settign between you and the Zope instance. I've had the same problem with other FTP clients when I try to FTP into a Zope server: at one client's office they do NAT, which acts as a proxy - around 60% of the time my FTP session will lock up on a PUT, and the WHOLE zope instance dies. I had written it off as somethign to do with the clien'ts network - but if its happening to others out there too, then maybe its time we launched an investigation into this? The problem I noticed when I looked at it previously is that no error was ever logged, even with the debug option turned on - the zope instance just died mysteriously. Anyone know of a way off-hand to force zope to do a stack traceback to the error log when an FTP error (or some other unknown error) takes it down? Once we track down the problem we could at the least prevent it from killing anything but it's own thread, if not fix it completely... ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope server dies with Netscape's FTP
"Randall F. Kern" wrote: Are you starting zope with ./start, or otherwise including -D when z2.py is executed? That will cause Zope to try to write to the terminal when an FTP connection is made. Since the terminal is gone, Zope dies. -Randy The problem started occurring without debugging turned on, and it didn't happen always. Then I turned debugging on to trace the bug, and it was worst: there were no logs and the server always dies if I exit the console. I am pretty cueless to what is going on... Cheers! -- Pablo Bleyer Kocik | pbleyer|"Rintrah roars shakes his fires in the burdend air; @embedded.cl | Hungry clouds swag on the deep" William Blake ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: Zope server dies with Netscape's FTP
Jon Franz wrote: I think this may be a problem with passive/active FTP sessions and (possibly) proxies settign between you and the Zope instance. I've had the same problem with other FTP clients when I try to FTP into a Zope server: at one client's office they do NAT, which acts as a proxy - around 60% of the time my FTP session will lock up on a PUT, and the WHOLE zope instance dies. I am accessing the FTP directly, don't know if there is something that would act like a proxy. I am going to check for that... I had written it off as somethign to do with the clien'ts network - but if its happening to others out there too, then maybe its time we launched an investigation into this? The problem I noticed when I looked at it previously is that no error was ever logged, even with the debug option turned on - the zope instance just died mysteriously. In my case, when the debug option is turned on it is worst because then it always dies. I don't know if the same would happen with stdio/stderr redirected to something like /dev/null or a file... Cheers! -- Pablo Bleyer Kocik | pbleyer|"Rintrah roars shakes his fires in the burdend air; @embedded.cl | Hungry clouds swag on the deep" William Blake ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope server dies with Netscape's FTP
At 12:21 AM 2/5/01 -0400, Pablo Bleyer Kocik wrote: "Randall F. Kern" wrote: Are you starting zope with ./start, or otherwise including -D when z2.py is executed? That will cause Zope to try to write to the terminal when an FTP connection is made. Since the terminal is gone, Zope dies. -Randy The problem started occurring without debugging turned on, and it didn't happen always. Then I turned debugging on to trace the bug, and it was worst: there were no logs and the server always dies if I exit the console. I am pretty cueless to what is going on... Well, yes, the server will die when you close the console if you did not start it with nohup or some other program that "unbinds" Zope from the Shell as a child. Just start Zope with: nohup ./start All messages will be forwarded to nohup.out in your current directory at execution time. You can stop the server with ./stop Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development Technical Project Management ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope server dies with Netscape's FTP
Stephan Richter wrote: The problem started occurring without debugging turned on, and it didn't happen always. Then I turned debugging on to trace the bug, and it was worst: there were no logs and the server always dies if I exit the console. I am pretty cueless to what is going on... Well, yes, the server will die when you close the console if you did not start it with nohup or some other program that "unbinds" Zope from the Shell as a child. Just start Zope with: nohup ./start All messages will be forwarded to nohup.out in your current directory at execution time. You can stop the server with ./stop Regards, Stephan Hey, I am not _that_ silly ;^). I can exit the shell but I leave Zope working in the background, of course. Then all works fine until I do an FTP, which hangs because the server dies. Cheers! -- Pablo Bleyer Kocik | pbleyer|"Rintrah roars shakes his fires in the burdend air; @embedded.cl | Hungry clouds swag on the deep" William Blake ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope server dies with Netscape's FTP
Hey, I am not _that_ silly ;^). I can exit the shell but I leave Zope working in the background, of course. Then all works fine until I do an FTP, which hangs because the server dies. Sorry, I did not mean to offend you I have not used the FTP for a long time, but I also noticed that I cannot get to any directories deeper than the root one from Emacs anymore. But that could be caused by my own User Folder, since it is not updated with the new security implementation. Mmmhh, you use the regular User Folder right? Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Student Web2k - Web Design/Development Technical Project Management ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Problem: manage_workspace redirects to index_html
I goto http://localhost/manage and login. I get the management tree on the left but right hand pain is viewing index_html rather than manage_main. With a bit of testing and looking at code I see that manage_workspace method is being called as an anonymous user which is why it redirects to the index_html. All other methods seem to have the manager user (the tree shows the right user). I can try manage_main directly on things and it works fine. I can view and change the security settings using manage_access and they look fine. Something really weird is going on and its bugging the hell out of me. I'm using IE 5.01 on w2k. Anyone got any ideas? _ http://entertainment.yahoo.com.au - Yahoo! Entertainment - Feeling a little bored? Need some entertainment? ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] I think zope@zope.org is down
what's more, mesages to it are not bouncing. _ http://entertainment.yahoo.com.au - Yahoo! Entertainment - Feeling a little bored? Need some entertainment? ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Problem: manage_workspace redirects to index_html
From: "Dylan Jay" [EMAIL PROTECTED] I'm using IE 5.01 on w2k. The current 5.01 version of IE doesn't do basic authentication correctly (or, at least, the way nearly every other version, and browser, does it). Try getting 5.5sp1 instead. Cheers, Evan @ digicool 4-am ___ 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-announce http://lists.zope.org/mailman/listinfo/zope )