[Zope-Annce] Vancouver Python Workshop - Talk submission reminder
What's New? === The deadline for submitting a talk or tutorial for the Vancouver Python Workshop is fast approaching. Talks will be accepted until Friday June 16th. To submit a talk, see: http://www.vanpyz.org/conference/talksubmission.html About the Vancouver Python Workshop === The conference will begin with keynote addresses on August 4st by Guido van Rossum [1], Jim Hugunin [2], and Ian Cavén [3]. Further talks (and tutorials for beginners) will take place on August 5th and 6th. The Vancouver Python Workshop is a community organized and designed for both the beginner and for the experienced Python programmer with: * tutorials for beginning programmers * advanced lectures for Python experts * case studies of Python in action * after-hours social events * informative keynote speakers * tracks on multimedia, Web development, education and more More information see: http://www.vanpyz.org/conference/ or contact Brian Quinlan at: [EMAIL PROTECTED] Vancouver = In addition to the opportunity to learn and socialize with fellow Pythonistas, the Vancouver Python Workshop also gives visitors the opportunity to visit one of the most extraordinary cities in the world [4]. For more information about traveling to Vancouver, see: http://www.vanpyz.org/conference/vancouver.html http://www.tourismvancouver.com http://en.wikipedia.org/wiki/Vancouver Important dates === Talk proposals accepted: May 15th to June 15th Early registration (discounted): May 22nd to June 30th Normal registration: from July 1st Keynotes: August 4th Conference and tutorial dates: August 5th and 6th [1] Guido van Rossum (Google) is the inventor of Python and has managed its growth and development for more than a decade. Guido was awarded the Free Software Foundation Award in 2002 and Dr.Dobb's 1999 Excellence in Programming Award. Guido works at Google and spends half of his time on Python. [2] Jim Hugunin (Microsoft) is the creator of numerous innovations that take Python into new application domains. Jim's most recent project, IronPython integrates Python into Microsoft's .NET runtime. Jim's previous project, Jython is Python for the Java runtime and was the second production-quality implementation of Python. Before that, Jim's Numeric Python adapted Python to the needs of number crunching applications. Jim works at Microsoft adapting the .NET runtime to the needs of dynamic languages like Python. [3] Ian Cavén is the primary developer of the Lowry Digital Images motion picture restoration system. This Python and Zope-based system has been used to restore over 150 motion pictures. Highlights include Citizen Kane, Sunset Boulevard and both the Indiana Jones and Star Wars trilogies. While Ian was Chief Scientist at Lowry Digital, his rack of computers grew from a few Macintoshes on his desktop to over six hundred Macintosh and Linux servers - at one point earning Lowry the title as the second biggest installation of parallel processing Maintoshes in the world. In 2005, Lowry Digital Images was acquired by DTS (the famous movie audio company) and renamed DTS Digital Images. The motion picture restoration system has been discussed in publications as diverse as IEEE Spectrum, USA Today, the BBC NEWS, the New York Times and Apple.com. Ian has been a Python enthusiast since 1999. [4] http://news.bbc.co.uk/2/hi/business/2299119.stm Cheers, Brian ___ 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-Annce] Fredericksburg, VA ZPUG reminder: Wed., June 14
Hi all. Don't forget tomorrow's ZPUG meeting. If you plan to attend, an email to me tonight or tomorrow morning would be appreciated, but is not necessary. - Chris McDonough will talk about meld3, a Python HTML/XML templating system in the spirit of PyMeld and other 'push-based' templating systems. (http://www.plope.com/software/meld3). - Tres Seaver will present Using memcached in Python and Zope, including a demo of using his 'mcdutils' product to do shared session management in Zope. - good snacks. Thanks! Gary ___ 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: Zope/trunk/releases/Zope2.map removed zLOG
Log message for revision 68611: removed zLOG Changed: U Zope/trunk/releases/Zope2.map -=- Modified: Zope/trunk/releases/Zope2.map === --- Zope/trunk/releases/Zope2.map 2006-06-13 10:40:45 UTC (rev 68610) +++ Zope/trunk/releases/Zope2.map 2006-06-13 10:41:06 UTC (rev 68611) @@ -66,7 +66,6 @@ tempstorage ../lib/python/tempstorage webdav../lib/python/webdav zExceptions ../lib/python/zExceptions -zLOG ../lib/python/zLOG mechanize ../lib/python/mechanize ClientCookie ../lib/python/ClientCookie pullparser../lib/python/pullparser.py ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
Re: [Zope-dev] Re: OFS.Application deprecations for Zope 2.10
Chris McDonough wrote: view, but this wouldn't work for non-URL lookups. So people who use 'methods' now will need to monkeypatch in hideous ways just like the 'methods' stuff does now, in which case why not leave it? Am I right as reading this as someone else who feels why are we deprecating this just for the sake of it? ? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ 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] Re: OFS.Application deprecations for Zope 2.10
Chris Withers wrote: Chris McDonough wrote: view, but this wouldn't work for non-URL lookups. So people who use 'methods' now will need to monkeypatch in hideous ways just like the 'methods' stuff does now, in which case why not leave it? Am I right as reading this as someone else who feels why are we deprecating this just for the sake of it? ? If you need monkey patching I don't see why the framework should help you. This should be extremely rare occurences with big comments, not use of a magic 'methods' class attribute. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ 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] How do I get involved in volunteering?
I am interested in volunteering, but I am somewhat lost. And I say that even though I have been developing in Zope for years, and reading this email list avidly for a year. I think that I am going to go and buy and read the Zope 3 book. Beyond that I do not know what to do. The problem is that I have no idea what direction Zope 2 is taking. Although I have poked around on the web, I do not get Zope 3. The Zope 3 class seems a bit expensive, for those of us who are self-unemployed and who want to volunteer on Zope 2. I would love to read an architectural document, if it exists. If not maybe I could write it. It would start off by describing the different target markets and competing products. It would then define the requirements for those target markets, and it would finish by describing the architecture for zope 2 and 3 that meets those target markets. Of course that is the reverse of how it actually happened, but it sure makes a good story. I even think that in the process of creating such a high level view of this industry, I might come up with an additional market or two, and an additional architecture for Zope n to meet the requirements for that market. For example, I know that I like ZClasses and versionning, and they are not part of the plan. Then I could figure out how Zope development figures in with my product plans, and could figure out the best place to apply my energies. Maybe there is a internal group of zope 2 developers who have these conversations and who know which way things are going. Maybe no one knows, and as changes get delivered, they get approved. I am not even sure who is in charge of approving the cvs changes, and who is allowed to contribute to the cvs. Is there a list of the annointed high priests somewhere? Who annoints the approved code? Maybe there is a trade show where all the key players show up once a year. I think in the Plone world, at least there are the two key players, and then the board, so there is some visible structure. In the Zope world it is not so clear. So here are my questions. How does one get involved?Who is in charge? Who approves cvs submissions? What is the target architecture? What are the target markets? Regards Chris ___ 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 )
Re: [Zope-dev] How do I get involved in volunteering?
On Tue, Jun 13, 2006 at 11:15:12AM -0700, Christopher Lozinski wrote: Maybe there is a trade show where all the key players show up once a year. A lot of people come to pycon and the europython conference. I think in the Plone world, at least there are the two key players, and then the board, so there is some visible structure. In the Zope world it is not so clear. google for zope foundation. So here are my questions. How does one get involved? http://www.z3lab.org/sections/blogs/philipp-weitershausen/2006_06_07_join-zope-foundation-now Who is in charge? Jim is still the Zope Pope. Who approves cvs submissions? Nobody / everybody. i.e. there's no formal process, but people often complain about checkins they disagree with. It's generally resolved informally and amicably. -- Paul Winkler http://www.slinkp.com ___ 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 )
Re: [Zope-dev] Re: OFS.Application deprecations for Zope 2.10
On 14 Jun 2006, at 00:45, Chris McDonough wrote: On Jun 13, 2006, at 4:13 PM, Florent Guillaume wrote: Yes but the deprecation has been there for a while, and the third party product developers have been ignoring the warning. Their loss. You're right. This only because I haven't managed to get off 2.8 on any of my projects, so I just never see these warnings. The reason I haven't been able to make it off 2.8 is due mostly to other deprecation/feature addition aggressiveness that has taken place in 2.9 and on the HEAD. Us plain old folks just can't keep up. I really wouldn't at all mind releasing a patched EE if the thing being deprecated was worth deprecating. But IMO this was a bad deprecation, and we should just un-deprecate it. FWIW I patched EE's trunk on svn.zope.org. If we don't remove things at some point, there's no point in doing deprecation warnings. I think the deprecation shouldn't have been done in the first place. This is only about methods not about __ac_permissions__ and so on that have warnings in the file. We can push it back to Zope 2.11... Actually I really don't care, I've patched EE. Or we can just pretend we never deprecated 'methods', remove the warning, and get on with it; no harm, no foul. Then the framework never gets cleaned up. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ 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 )
Re: [Zope-dev] Re: OFS.Application deprecations for Zope 2.10
FWIW I patched EE's trunk on svn.zope.org. Thanks. Or we can just pretend we never deprecated 'methods', remove the warning, and get on with it; no harm, no foul. Then the framework never gets cleaned up. So be it. This is really minor. Not deprecating it is the right thing, and I won't even qualify that with a IMO ;-) - C ___ 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] filter messages at startup
hello,is it possible to filter messages at zope startup/debug, as we can do with logs ?thanksthomas ___ 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] filter messages at startup
--On 13. Juni 2006 11:28:51 +0200 thomas desvenain [EMAIL PROTECTED] wrote: hello, is it possible to filter messages at zope startup/debug, as we can do with logs ? What does that mean? What is the usecase? -aj -- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope Plone development, Consulting pgp39QT9yeDDH.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] error runing zope after installation
Hi list,I just read previous thread error: must supply either home or prefix/exec-prefix -- not both, so i compiled Python-2.4.3 and then installed Zope-2.9.2 successfully. I created a zope instance. When i tried to run it, i got this message:Traceback (most recent call last): File /opt/Zope-2.9.2/lib/python/Zope2/Startup/zopectl.py, line 316, in ? main() File /opt/Zope-2.9.2/lib/python/Zope2/Startup/zopectl.py, line 274, in main options.realize(args) File /opt/Zope-2.9.2/lib/python/Zope2/Startup/zopectl.py, line 91, in realize ZDOptions.realize(self, *args, **kw) File /opt/Zope-2.9.2//lib/python/zdaemon/zdoptions.py, line 273, in realize self.load_schema() File /opt/Zope-2.9.2//lib/python/zdaemon/zdoptions.py, line 321, in load_schema self.schema = ZConfig.loadSchema(self.schemafile) File /opt/Zope-2.9.2//lib/python/ZConfig/loader.py, line 31, in loadSchema return SchemaLoader().loadURL(url) File /opt/Zope-2.9.2//lib/python/ZConfig/loader.py, line 65, in loadURL return self.loadResource(r) File /opt/Zope-2.9.2//lib/python/ZConfig/loader.py, line 159, in loadResource schema = ZConfig.schema.parseResource(resource, self) File /opt/Zope-2.9.2//lib/python/ZConfig/schema.py, line 27, in parseResource xml.sax.parse(resource.file, parser) File /usr/local/lib/python2.4/xml/sax/__init__.py, line 33, in parse parser.parse(source) File /usr/local/lib/python2.4/xml/sax/expatreader.py, line 107, in parse xmlreader.IncrementalParser.parse(self, source) File /usr/local/lib/python2.4/xml/sax/xmlreader.py, line 123, in parse self.feed(buffer) File /usr/local/lib/python2.4/xml/sax/expatreader.py, line 207, in feed self._parser.Parse(data, isFinal) File /usr/local/lib/python2.4/xml/sax/expatreader.py, line 300, in start_element self._cont_handler.startElement(name, AttributesImpl(attrs)) File /opt/Zope-2.9.2//lib/python/ZConfig/schema.py, line 99, in startElement getattr(self, start_ + name)(attrs) File /opt/Zope-2.9.2//lib/python/ZConfig/schema.py, line 475, in start_schema keytype, valuetype, datatype = self.get_sect_typeinfo(attrs) File /opt/Zope-2.9.2//lib/python/ZConfig/schema.py, line 201, in get_sect_typeinfo datatype = self.get_datatype(attrs, datatype, null, base) File /opt/Zope-2.9.2//lib/python/ZConfig/schema.py, line 194, in get_datatype return self._registry.get(dtname) File /opt/Zope-2.9.2//lib/python/ZConfig/datatypes.py, line 398, in get t = self.search(name) File /opt/Zope-2.9.2//lib/python/ZConfig/datatypes.py, line 423, in search package = __import__(n, g, g, component) File /opt/Zope-2.9.2//lib/python/Zope2/Startup/datatypes.py, line 20, in ? from ZODB.config import ZODBDatabase File /opt/Zope-2.9.2//lib/python/ZODB/__init__.py, line 20, in ? from persistent import TimeStamp File /opt/Zope-2.9.2//lib/python/persistent/__init__.py, line 19, in ? from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKYImportError: /opt/Zope- 2.9.2/lib/python/persistent/cPersistence.so: undefined symbol: PyUnicodeUCS4_AsEncodedStringCan anyone tell me what's wrong and figure out the solution?Regards,Adinda P ___ 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: GenericSetup examples?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: yuppie wrote: - how would I compare the current configuration with what's on disk without creating a snapshot? - how can I synch just one python script or page template with what's on disk? Sorry. Both use cases are not supported. OK, I guess I might come up with another tool that _just_ supports syncing python scripts and page templates to disk but without the need for the massive skins tool hammer. Nothing says you can't use the framework without the tool. See for instance my CMFFolderExportImport product, which uses the content-space adapters to drive per-item dump / reload: http://palladion.com/home/tseaver/software/CMFFolderExport Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEjpzP+gerLs4ltQ4RAgPTAKC7y2CY1gi2DSsaL8NnfyPHHOjpKwCfULLr qHGB6FtTTNfTynG8VQ+FrX0= =B0a7 -END 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: error runing zope after installation
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adinda Praditya wrote: Hi list, I just read previous thread error: must supply either home or prefix/exec-prefix -- not bothhttp://mail.zope.org/pipermail/zope/2006-April/166098.html, so i compiled Python-2.4.3 and then installed Zope-2.9.2 successfully. I created a zope instance. When i tried to run it, i got this message: Traceback (most recent call last): File /opt/Zope-2.9.2/lib/python/Zope2/Startup/zopectl.py, line 316, in ? main() File /opt/Zope-2.9.2/lib/python/Zope2/Startup/zopectl.py, line 274, in main options.realize(args) File /opt/Zope-2.9.2/lib/python/Zope2/Startup/zopectl.py, line 91, in realize ZDOptions.realize(self, *args, **kw) File /opt/Zope-2.9.2//lib/python/zdaemon/zdoptions.py, line 273, in realize self.load_schema() File /opt/Zope-2.9.2//lib/python/zdaemon/zdoptions.py, line 321, in load_schema self.schema = ZConfig.loadSchema(self.schemafile) File /opt/Zope-2.9.2//lib/python/ZConfig/loader.py, line 31, in loadSchema return SchemaLoader().loadURL(url) File /opt/Zope-2.9.2//lib/python/ZConfig/loader.py, line 65, in loadURL return self.loadResource(r) File /opt/Zope-2.9.2//lib/python/ZConfig/loader.py, line 159, in loadResource schema = ZConfig.schema.parseResource(resource, self) File /opt/Zope-2.9.2//lib/python/ZConfig/schema.py, line 27, in parseResource xml.sax.parse(resource.file, parser) File /usr/local/lib/python2.4/xml/sax/__init__.py, line 33, in parse parser.parse(source) File /usr/local/lib/python2.4/xml/sax/expatreader.py, line 107, in parse xmlreader.IncrementalParser.parse(self, source) File /usr/local/lib/python2.4/xml/sax/xmlreader.py, line 123, in parse self.feed(buffer) File /usr/local/lib/python2.4/xml/sax/expatreader.py, line 207, in feed self._parser.Parse(data, isFinal) File /usr/local/lib/python2.4/xml/sax/expatreader.py, line 300, in start_element self._cont_handler.startElement(name, AttributesImpl(attrs)) File /opt/Zope-2.9.2//lib/python/ZConfig/schema.py, line 99, in startElement getattr(self, start_ + name)(attrs) File /opt/Zope-2.9.2//lib/python/ZConfig/schema.py, line 475, in start_schema keytype, valuetype, datatype = self.get_sect_typeinfo(attrs) File /opt/Zope-2.9.2//lib/python/ZConfig/schema.py, line 201, in get_sect_typeinfo datatype = self.get_datatype(attrs, datatype, null, base) File /opt/Zope-2.9.2//lib/python/ZConfig/schema.py, line 194, in get_datatype return self._registry.get(dtname) File /opt/Zope-2.9.2//lib/python/ZConfig/datatypes.py, line 398, in get t = self.search(name) File /opt/Zope-2.9.2//lib/python/ZConfig/datatypes.py, line 423, in search package = __import__(n, g, g, component) File /opt/Zope-2.9.2//lib/python/Zope2/Startup/datatypes.py, line 20, in ? from ZODB.config import ZODBDatabase File /opt/Zope-2.9.2//lib/python/ZODB/__init__.py, line 20, in ? from persistent import TimeStamp File /opt/Zope-2.9.2//lib/python/persistent/__init__.py, line 19, in ? from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY ImportError: /opt/Zope-2.9.2/lib/python/persistent/cPersistence.so: undefined symbol: PyUnicodeUCS4_AsEncodedString Can anyone tell me what's wrong and figure out the solution? You need to run Zope with the same Python as you compiled it with; in this case, it looks as though the Python you compiled with uses UCS4 for unicode, but the one you are running with uses UCS2. You can pass the preferred Python to 'configure', e.g.: $ cd /tmp/Zope-2.9.2 $ make clobber $ ./configure --with-python=/path/to/python2.4 \ --prefix=/opt/Zope-2.9.2 make make install Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEjp2d+gerLs4ltQ4RArXHAKCWi7OlaUrnWhECJ5MQJPOhPSfgHwCfaDgV qRHk5i+JG6ZirWQOsCAT4yY= =kecR -END 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 )
Re: [Zope] filter messages at startup
i mean i would like to filter warning/error messages that appears in console when starting zope server or debuggerin order to ignore those i'm not interested with for the momentfor instance :[EMAIL PROTECTED] tests]# /zope/test/bin/zopectl debugStarting debugger (the name app is bound to the top-level Zope object)2006-06-13 13:48:34 WARNING Init Class Products.CMFCore.PortalContent.PortalContent has a security declaration for nonexistent method 'manage_FTPget' 2006-06-13 13:48:34 WARNING Init Class Products.CMFCore.PortalContent.PortalContent has a security declaration for nonexistent method 'manage_FTPget'etc2006/6/13, Andreas Jung [EMAIL PROTECTED]:--On 13. Juni 2006 11:28:51 +0200 thomas desvenain [EMAIL PROTECTED] wrote: hello, is it possible to filter messages at zope startup/debug, as we can do with logs ? What does that mean? What is the usecase?-aj--ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - GermanyWeb: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376E-Publishing, Python, Zope Plone development, Consulting ___ 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: filter messages at startup
Florent Guillaume wrote: thomas desvenain wrote: i mean i would like to filter warning/error messages that appears in console when starting zope server or debugger in order to ignore those i'm not interested with for the moment for instance : [EMAIL PROTECTED] tests]# /zope/test/bin/zopectl debug Starting debugger (the name app is bound to the top-level Zope object) 2006-06-13 13:48:34 WARNING Init Class Products.CMFCore.PortalContent.PortalContent has a security declaration for nonexistent method 'manage_FTPget' 2006-06-13 13:48:34 WARNING Init Class Products.CMFCore.PortalContent.PortalContent has a security declaration for nonexistent method 'manage_FTPget' etc Not out of the box. But these warnings are symptoms of a problem: you should really upgrade CMF though, which fixes those. Florent I get these messages on fields too, under Five for zope3 classes: 2006-06-13 17:49:52 WARNING Init Class cpsskins.standard.ds.html.HTML has a security declaration for nonexistent method 'html' with: class IHTML(Interface): Plain HTML html = TextLine( title=_(uHTML), description=_(uPlain HTML content.), required=False, ) class HTML(object): Plain HTML content implements(IHTML) it seems that zope2 believes that these are methods. /JM ___ 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: filter messages at startup
On Jun 13, 2006, at 11:05 AM, Florent Guillaume wrote: thomas desvenain wrote: i mean i would like to filter warning/error messages that appears in console when starting zope server or debugger in order to ignore those i'm not interested with for the moment for instance : [EMAIL PROTECTED] tests]# /zope/test/bin/zopectl debug Starting debugger (the name app is bound to the top-level Zope object) 2006-06-13 13:48:34 WARNING Init Class Products.CMFCore.PortalContent.PortalContent has a security declaration for nonexistent method 'manage_FTPget' 2006-06-13 13:48:34 WARNING Init Class Products.CMFCore.PortalContent.PortalContent has a security declaration for nonexistent method 'manage_FTPget' etc Not out of the box. Actually, there is a way, but it's a bit heavy-handed and imprecise. In zope.conf, do (untested): warnfilter action ignore message .*has a security declaration for.* /warnfilter Here's the ZConfig schema description of the warnfilter element: multisection type=warnfilter attribute=warnfilters name=* dataype=zLOG.warn_filter_handler !-- from zLOG -- description A multisection which allows a user to set up a Python warning filter. The following keys are valid within a warnfilter section: action: one of the following strings: error turn matching warnings into exceptions ignore never print matching warnings always always print matching warnings default print the first occurrence of matching warnings for each location where the warning is issued module print the first occurrence of matching warnings for each module where the warning is issued onceprint only the first occurrence of matching warnings, regardless of location message: a string containing a regular expression that the warning message must match (the match is compiled to always be case-insensitive) category: a Python dotted-path classname (must be a subclass of Warning) of which the warning category must be a subclass in order to match module: a string containing a regular expression that the module name must match (the match is compiled to be case-sensitive) lineno: an integer that the line number where the warning occurred must match, or 0 to match all line numbers /description /multisection - C ___ 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: filter messages at startup
Indeed they are logging.getLogger(Init) calls (from App/ class_init.py). Why change that? They're perfectly fine in the event log. Florent On 13 Jun 2006, at 23:08, Chris McDonough wrote: Not out of the box. Egads, I think you're right. These aren't actual warnings, are they? They're log calls. That should be changed. - C [EMAIL PROTECTED] tests]# /zope/test/bin/zopectl debug Starting debugger (the name app is bound to the top-level Zope object) 2006-06-13 13:48:34 WARNING Init Class Products.CMFCore.PortalContent.PortalContent has a security declaration for nonexistent method 'manage_FTPget' 2006-06-13 13:48:34 WARNING Init Class Products.CMFCore.PortalContent.PortalContent has a security declaration for nonexistent method 'manage_FTPget' -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ 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: filter messages at startup
I suppose a log call is fine. I *really* like these messages, because they catch a lot of my own boneheaded security declaration errors. But for ones that aren't actually real problems (like the ones shown by the OP), it would be nice to be able to filter them away at startup, especially when starting in the foreground or running zopectl debug or zopectl test. Making these into actual warnings.warn calls would let us do that with a warnfilter, but any other solution would be fine as well. - C On Jun 13, 2006, at 5:18 PM, Florent Guillaume wrote: Indeed they are logging.getLogger(Init) calls (from App/ class_init.py). Why change that? They're perfectly fine in the event log. Florent On 13 Jun 2006, at 23:08, Chris McDonough wrote: Not out of the box. Egads, I think you're right. These aren't actual warnings, are they? They're log calls. That should be changed. - C [EMAIL PROTECTED] tests]# /zope/test/bin/zopectl debug Starting debugger (the name app is bound to the top-level Zope object) 2006-06-13 13:48:34 WARNING Init Class Products.CMFCore.PortalContent.PortalContent has a security declaration for nonexistent method 'manage_FTPget' 2006-06-13 13:48:34 WARNING Init Class Products.CMFCore.PortalContent.PortalContent has a security declaration for nonexistent method 'manage_FTPget' -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ 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] Ajax Upload
Hi all! I try to use script.aculo.us library to create an AJAX website My question will be: Did you created any AJAX website with Zope and file upload? How? Thanks a lot an sorry if this question is an off-topic -- Mis Cosas http://blogs.sistes.net/Garito/ ___ 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] Ajax Upload
--On 14. Juni 2006 00:57:47 +0200 Garito [EMAIL PROTECTED] wrote: Hi all! I try to use script.aculo.us library to create an AJAX website My question will be: Did you created any AJAX website with Zope and file upload? How? Thanks a lot an sorry if this question is an off-topic Not off-topic but totally unrelated. Ajax is client-side thing and file uploads are handled on the server. Both are common used techniques in the Zope country...what is your *real* problem? Please don't post any metq questions like has anybody done xxx - the answer is usually YES. Being more specific would be helpful. Thanks, Andreas pgpG1tYdHCMpr.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 )