[Zope-Annce] [German Zope Conference] Reminder/Correction
First of all an important correction: The location of the 7th DZUG conference is at the technical College in St. Augustin near Bonn and not as previously announced in Berlin. The 7th DZUG conference meets on 14-15 September 2006 in St.Augustin (near Bonn/ Rhein-Sieg Technical College) and *not* in *Berlin*. The Department of Computer Science at Bonn/Rhein-Sieg College, the Paritaetische Wohlfahrtsverband NRW and the DZUG e.V. are organizing the conference together. The topic of the conference is Zope as a strategic platform for complex web applications. Plone-Track at German Zope Conference: Call for Papers One of the three tracks is dedicated to Plone the most popular Zope-CMS. The talks in this track are intended both for developers as well as decision makers and users. Contributions are still welcome! Formal requirements for the talks * Talks are limited to 30 minutes * The slides of the talks should be delivered to the organization committee during the conference so they can be placed at the DZUG website. * Proposals with the name of the speaker are to be submitted as abstracts. * 1 September 2006 is the deadline for the e-mail submission of proposals at [EMAIL PROTECTED] See also: http://www.zope.de/dzug-tagung pgpKKNj2egdd8.pgp Description: PGP signature ___ Zope-Announce maillist - Zope-Announce@zope.org http://mail.zope.org/mailman/listinfo/zope-announce Zope-Announce for Announcements only - no discussions (Related lists - Users: http://mail.zope.org/mailman/listinfo/zope Developers: http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope-Checkins] SVN: Products.Five/trunk/ Fixed #2168: Missing import
Log message for revision 69765: Fixed #2168: Missing import Changed: U Products.Five/trunk/CHANGES.txt U Products.Five/trunk/metaconfigure.py U Products.Five/trunk/tests/test_directives.py -=- Modified: Products.Five/trunk/CHANGES.txt === --- Products.Five/trunk/CHANGES.txt 2006-08-24 14:26:52 UTC (rev 69764) +++ Products.Five/trunk/CHANGES.txt 2006-08-24 14:39:34 UTC (rev 69765) @@ -2,6 +2,11 @@ Five Changes +Five 1.5.1 (unreleased) += + +* Fixed #2168: Missing import + Five 1.5 (2006-08-13) = Modified: Products.Five/trunk/metaconfigure.py === --- Products.Five/trunk/metaconfigure.py2006-08-24 14:26:52 UTC (rev 69764) +++ Products.Five/trunk/metaconfigure.py2006-08-24 14:39:34 UTC (rev 69765) @@ -15,6 +15,7 @@ $Id$ +import warnings from zope.configuration.exceptions import ConfigurationError from zope.app.component import contentdirective from Products.Five.security import protectName, initializeClass Modified: Products.Five/trunk/tests/test_directives.py === --- Products.Five/trunk/tests/test_directives.py2006-08-24 14:26:52 UTC (rev 69764) +++ Products.Five/trunk/tests/test_directives.py2006-08-24 14:39:34 UTC (rev 69765) @@ -73,6 +73,51 @@ cleanUp() +def test_content_deprecation(): + +Test deprecated content directive + +There was a bug in the content directive deprecation code +which caused all code that use this directive break. +So we test this to make sure it works. If the content +directive will have been removed, this test can be removed +entirely as well. + +First, we load the configuration file: + + import Products.Five.tests + from Products.Five import zcml + zcml.load_config('meta.zcml', Products.Five) + zcml.load_config('directives.zcml', Products.Five.tests) + +Use the content directives: this gives a deprecation +warning but should otherwise be all right. (We embed the block +to suppress the deprecation warning...) + + import warnings + warnings.showwarning, _savewarning = lambda *args, **kw: None, warnings.showwarning + zcml.load_string(''' + ... configure xmlns=http://namespaces.zope.org/zope; + ... content class=Products.Five.tests.classes.One + ... implements interface=Products.Five.tests.classes.IOne / + ... /content + ... /configure + ... ''') + +Check that they are all right. + + from Products.Five.tests.classes import One, Two, IOne, ITwo + IOne.implementedBy(One) + True + +Clean up adapter registry and others: + + warnings.showwarning = _savewarning + from zope.testing.cleanup import cleanUp + cleanUp() + + + def test_suite(): from Testing.ZopeTestCase import ZopeDocTestSuite return ZopeDocTestSuite() ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/branches/2.9/ Specifying session-resolution-seconds = 1200 caused Zope startup to fail.
Log message for revision 69766: Specifying session-resolution-seconds = 1200 caused Zope startup to fail. Fixes http://www.zope.org/Collectors/Zope/1983 Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/OFS/Application.py -=- Modified: Zope/branches/2.9/doc/CHANGES.txt === --- Zope/branches/2.9/doc/CHANGES.txt 2006-08-24 14:39:34 UTC (rev 69765) +++ Zope/branches/2.9/doc/CHANGES.txt 2006-08-24 15:13:43 UTC (rev 69766) @@ -8,6 +8,9 @@ Bugs fixed + - Collector #1983: Specifying session-resolution-seconds = 1200 caused +Zope startup to fail. + - Collector #2169: webdav.Resource.COPY did not send ObjectClonedEvent. - Updated Five to bugfix release 1.3.7. Modified: Zope/branches/2.9/lib/python/OFS/Application.py === --- Zope/branches/2.9/lib/python/OFS/Application.py 2006-08-24 14:39:34 UTC (rev 69765) +++ Zope/branches/2.9/lib/python/OFS/Application.py 2006-08-24 15:13:43 UTC (rev 69766) @@ -428,14 +428,7 @@ 'session-delete-notify-script-path'),delnotify) delnotify=None -toc = TransientObjectContainer( -'session_data', 'Session Data Container', -addNotification = addnotify, -delNotification = delnotify, -limit=limit, -period_secs=period_spec) - -if timeout_spec is not None: +if 1: # Preserve indentation for diff toc = TransientObjectContainer('session_data', 'Session Data Container', timeout_mins = timeout_spec, ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/branches/2.10/ Merged r69765:69766 from 2.9 branch.
Log message for revision 69767: Merged r69765:69766 from 2.9 branch. Specifying session-resolution-seconds = 1200 caused Zope startup to fail. Fixes http://www.zope.org/Collectors/Zope/1983 Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/OFS/Application.py -=- Modified: Zope/branches/2.10/doc/CHANGES.txt === --- Zope/branches/2.10/doc/CHANGES.txt 2006-08-24 15:13:43 UTC (rev 69766) +++ Zope/branches/2.10/doc/CHANGES.txt 2006-08-24 15:20:56 UTC (rev 69767) @@ -8,6 +8,9 @@ Bugs fixed + - Collector #1983: Specifying session-resolution-seconds = 1200 caused +Zope startup to fail. + - Collector #2169: webdav.Resource.COPY did not send ObjectClonedEvent. Zope 2.10.0 beta 2 (2006/08/20) Modified: Zope/branches/2.10/lib/python/OFS/Application.py === --- Zope/branches/2.10/lib/python/OFS/Application.py2006-08-24 15:13:43 UTC (rev 69766) +++ Zope/branches/2.10/lib/python/OFS/Application.py2006-08-24 15:20:56 UTC (rev 69767) @@ -426,14 +426,7 @@ 'session-delete-notify-script-path' % delnotify) delnotify=None -toc = TransientObjectContainer( -'session_data', 'Session Data Container', -addNotification = addnotify, -delNotification = delnotify, -limit=limit, -period_secs=period_spec) - -if timeout_spec is not None: +if 1: # Preserve indentation for diff toc = TransientObjectContainer('session_data', 'Session Data Container', timeout_mins = timeout_spec, ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/Application.py Merged r69765:69766 from 2.9 branch.
Log message for revision 69768: Merged r69765:69766 from 2.9 branch. Specifying session-resolution-seconds = 1200 caused Zope startup to fail. Fixes http://www.zope.org/Collectors/Zope/1983 Changed: U Zope/trunk/lib/python/OFS/Application.py -=- Modified: Zope/trunk/lib/python/OFS/Application.py === --- Zope/trunk/lib/python/OFS/Application.py2006-08-24 15:20:56 UTC (rev 69767) +++ Zope/trunk/lib/python/OFS/Application.py2006-08-24 15:22:38 UTC (rev 69768) @@ -426,14 +426,7 @@ 'session-delete-notify-script-path' % delnotify) delnotify=None -toc = TransientObjectContainer( -'session_data', 'Session Data Container', -addNotification = addnotify, -delNotification = delnotify, -limit=limit, -period_secs=period_spec) - -if timeout_spec is not None: +if 1: # Preserve indentation for diff toc = TransientObjectContainer('session_data', 'Session Data Container', timeout_mins = timeout_spec, ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] SVN: Zope/branches/2.9/ Moved 'alt' property from File to Image.
Log message for revision 69770: Moved 'alt' property from File to Image. Fixes http://www.zope.org/Collectors/Zope/1907 Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/OFS/Image.py U Zope/branches/2.9/lib/python/OFS/dtml/imageView.dtml U Zope/branches/2.9/lib/python/OFS/tests/testFileAndImage.py -=- Modified: Zope/branches/2.9/doc/CHANGES.txt === --- Zope/branches/2.9/doc/CHANGES.txt 2006-08-24 15:37:50 UTC (rev 69769) +++ Zope/branches/2.9/doc/CHANGES.txt 2006-08-24 16:46:48 UTC (rev 69770) @@ -8,6 +8,8 @@ Bugs fixed + - Collector #1907: Moved 'alt' property from File to Image. + - Collector #1983: Specifying session-resolution-seconds = 1200 caused Zope startup to fail. Modified: Zope/branches/2.9/lib/python/OFS/Image.py === --- Zope/branches/2.9/lib/python/OFS/Image.py 2006-08-24 15:37:50 UTC (rev 69769) +++ Zope/branches/2.9/lib/python/OFS/Image.py 2006-08-24 16:46:48 UTC (rev 69770) @@ -77,7 +77,6 @@ precondition='' size=None -alt='' manage_editForm =DTMLFile('dtml/fileEdit',globals(), Kind='File',kind='file') @@ -115,7 +114,6 @@ _properties=({'id':'title', 'type': 'string'}, - {'id':'alt', 'type':'string'}, {'id':'content_type', 'type':'string'}, ) @@ -719,7 +717,7 @@ __implements__ = (WriteLockInterface,) meta_type='Image' - +alt='' height='' width='' @@ -738,6 +736,7 @@ ) _properties=({'id':'title', 'type': 'string'}, + {'id':'alt', 'type':'string'}, {'id':'content_type', 'type':'string','mode':'w'}, {'id':'height', 'type':'string'}, {'id':'width', 'type':'string'}, Modified: Zope/branches/2.9/lib/python/OFS/dtml/imageView.dtml === --- Zope/branches/2.9/lib/python/OFS/dtml/imageView.dtml2006-08-24 15:37:50 UTC (rev 69769) +++ Zope/branches/2.9/lib/python/OFS/dtml/imageView.dtml2006-08-24 16:46:48 UTC (rev 69770) @@ -2,10 +2,7 @@ dtml-var manage_tabs p -img src=dtml-absolute_url; dtml-if - widthwidth=dtml-width; /dtml-ifdtml-if - heightheight=dtml-height; /dtml-if - alt=dtml-title_or_id; / + dtml-var tag /p dtml-var manage_page_footer Modified: Zope/branches/2.9/lib/python/OFS/tests/testFileAndImage.py === --- Zope/branches/2.9/lib/python/OFS/tests/testFileAndImage.py 2006-08-24 15:37:50 UTC (rev 69769) +++ Zope/branches/2.9/lib/python/OFS/tests/testFileAndImage.py 2006-08-24 16:46:48 UTC (rev 69770) @@ -272,8 +272,12 @@ ('img src=http://foo/file; alt= title= height=16 width=16 /')) def testTag(self): -self.assertEqual(self.file.tag(), - ('img src=http://foo/file; alt= title= height=16 width=16 /')) +tag_fmt = 'img src=http://foo/file; alt=%s title=%s height=16 width=16 /' +self.assertEqual(self.file.tag(), (tag_fmt % ('',''))) +self.file.manage_changeProperties(title='foo') +self.assertEqual(self.file.tag(), (tag_fmt % ('','foo'))) +self.file.manage_changeProperties(alt='bar') +self.assertEqual(self.file.tag(), (tag_fmt % ('bar','foo'))) def testViewImageOrFile(self): pass # dtml method,screw it ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-dev] buildbot failure in Zope branches 2.9 2.4 Windows 2000 zc-bbwin2
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Windows 2000 zc-bbwin2. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 7257 Blamelist: Zen,alecm,ctheune,gintautasm,jim,mj,mkerrin,poster,regebro,rogerineichen,shh,srichter,whitmo BUILD FAILED: failed compile sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 7259 Blamelist: alecm,gintautasm,mj,poster,regebro,shh,whitmo BUILD FAILED: failed test sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] buildbot failure in Zope branches 2.9 2.4 Windows 2000 zc-bbwin2
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Windows 2000 zc-bbwin2. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 7261 Blamelist: shh,yusei BUILD FAILED: failed compile sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 7263 Blamelist: shh,yusei BUILD FAILED: failed test sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-PAS] plonePAS and JAX-WS
Hi All Is there any way or example how to configure plonePAS to consume a web service (in my case JAX-WS via SOAP ) in order to get user details? My main objective is to integrate our plone cms into our portal site. I managed to integrate other web apps in the environment by consuming this web service that provides the applications with the user credentials. Unfortunately I can't find any documentation how to to this with Plone/Zope. Any hints or advice would be much appreciated. Regards Serge -- _ Serge Zagorac Systems Engineer - Java Development Manukau Institute of Technology Information Communication Technology Services Private Bag 94006 Manukau City Auckland New Zealand Phone : +64 09 968 7616 Fax: +64 09 968 7641 Mobile : +64 27 568 7616 mailto:[EMAIL PROTECTED] http://www.manukau.ac.nz __ ___ Zope-PAS mailing list Zope-PAS@zope.org http://mail.zope.org/mailman/listinfo/zope-pas
[ZWeb] Re: volunteers wanted! zope foundation website as guinea pig
Chris Withers wrote: Martijn Faassen wrote: * possibly no drop-down menus at the top. We could simply have links there, or possibly a standard left-hand side navigation. This design is the top page; we need to see a sub-page design as well. I like the dropdowns ;-) Tom said he'd work on a version without dropdowns, so we'll see; I'm leaning strongly to a non-dropdown structure myself. I think a version without dropdowns might fit better in, say, a Plone site, which is interesting as we're exploring the plone.org hosting infrastructure offer as well. Regards, Martijn ___ Zope-web maillist - Zope-web@zope.org http://mail.zope.org/mailman/listinfo/zope-web
[Zope] Access Rule getUserName problem
Hello,I have this script (see below) set as an access rule for a folder. When it is run directly it prints out the correct user. But when it runs indirectly as an access rule (ie when accessing some other object in the folder, the user is always Anonymous User. I am using Zope 2.8.6-final, python 2.3.5, win32.I am using simpleuserfolder and sessioncrumbler in part of the site, but it also happens with a regular user folder and normal http authentication.Thanks request=container.REQUESTthe_user=_.SecurityGetUser().getUserName()print the_usercontext.audit_trail_sql(bigbird_user=the_user, \ request_form=request.form, \ request_url=request['ACTUAL_URL'], \ client_ip=request['REMOTE_ADDR'])return printed ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Access Rule getUserName problem
--On 24. August 2006 16:16:20 +1000 Josh Burvill [EMAIL PROTECTED] wrote: Hello, I have this script (see below) set as an access rule for a folder. When it is run directly it prints out the correct user. But when it runs indirectly as an access rule (ie when accessing some other object in the folder, the user is always Anonymous User. Authentication occurs *after* traversal. So the user will never be available within an accessrule through the traversal phase. -aj pgp5JYIajRjZq.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Zope behind iis
Philip Kilner wrote: Hi Chris, Chris Withers wrote: Personally, I'd just put Apache in front of both Zope and IIS... Me too - simpler, better documented, safer. (Having seen a server wiped out via an IIS security hole, I just don't trust it on a public IP - long time ago, but once bitten, twice shy!) Hmmm ... then try making a mistake in your apache httpd.conf and turn on proxy by mistake. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science Phone: +45 66 11 84 94 Mobile: +45 29 93 42 96 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ONE MORE TIME MAILBOXER!!!!!!!!
On Wednesday 23 August 2006 15:36, beno wrote: You're really not going to win any friends, or get any help, with this approach. Sometimes it's the only way to get past the arrogant belligerent list subscribers who choose to make miserable the lives of those of us who ask questions they consider stupid :) And it worked, didn't it? I think you are totally out of line. Both Andreas and Jens have contributed alot to the community, including being often the only ones to respond to mails on this list at all. Maybe you have a problem with their characters, but that's really your problem. They are both Germans and Germans tend to be direct and less socially soothing -- I am speaking out of experience. But that's just another part of Open Source Communities. You have to deal with mentalities and social behavior of people from all places on this planet. BTW, if you want really friendly help, pay someone to give it to you. ;-) Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] MailBoxer Question
David H wrote: hang in there beno. Would it be too rude to add preferably by the neck? ;-) Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: Zope behind iis
Hi Max, Max M wrote: (Having seen a server wiped out via an IIS security hole, I just don't trust it on a public IP - long time ago, but once bitten, twice shy!) Hmmm ... then try making a mistake in your apache httpd.conf and turn on proxy by mistake. Sure - but I'm much more worried about mistakes that others have made that I could not possibly know about. Within limits, I can do something to manage my own risk, and in any event it is my responsibility - but I don't want to buy an unquantifiable risk off someone else. -- Regards, PhilK Human language continually changes, innit. - Stephen Juan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] MailBoxer Question
Philip Kilner wrote: Hi, beno wrote: Apache duplicates 95% of what Zope's server does, so if you're only using Zope, then it's un-elegant to use Apache. Not so - Apache is a mature production web server, Zope is an application server that serves over HTTP, but it's HTTP server is *not* designed for production use. Well, all I know is that Pound has a strong following of Zopistas that use it in combination with Zope (and without Apache) for high volume production work and seem to be happy. the rewrite rules you have to throw at Apache are awkward You may think so, but they are the supported, documented solution: - http://www.plope.com/Books/2_7Edition/VirtualHosting.stx Pound is also supported :) Zope can't handle cgi scirpts That is because Zope is an application server, not a web server. Whatever, but if I don't need cgi scripts, what do I care? I find the tokens yourMailHost and yourDomain terribly unclear. I simply don't understand that. It's off topic, but here goes: - My domain is xfr.co.uk, and I have a mail host called smtp (because that is what it serves). So, the token yourMailHost refers to the mail host name and the yourDomain refers to the domain name, so to send me mail, you make an SMTP connection to smtp.xfr.co.uk. Ah! So *that's* what it meant! Thank you! beno ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] MailBoxer, Qmail and smtp2zope.py
Hi; Apparently, MailBoxer must be configured a little differently for qmail: http://www.zope.org/Members/adytumsolutions/docs/MailBoxer Following their advice, I created the following file: server167# vi /var/qmail/alias/.qmail-rejoice rejoice:| smtp2zope.py http://202.71.106.119:7080/rejoice.2012.vi/rejoice/manage_mailboxer 2 where rejoice is the name of the list, the IP and port are correct, rejoice.2012.vi is the folder and rejoice the instance of MailBoxer. Incidentally, surfing to that URL throws an error (see below). I have put a copy of smtp2zope.py here: /var/qmail/bin/smtp2zope.py Is that correct? My mailto is [EMAIL PROTECTED] where mail is the smtp and rejoice.2012.vi is the URL. I try subscribing by sending an email to that address with subscribe in the subject, but I collect it in the email box I set up for that address in vpopmail. I have also tried this without said mailbox in vpopmail, but then the email just bounces. Either way, nothing ever ends up in the maillist, nor do I ever get an email telling me I've been subscribed. What am I doing wrong? TIA, beno PS. Error from surfing to http://202.71.106.119:7080/rejoice.2012.vi/rejoice/manage_mailboxer *KeyError* Sorry, a site error occurred. Traceback (innermost last): * Module ZPublisher.Publish, line 175, in publish_module_standard * Module Products.PlacelessTranslationService.PatchStringIO, line 34, in new_publish * Module ZPublisher.Publish, line 132, in publish * Module Zope.App.startup, line 204, in zpublisher_exception_hook * Module ZPublisher.Publish, line 101, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 39, in call_object * Module Products.MailBoxer.MailBoxer, line 348, in manage_mailboxer * Module Products.MailBoxer.MailBoxer, line 661, in checkMail * Module Products.MailBoxer.MailBoxer, line 975, in getMailFromRequest * Module ZPublisher.HTTPRequest, line 1217, in __getitem__ KeyError: 'Mail' (Also, an error occurred while attempting to render the standard error message.) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] MailBoxer Question
beno wrote: Well, all I know is that Pound has a strong following of Zopistas that use it in combination with Zope (and without Apache) for high volume production work and seem to be happy. strong by who's definition? The odd numpty who asserts random statements that happen to fit themselves without any factual basis whatsoever? http://www.plope.com/Books/2_7Edition/VirtualHosting.stx Pound is also supported :) er, yeah... or something... warning: product requires intellect to operate That is because Zope is an application server, not a web server. Whatever, but if I don't need cgi scripts, what do I care? You mistake is thinking that anyone here actually cares what you care... that is what it serves). So, the token yourMailHost refers to the mail host name and the yourDomain refers to the domain name, so to send me mail, you make an SMTP connection to smtp.xfr.co.uk. Ah! So *that's* what it meant! Thank you! retard... (the last definition on http://dictionary.reference.com/search?q=retard) Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] MailBoxer, Qmail and smtp2zope.py
beno wrote: Apparently, MailBoxer must be configured a little differently for qmail: http://www.zope.org/Members/adytumsolutions/docs/MailBoxer Fuck. When will you get the picture? NO ONE CARES! /var/qmail/bin/smtp2zope.py Is that correct? This look like a qmail list to you? Any chance you could do the species a favour and find some way to remove yourself from the gene pool? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] download a file in a specific folder in the filesystem
Dears, I would to know how to download a file generated by a program outside zope. I mean, I would like to download a file via zope webserver and such a file is located outside the zope space. Since zope treats everything as a object I have know idea of how importing the link to a file inside zope space. I would thank in advance any help. Cheers, Alan -- Alan Wilter S. da Silva, D.Sc. - Research Associate Department of Biochemistry, University of Cambridge. 80 Tennis Court Road, Cambridge CB2 1GA, UK. http://www.bio.cam.ac.uk/~awd28 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] MailBoxer Question
Hi Beno, beno wrote: Well, all I know is that Pound has a strong following of Zopistas that use it in combination with Zope (and without Apache) for high volume production work and seem to be happy. Odd, then, that you have not had much input on the list about that. I can't provide numbers, but the people I speak to/work with all use Apache or Enfold. My domain is xfr.co.uk, and I have a mail host called smtp (because that is what it serves). So, the token yourMailHost refers to the mail host name and the yourDomain refers to the domain name, so to send me mail, you make an SMTP connection to smtp.xfr.co.uk. Ah! So *that's* what it meant! Thank you! I'm glad I was able to help. Since I have, can I ask you to consider the flak you have had on the list and learn from it, please? Specifically: - - The shouting (all caps, multiple exclamation marks) is likely to discourage people from helping you. - Stephan's comments about different cultures is something you need to take on board. I appreciate that your frustration combined with a certain Germanic bluntness was a fatal combination, but these guys were trying to help you and you roundly abused them. I've hard a hard time learning to fly Zope - I've been using it for over five years, but I learn more every day, and initially the learning curve was very steep and I spent a lot of time as frustrated as you have been. This list and it's relatives (DB, ZPT) got me through that, and I like to try to help where I can in return - so I like to see the list dynamics /work/. -- Regards, PhilK Human language continually changes, innit. - Stephen Juan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] download a file in a specific folder in the filesystem
If you just want the file to be downloadable from say a web page served by zope you could make an object on your zope system (say a page template) that renders a page with a link to the file you wish to make available. The file would have to accessible to your web server. On 24 Aug 2006, at 16:00, Alan wrote:Dears,I would to know how to download a file generated by a program outside zope.I mean, I would like to download a file via zope webserver and such afile is located outside the zope space. Since zope treats everythingas a object I have know idea of how "importing" the link to a fileinside zope space.I would thank in advance any help.Cheers,Alan-- Alan Wilter S. da Silva, D.Sc. - Research AssociateDepartment of Biochemistry, University of Cambridge.80 Tennis Court Road, Cambridge CB2 1GA, UK. http://www.bio.cam.ac.uk/~awd28 ___Zope maillist - Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope** No cross posts or HTML encoding! **(Related lists - http://mail.zope.org/mailman/listinfo/zope-announcehttp://mail.zope.org/mailman/listinfo/zope-dev ) Richard Phelps Senior Lecturer in Nephrology Renal Autoimmunity Group, MRC Centre for Inflammation Research, The Queen's Medical Research Institute 47 Little France Crescent Edinburgh EH16 4TJ Tel (44) 131 242 9164 Fax (44) 131 242 9168 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] MailBoxer, Qmail and smtp2zope.py
No matter how dumb he may be, its best not to heat yourself up for his cause. It's just foolish and damaging yourself, Chris. :) Beno, you have a serious problem that you still don't realise. You need to read up on many things especially on smtp and/or qmail. You mentioned that you have the experience, but many can tell you that you don't simply because you can't even solve this problem. I suggest you to read the fabulous manual. ;) KwangErn On 8/24/06, Chris Withers [EMAIL PROTECTED] wrote: beno wrote: Apparently, MailBoxer must be configured a little differently for qmail: http://www.zope.org/Members/adytumsolutions/docs/MailBoxer Fuck. When will you get the picture? NO ONE CARES! /var/qmail/bin/smtp2zope.py Is that correct? This look like a qmail list to you? Any chance you could do the species a favour and find some way to remove yourself from the gene pool? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: Re: [Zope] download a file in a specific folder in the filesystem
Hi! Thanks for your replies. But for what I want LocalFS or ExtFile sounds too much, specially because I just need to download. Either, I did not realise yet well what Richard purposed... However, I tried that: with a external method fname = os.path.join(jobdir,'results.zip') file = open(fname,'rb').read() return file but instead of having the file downloaded, it is printed in my browser, as if it was a ascii file. I guess I need to add a mime type property here, but I am running out of ideas. Any commentary would be very welcome. Cheers, Alan On 24/08/06, Richard Phelps [EMAIL PROTECTED] wrote: If you just want the file to be downloadable from say a web page served by zope you could make an object on your zope system (say a page template) that renders a page with a link to the file you wish to make available. The file would have to accessible to your web server. On 24 Aug 2006, at 16:00, Alan wrote: Dears, I would to know how to download a file generated by a program outside zope. I mean, I would like to download a file via zope webserver and such a file is located outside the zope space. Since zope treats everything as a object I have know idea of how importing the link to a file inside zope space. I would thank in advance any help. Cheers, Alan -- Alan Wilter S. da Silva, D.Sc. - Research Associate Department of Biochemistry, University of Cambridge. 80 Tennis Court Road, Cambridge CB2 1GA, UK. http://www.bio.cam.ac.uk/~awd28 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) Richard Phelps Senior Lecturer in Nephrology Renal Autoimmunity Group, MRC Centre for Inflammation Research, The Queen's Medical Research Institute 47 Little France Crescent Edinburgh EH16 4TJ Tel (44) 131 242 9164 Fax (44) 131 242 9168 -- Alan Wilter S. da Silva, D.Sc. - Research Associate Department of Biochemistry, University of Cambridge. 80 Tennis Court Road, Cambridge CB2 1GA, UK. http://www.bio.cam.ac.uk/~awd28 -- Alan Wilter S. da Silva, D.Sc. - Research Associate Department of Biochemistry, University of Cambridge. 80 Tennis Court Road, Cambridge CB2 1GA, UK. http://www.bio.cam.ac.uk/~awd28 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: Re: [Zope] download a file in a specific folder in the filesystem
- Original Message - From: Alan [EMAIL PROTECTED] To: zope@zope.org Sent: Thursday, August 24, 2006 11:52 AM Subject: Re: Re: [Zope] download a file in a specific folder in the filesystem Hi! Thanks for your replies. But for what I want LocalFS or ExtFile sounds too much, specially because I just need to download. Either, I did not realise yet well what Richard purposed... However, I tried that: with a external method fname = os.path.join(jobdir,'results.zip') file = open(fname,'rb').read() return file but instead of having the file downloaded, it is printed in my browser, as if it was a ascii file. I guess I need to add a mime type property here, but I am running out of ideas. Try googling: response.setheader content-type response.setheader content-disposition Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: Re: [Zope] download a file in a specific folder in the filesystem
At Thursday 24/8/2006 12:52, Alan wrote: But for what I want LocalFS or ExtFile sounds too much, specially because I just need to download. Either, I did not realise yet well what Richard purposed... However, I tried that: with a external method fname = os.path.join(jobdir,'results.zip') file = open(fname,'rb').read() return file but instead of having the file downloaded, it is printed in my browser, as if it was a ascii file. I guess I need to add a mime type property here, but I am running out of ideas. Exactly. Something like: REQUEST.RESPONSE.setHeader('Content-Type', 'application/zip-compressed') (uhm, not sure of the right spelling) And return the file object, not its contents. The publisher takes care of sending it on chunks if needed. Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: Re: Re: [Zope] download a file in a specific folder in the filesystem
Thanks a lot guys, it's working fine. elif (func == 'Download'): fname = os.path.join(jobdir,'results.zip') file = open(fname,'rb').read() self.REQUEST.RESPONSE.setHeader('Content-Type', 'application/zip') return file Cheers, Alan On 24/08/06, Gabriel Genellina [EMAIL PROTECTED] wrote: At Thursday 24/8/2006 12:52, Alan wrote: But for what I want LocalFS or ExtFile sounds too much, specially because I just need to download. Either, I did not realise yet well what Richard purposed... However, I tried that: with a external method fname = os.path.join(jobdir,'results.zip') file = open(fname,'rb').read() return file but instead of having the file downloaded, it is printed in my browser, as if it was a ascii file. I guess I need to add a mime type property here, but I am running out of ideas. Exactly. Something like: REQUEST.RESPONSE.setHeader('Content-Type', 'application/zip-compressed') (uhm, not sure of the right spelling) And return the file object, not its contents. The publisher takes care of sending it on chunks if needed. Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas -- Alan Wilter S. da Silva, D.Sc. - Research Associate Department of Biochemistry, University of Cambridge. 80 Tennis Court Road, Cambridge CB2 1GA, UK. http://www.bio.cam.ac.uk/~awd28 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: Re: Re: [Zope] download a file in a specific folder in the filesystem
At Thursday 24/8/2006 13:55, Alan wrote: Thanks a lot guys, it's working fine. elif (func == 'Download'): fname = os.path.join(jobdir,'results.zip') file = open(fname,'rb').read() self.REQUEST.RESPONSE.setHeader('Content-Type', 'application/zip') return file Better use 'application/x-zip-compressed' and perhaps: REQUEST.RESPONSE.setHeader('Content-Disposition', 'attachment; filename=suggested-filename.zip') Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )