Re: [Zope] tal:attributes and extra newline

2005-04-18 Thread Fred Drake
On 4/18/05, Pascal Peregrina [EMAIL PROTECTED] wrote: So, just to know, why is the default value 60 ? I think just because Guido wrote it that way. I don't know that there's anything special about the value. -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Zope Corporation

Re: [Zope] [ANN] Zope 2.8.0 released

2005-06-11 Thread Fred Drake
On 6/11/05, Andreas Jung [EMAIL PROTECTED] wrote: Jim Fulton, Christian Theune, Tim Peters, Fred Drake Jr., Marc Hammond, Sidnei da Silva, Tres Seaver, Stefan Holek, Chris McDonough, Don't forget that Andreas Jung character! This wouldn't have happened without his persistence and dedication

Re: [Zope] ZPT code sample

2005-06-21 Thread Fred Drake
On 6/21/05, John Poltorak [EMAIL PROTECTED] wrote: Is there anything wrong with this ZPT code sample? http://www.zopemag.com/Issue003/Section_Articles/article_ZPTintro_code.html I get this error message when trying to save it:- HTMLParser.HTMLParseError: malformed start tag, at line 8,

Re: [Zope] python question

2005-07-01 Thread Fred Drake
On 7/1/05, Jürgen Herrmann [EMAIL PROTECTED] wrote: i think there should be no functional difference in the two code snippets below, but is there any difference in performance? Don't know, and don't care; these are (at the Python level) functionally different. (i know, the except

Re: [Zope] tal:attributes question

2005-07-22 Thread Fred Drake
On 7/22/05, Erik Myllymaki [EMAIL PROTECTED] wrote: I am trying to set the bgcolor of a page based on the existance of a variable. Neither of these seem to work: body tal:attributes=bgcolor python:test(hasattr(options, 'error'), 'red', 'green') Try this: body

Re: [Zope] Error Type: ExpatError

2005-10-12 Thread Fred Drake
On 10/12/05, Garito [EMAIL PROTECTED] wrote: Alan Milligan escribió: ... You do realise that pyexpat has a limitation of 8192 bytes between xml tags - if your parse string is longer than this, it will fail. You can recompile your expat parser to accept larger sizes, but this drastically

Re: [Zope] Error Type: ExpatError

2005-10-12 Thread Fred Drake
On 10/12/05, Garito [EMAIL PROTECTED] wrote: Alan Milligan escribió: You do realise that pyexpat has a limitation of 8192 bytes between xml tags - if your parse string is longer than this, it will fail. You can recompile your expat parser to accept larger sizes, but this drastically affects

Re: [Zope] Error Type: ExpatError

2005-10-12 Thread Fred Drake
On 10/12/05, Alan Milligan [EMAIL PROTECTED] wrote: I discovered this a couple of years ago wondering why RedHat's up2date XML-RPC client didn't wrap download files in base64 tags. They've actually done some strange stuff in this client to use normal http calls to download RPM packages.

Re: [Zope] Error Type: ExpatError

2005-10-12 Thread Fred Drake
On 10/12/05, Tino Wildenhain [EMAIL PROTECTED] wrote: Err. Whats wrong with HTTP to transfer files? (Provided its not XML-RPC ;) Sorry; I was being facetious. -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Society attacks early, when the individual is helpless. --B.F. Skinner

Re: [Zope] Error Type: ExpatError

2005-10-12 Thread Fred Drake
On 10/12/05, Alan Milligan [EMAIL PROTECTED] wrote: And you are allowed to be. It is a bit strange in an XML-RPC dialog to drop out to http occasionally ... Actually, I'd expect large files over XML-RPC to be handled by sending a URL, and have the client GET the file separately. But then, I

Re: [Zope] Error Type: ExpatError

2005-10-12 Thread Fred Drake
On 10/12/05, Garito [EMAIL PROTECTED] wrote: I run your test but no error was raised Right. I attach an xml file like I use and who raise the error, perhaps these could help to reproduce the error If you replaced SAMPLE_TEXT in the test script with this data, an error would indeed be raised,

Re: [Zope] Error Type: ExpatError

2005-10-12 Thread Fred Drake
On 10/12/05, Garito [EMAIL PROTECTED] wrote: What do you need? In this bit of code: Module Products.Yanged.SitioYanged, line 268, in ObtenerNodo 266 | 267 | if 'NodoRaiz' not in args: 268| args['NodoRaiz'] = parseString(self.Dame({'nombre': self.getId() +

Re: [Zope] Error Type: ExpatError

2005-10-13 Thread Fred Drake
On 10/13/05, Garito [EMAIL PROTECTED] wrote: self.Dame({'nombre': self.getId() + '.mm'}) Dame is a function that returns a ZCatalog query where nombre is an index ... This File object returns the text of the last attachment I send you some mails ago The index_html() method returns the

Re: [Zope] [OT] ParsedXML dev mail list

2005-10-21 Thread Fred Drake
On 10/21/05, Chris Withers [EMAIL PROTECTED] wrote: Garito wrote: Sorry for the off topic but I try to subscribe to ParsedXML dev mail list but I can't (mail list doesn't exists) Doesn't look like it. Is ParsedXML an Infrae or a Zope Corp product? You could always try asking about your

Re: [Zope] Re: Linux/unix preferences question

2005-10-24 Thread Fred Drake
On 10/24/05, Gary Kahn [EMAIL PROTECTED] wrote: I will take a good look at ubuntu before deciding. I am also considering KRUDserver. http://www.tummy.com/Products/krudserver/ Many of us at Zope Corp develop on Ubuntu and MacOSX. I think all of our commercial hosting runs on Centos, so

Re: [Zope] Re: Filesystem Page Template lowercase-ifying all my tags

2005-10-26 Thread Fred Drake
On 10/26/05, Floyd May [EMAIL PROTECTED] wrote: It appears as though this problem is due to the content-type being set inappropriately (probably text/html). I'm attempting to render XML, but each of the templates only contains a piece of my final output XML file; therefore, I don't have the

Re: [Zope] Retrieve zope.conf path

2006-01-13 Thread Fred Drake
On 1/13/06, Gabriel Genellina [EMAIL PROTECTED] wrote: How could I retrieve the path to the config file used to start a running instance? I want to put other config stuff in the same directory, and I would like a safe way to obtain such directory. I could use INSTANCE_HOME/etc but since the

Re: [Zope] Using property() function in Zope 2.8

2006-07-06 Thread Fred Drake
On 7/6/06, Max M [EMAIL PROTECTED] wrote: This code below works in plain Python. But when I add them to my zope class, and run the tester() method I get an Attributer Error: __ac_local_roles__ Descriptors in general are not guarantteed to work on old-style classes. Your PropTest class

Re: [Zope] Using property() function in Zope 2.8

2006-07-06 Thread Fred Drake
On 7/6/06, Max M [EMAIL PROTECTED] wrote: There is a lot of things missing for brevity. It is an archetypes based class, and all kinds of interesting stuff is happening in that stack. Ok, well, I don't know archetypes myself; hopefully someone with more specific knowledge of that can help.

Re: [Zope] Re: Using property() function in Zope 2.8

2006-07-06 Thread Fred Drake
On 7/6/06, Rob Miller [EMAIL PROTECTED] wrote: it's not an answer to your original question (i have nothing to add to what fred already replied) but TeamSpace solves this by using a ComputedAttribute instead of a property for the dynamic local roles. Yeah, I forgot all about ComputedAttribute.

Re: [Zope] zope 3 invisibility

2006-09-05 Thread Fred Drake
On 9/5/06, Carlos de la Guardia [EMAIL PROTECTED] wrote: I frequently blog about Zope, and recently posted a list of 10 reasons why I think Zope 3 is kind of invisible to the Python community (see my blog at http://blog.delaguardia.com.mx ). One of the things that I talk about in that post is

Re: [Zope] How to create a new TAL statement?

2006-10-28 Thread Fred Drake
On 10/28/06, Garito [EMAIL PROTECTED] wrote: Did you read my last thread? I didn't, only the message that started this thread. It left me confused. I'm talking about tal:anything tal:yanged=/foo/bar / not tal:yanged tal:replace=/foo/bar / What I need is control the expression far away from

Re: [Zope] Setting filename of files to be downloaded

2006-11-06 Thread Fred Drake
On 11/6/06, Ulla Theiss [EMAIL PROTECTED] wrote: The Problem is, that the file to be downloaded always is called displayFile. According the the content-type it is sometimes called displayFile.pdf, displayFile.txt, displayFile.tif, etc. You can use the Content-Disposition header to mark the

Re: [Zope-dev] Re: [Zope] Re: [Warning] Zope 3 component architecture (CA) not reliably usable for registrations from Python

2007-01-10 Thread Fred Drake
On 1/10/07, Dieter Maurer [EMAIL PROTECTED] wrote: *It* must be informed whenever it is used in a different thread. Perhaps it could use some thread-local data to keep track of this? threading.local comes to mind. -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Every sin is the result

Re: [Zope] Z2.log

2008-01-30 Thread Fred Drake
On Jan 30, 2008 12:17 PM, Tom Von Lahndorff [EMAIL PROTECTED] wrote: Also, is max-bytes supported for logfiles in zope.conf? max-bytes is supported as of ZConfig 2.5. I'm not sure what version of ZConfig is currently being used with Zope 2, but would be surprised if it weren't possible to use

Re: [Zope] Z2.log

2008-01-30 Thread Fred Drake
On Jan 30, 2008 12:32 PM, Tom Von Lahndorff [EMAIL PROTECTED] wrote: Saw it referenced here: http://blogs.sistes.net/Garito/568 Ah! ZConfig 2.5 and newer include max-bytes and old-files in the basic logfile section, but Products.rotatezlogs provides more features. -Fred -- Fred L.

Re: [Zope] zopelabs cookbook

2008-02-04 Thread Fred Drake
On Feb 4, 2008 3:19 PM, Tim Nash [EMAIL PROTECTED] wrote: I haven't been able to access the zopelabs cookbook for several weeks. It's working for me. -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Chaos is the score upon which reality is written. --Henry Miller

Re: [Zope] zope.schema: association vs. containment in Object, List

2008-06-06 Thread Fred Drake
On Fri, Jun 6, 2008 at 4:54 AM, Sean Upton [EMAIL PROTECTED] wrote: I want to be able to spell out certain zope.schema.Object fields in my interfaces as contained while other fields are declared as Are you using a source or vocabulary? If so, this could be part of the nature of the values

Re: [Zope] zope.schema: association vs. containment in Object, List

2008-06-06 Thread Fred Drake
On Fri, Jun 6, 2008 at 8:08 PM, Sean Upton [EMAIL PROTECTED] wrote: mechanism or implementation details underneath, so I think I'll continue to use custom field types marked with an IRelationshipField interface, and assume the built-in Object, List fields are only used for containment. The

Re: [Zope] TALES expression

2008-07-16 Thread Fred Drake
On Wed, Jul 16, 2008 at 6:34 AM, Tino Wildenhain [EMAIL PROTECTED] wrote: You should check the tales documentation. the pipe symbol | means a logical or, in effect if the left expression resolves to non existent, None, empty object,... (generally python False) the right part of it is

[Zope-Annce] zpkg 1.0.0 released

2005-09-21 Thread Fred Drake
I've posted a release of zpkg 1.0.0 on the zpkg webpage: http://www.zope.org/Members/fdrake/zpkgtools/ The documentation has been reviewed and revised, so hopefully it won't be so hard to dive into, though there's still a lot to pick up on when starting fresh. Thanks to Stephan Richter

Re: [Zope-Checkins] SVN: Zope/branches/philikon-zope32-integration/ start cleaning out the trash; there is more...

2005-11-04 Thread Fred Drake
On 10/30/05, Chris McDonough [EMAIL PROTECTED] wrote: Will there be a way to keep your srcdir pristine by running ../path/to/configure; make; make install in an empty directory? This was a commonly requested feature and lots of people use it, which is why build-base and friends were in there.

Re: [Zope-Checkins] SVN: Zope/trunk/releases/Zope2. Name the root collection simply Zope so that the name of the tarball will

2005-11-16 Thread Fred Drake
On 11/16/05, Philipp von Weitershausen [EMAIL PROTECTED] wrote: coexist as sibling directories somewhere; so no danger of problems due to case ignorant file systems. The technical term for this is case-senseless. -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Society attacks early,

Re: [Zope-Coders] ZConfig changes: please try on Windows

2005-05-18 Thread Fred Drake
On 5/18/05, Andreas Jung [EMAIL PROTECTED] wrote: @Fred: this should resolve the binding problems on Windows? I assume Now that I've fixed the issue Mark pointed out in ZServer/tests/test_config.py, I hope so, but I'm not running tests on Windows since I don't normally have a Windows development

Re: [Zope-Coders] Zope 2.8 coming this weekend

2005-06-10 Thread Fred Drake
On 6/10/05, Paul Winkler [EMAIL PROTECTED] wrote: Mind if I check in text-only changes to the 2_8 branch? It's still Friday for Andreas, so this is a good time! -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Zope Corporation ___ Zope-Coders

Re: [Zope-Coders] Checkin messages

2005-07-22 Thread Fred Drake
On 7/22/05, Tino Wildenhain [EMAIL PROTECTED] wrote: Otoh, the checkin messages arent sent by the users but the repository. Shouldnt repository sent messages not automatically accepted? Yes, but the repository lies and says the mail came from the committer. Were that to change, the list

Re: [Zope-Coders] Checkin messages

2005-07-22 Thread Fred Drake
On 7/22/05, Tim Peters [EMAIL PROTECTED] wrote: no idea where that address comes from (although it is indeed one of my email addresses). Probably from the email address associated with my zope.org account. That's exactly where it comes from; the commit-email generator uses the same LDAP

Re: [Zope-Coders] Why zope-coders?

2005-11-04 Thread Fred Drake
On 11/4/05, Jim Fulton [EMAIL PROTECTED] wrote: I propose to retire this list and move the traffic over to zope-dev. I always wondered why this was a separate list. +1 on its retirement. -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Society attacks early, when the individual is

Re: [Zope-Coders] svn.zope.org in an odd state

2005-11-07 Thread Fred Drake
On 11/7/05, Tres Seaver [EMAIL PROTECTED] wrote: svn: Berkeley DB error while opening 'strings' table for filesystem /svn/repos/main/db: Cannot allocate memory Yeah, this has been hosed for at least a good part of the day. The load on the machine is really low, and there's plenty of swap

Re: [Zope-dev] [ZConfig] import inhomogenous

2004-02-18 Thread Fred Drake
On Tuesday 17 February 2004 01:10 pm, Dieter Maurer wrote: It would be better if the type of the imported object (schema or component) were orthogonal to the location from where the object is found (in a package or via an URL). I agree, that does seem nicer. Another approach would be to

Re: [Zope-dev] server for new protocol?

2004-02-27 Thread Fred Drake
On Thursday 26 February 2004 06:50 am, Nikolay Kim wrote: is there any way create server for new protocol without changing ZServer module? There's clearly a need for some more documentation here, but I'm not sure what to write yet, or where it should go. Contrary to many of the other

Re: [Zope-dev] server for new protocol?

2004-03-01 Thread Fred Drake
On Sunday 29 February 2004 11:21 pm, Nikolay Kim wrote: P.S. i'm developing smtp server for zope and already have working code. Ooh! This is really cool. Will this be open source? I'll be a lot of people will be interested in this. -Fred -- Fred L. Drake, Jr. fred at zope.com

Re: [Zope-dev] Product directory?

2004-03-09 Thread Fred Drake
On Tuesday 09 March 2004 01:58 pm, Ian Beatty wrote: This has to be an easy one. Good, I'll take it. ;-) From within my Python-based product's code, how do I get access to the product's directory on the filesystem? os.getcwd() seems to provide the working directory of the shell used to

Re: [Zope-dev] Product directory?

2004-03-09 Thread Fred Drake
On Tuesday 09 March 2004 02:30 pm, Chris McDonough wrote: There is also a convenience function for this in Zope: from Globals import package_home here = package_home(globals()) Maybe I'm just weird, but I generally prefer the general approach when there's not a clear improvement in

Re: [Zope-dev] Re: test.py

2004-03-11 Thread Fred Drake
On Thursday 11 March 2004 10:40 am, Tres Seaver wrote: #!/usr/bin/python2.3 distutils will munge it anyway, if it installs the scripts. That won't work for a lot of developers, I'll bet, who have python2.3 installed in /usr/local/bin. The env hack is more reasonable for developers; since

[Zope-dev] Re: test.py

2004-03-12 Thread Fred Drake
On Friday 12 March 2004 05:40 am, yuppie wrote: I don't care much *how* this is resolved, but I'd like to have this consistent and up to date. If I always have to check if the python version is set correctly that line isn't helpful at all. Well, Tres appearantly hasn't had time to respond.

Re: [Zope-dev] ZPT for CSS, anyone?

2004-03-30 Thread Fred Drake
On Tuesday 30 March 2004 01:40 pm, Dieter Maurer wrote: Furthermore, stylesheets often contain customization variables, e.g. for a color scheme. I think, this is useful. This is one of the most painful warts in CSS that would have been really easy to do right, I think. Being able to name

[Zope-dev] Re: [Zope-Coders] Re: CVS: Zope3/src/zope/tal - talparser.py:1.6

2004-04-08 Thread Fred Drake
On Thursday 08 April 2004 10:00 am, Philipp von Weitershausen wrote: I would like to backport this patch (including tests) to Zope 2, since I need to i18n XML generated by ZPTs. None here. -Fred -- Fred L. Drake, Jr. fred at zope.com PythonLabs at Zope Corporation

[Zope-dev] ZConfig 2.1 released

2004-04-12 Thread Fred Drake
I've posted a distribution for ZConfig 2.1 on the ZConfig page: http://zope.org/Members/fdrake/zconfig/ This fixes a few bugs and improves the ability to set default values in schemas. It also adds some helpful schema building blocks, including a general mapping type and support for

Re: [Zope-dev] Zope Developers

2004-04-13 Thread Fred Drake
On Tuesday 13 April 2004 01:44 pm, Paul Edward Brinich wrote: I was wondering if someone on this list could point me in the direction of an appropriate place to post Zope job openings. I am looking for an audience well-versed in Zope. Thanks for any guidance! There's the Python Job Board:

[Zope-dev] zLOG is dead

2004-04-13 Thread Fred Drake
zLOG is dead The zLOG package used for logging throughout ZODB, ZEO, and Zope 2 has been declared obsolete. All logging for Zope products will use the logging package from Python's standard library. The zLOG package still exists in Zope 2 and the separate package for

[Zope-dev] Re: [Zope3-dev] Re: Zope and zope

2004-04-13 Thread Fred Drake
Jim Fulton noted: Of course, having two packages with names differing only in case is a bit ugly. Do we want to consider renaming one or both of these packages to avoid the conflict? A bit ugly, but I can live with it. On Tuesday 13 April 2004 22:17, Tres Seaver wrote: -1 to renaming

Re: [Zope-dev] zLOG is dead

2004-04-14 Thread Fred Drake
On Wednesday 14 April 2004 01:49 am, Andreas Jung wrote: What is the recommend way to migrate existing code? I assume using: import logging logger = logging.getLogger(loggername). That works, and certainly matches what I've been doing, and what we see in the Zope 3 codebase as well.

Re: [Zope-dev] Re: [Zope3-dev] Zope and zope

2004-04-14 Thread Fred Drake
On Wednesday 14 April 2004 09:54 am, Kapil Thangavelu wrote: its probably a problem imo for mac users who are on a case insensitive fs. Is this still an issue for Mac OS X, or is your concern for classic Mac OS? I don't know if we support that (simply because I've never heard anyone mention

Re: [Zope-dev] zLOG is dead

2004-04-14 Thread Fred Drake
On Wednesday 14 April 2004 11:44 am, Lennart Regebro wrote: Yeah, but is it reasonable to think that people who write new products will do this? A rule that most people will break is a bad rule... That people working on Zope itself can be well versed enough to use Zope. for things in

[Zope-dev] Re: [Zope3-dev] Zope and zope

2004-04-14 Thread Fred Drake
On Wednesday 14 April 2004 10:52 am, Jim Fulton wrote: packages become very unsttractive. It turns out that pkgutil will be confused by the Zope package on Windows or Mac OS, adding it's directory to the zope package's path. This is a bug in pkgutil that can be fixed, but it is an example

Re: [Zope-dev] zLOG is dead

2004-04-14 Thread Fred Drake
On Wednesday 14 April 2004 10:45 am, Andreas Jung wrote: For consitency: Zope.Products. For lazy writers: Zope. X I prefer the second solution...everyone should know what are products and what are packages. In fact the name does not matter because you can see in the traceback

Re: [Zope3-dev], [Zope-dev] More arguments for z (was Re: Zope and zope)

2004-04-15 Thread Fred Drake
On Thursday 15 April 2004 10:23 am, Jim Fulton wrote: (BTW, I think it was a mistake to have top-level persistent and transaction packages. I think that will eventually come back to haunt us.) I won't disagree with this. ;-( The only way to avoid collissions is to pick stupid names

[Zope3-dev], [Zope-dev] Import checking code

2004-04-15 Thread Fred Drake
On Thursday 15 April 2004 13:22, Martijn Faassen wrote: Note that for checking dependencies in Python code I still think this tool could be improved by using technology from importchecker.py ... which can use Python's compiler module to lift all imports from source code, which I think is

Re: [Zope3-dev], [Zope-dev] Import checking code

2004-04-16 Thread Fred Drake
On Friday 16 April 2004 06:15 am, Martijn Faassen wrote: I'll try to find some time to take a look at it. Dependency checking is sort of a natural thing to use importchecker stuff for, but importchecker itself may need some refactoring. :) Actually, the confusion I was referring to was in

Re: [Zope-dev] Proposal: Rename zope package

2004-04-16 Thread Fred Drake
On Friday 16 April 2004 01:31 pm, Michael Bernstein wrote: From a consistency in nomenclature POV, I find 'z' jars a bit with ZConfig, zdaemon, ZEO, zLog, and ZODB, which one might expect to find nested within 'z' (as 'z.Config' for example). This is admittedly only an issue for the

Re: [Zope-dev] Proposal: Rename zope package

2004-04-16 Thread Fred Drake
On Friday 16 April 2004 03:06 pm, Michael Bernstein wrote: Shouldn't we strive for consistency in nomenclature going forward? Definately. My point was that we don't have anything to base it on, not that we shouldn't be. Zope 3 kindly specifies some guidelines for naming, including module and

Re: [Zope-dev] Proposal: Rename zope package

2004-04-16 Thread Fred Drake
On Friday 16 April 2004 03:24 pm, Shane Hathaway wrote: - Spelling it zOPE to take advantage of a frequent mishap involving the cAPS lOCK key That must be what happened for zLOG, and I declared that dead. I don't think anyone's ready for that for Zope 3 just yet. ;-) -Fred -- Fred L.

[Zope-dev] Re: [Zope3-dev] Re: Proposal: Rename zope package

2004-04-20 Thread Fred Drake
On Tuesday 20 April 2004 12:08 pm, Jim Fulton wrote: What do people think about alternative 4? +1 -Fred -- Fred L. Drake, Jr. fred at zope.com PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] Re: zLOG changes

2004-04-20 Thread Fred Drake
On Tuesday 20 April 2004 01:22 pm, Andreas Jung wrote: - the entries in the event.log are currently written without the log level. Is this dedicated behaviour? I think the log level should be part of the event.log It should. This was lost when I changed the zLOG -- logging mapping, and

Re: [Zope-dev] Re: zLOG is dead

2004-04-20 Thread Fred Drake
On Tuesday 20 April 2004 01:15 pm, Christian Heimes wrote: Fred Drake wrote: * Do I need to take care that the messages are logged into the event log and on the console or can I safly use the logging package like:: ... zLOG has logged the messages to the console when zope was started

Re: [Zope-dev] Re: zLOG changes

2004-04-22 Thread Fred Drake
I wrote: - In debug mode, add a new handler that dumps to standard output. This is fairly easy to code, but is inflexible. Andreas responded: But flexible enough for most usecase. The point is that you want to see the tracebacks on the console during the development phase. Watching the

Re: [Zope-dev] Re: zLOG changes

2004-04-22 Thread Fred Drake
On Wednesday 21 April 2004 04:48 am, Chris Withers wrote: I'm guessing there is some kind of log-to-console logger already? If so, why not just add that in zope.conf and comment it out when you move to production? That would work for me, but not everyone at ZC agreed, so I've made some

[Zope-dev] New mailing list for ZConfig users

2004-04-23 Thread Fred Drake
At a suggestion from the community, I've created a new mailing list for ZConfig users. This is for general discussion and questions. The list is run using Mailman at Zope.org; you can sign up at http://mail.zope.org/mailman/listinfo/zconfig/ -Fred -- Fred L. Drake, Jr. fred at

[Zope-dev] Re: [Zope3-dev] Need help with http://dev.zope.org/Subversion

2004-04-25 Thread Fred Drake
On Sunday 25 April 2004 12:29 pm, Jim Fulton wrote: cvs co svn+ssh://svn.zope.org/repos/Zope3/trunk Zope3 That should be: svn co svn+ssh://svn.zope.org/repos/Zope3/trunk Zope3 cvs co http://svn.zope.org/repos/Zope3/trunk Zope3 and this would be: svn co

[Zope-dev] Re: [Zope3-dev] Need help with http://dev.zope.org/Subversion

2004-04-25 Thread Fred Drake
On Sunday 25 April 2004 01:00 pm, Jim Fulton wrote: Oops. Thanks. I gues some habits will be hard to kick. :) Yeah. Of course, CVS isn't just an old habit; it'll still be current practice, not just for Zope 2.6.x and 2.7.x, but for lots of projects. The general pain of two widely-used

[Zope-dev] Re: Mailing Log Entries in 2.7

2004-04-25 Thread Fred Drake
On Saturday 24 April 2004 06:26 pm, Chris Withers wrote: And there was me looking forward to writing a product that added its own ZConfig section :'( You still can if you like. ;-) Okay, how can I get the log level and exception type into the subject? That's not currently possible,

[Zope-dev] Re: [Zope3-dev] What do we want to bring from CVS to Subversion

2004-04-26 Thread Fred Drake
On Monday 26 April 2004 03:23 pm, Jim Fulton wrote: 2. Convert the mainline history, but leave off the branches. This sounds good to me. -Fred -- Fred L. Drake, Jr. fred at zope.com PythonLabs at Zope Corporation ___ Zope-Dev maillist -

Re: Should we require windows users to use tools that honor Unixlineendings? (Re: [Zope-dev] Re: [Zope3-dev] ATTENTION! cvs tosubversiontransitiontomorrow)

2004-04-28 Thread Fred Drake
On Wednesday 28 April 2004 04:01 pm, Lennart Regebro wrote: Yes, but I'm pretty sure there are default settings for which files that should be treated as binary on the server side in CVS. At least I rember setting it up. :´) Yes, this is specified in the CVSROOT/cvswrappers file. -Fred

Re: [Zope-dev] [Weakness] analysis of Zope startup problems

2004-04-30 Thread Fred Drake
On Friday 30 April 2004 10:50 am, Chris McDonough wrote: Is this improved at all by Fred's latest zZLOG-removal checkins? If not, I will open a collector issue. None of my changes have been applied to Zope 2.7; they only exist on the Zope 2 HEAD. The removal of zLOG is only for the Zope 3

[Zope-dev] Re: [Zope3-dev] Re: [Zope-Coders] End-of-line translation problem

2004-04-30 Thread Fred Drake
On Friday 30 April 2004 12:25 pm, Lennart Regebro wrote: Only that the Subversion people are wrong. Ad-hoc is not good enough. It must be able to be configurable on the server. Another possible approach would be to write a script to use for adds instead of the default client; it could set

[Zope-dev] Re: [Zope3-dev] Proposal: cvs to subversion transition May 11 (?)

2004-05-05 Thread Fred Drake
On Wednesday 05 May 2004 01:59 am, Jim Fulton wrote: I'm thinking of trying again to do the cvs to svn conversion of the main-line development branches (cvs heads) on Tusday May 11. This would entail moving ZODB, Zope 2, and Zope 3 head development to subversion (along with ZConfig,

[Zope-dev] Re: Mailing Log Entries in 2.7

2004-05-05 Thread Fred Drake
Regarding putting more information in email's generated using email-notifier sections, I wrote: That's not currently possible, though it wouldn't be hard to add. Perhaps some future ZConfig revision would add this. On Wednesday 05 May 2004 05:41 am, Chris Withers responded: Surely ZConfig

Re: [Zope-dev] cvs.zope.org wedged, we're looking into it

2004-05-07 Thread Fred Drake
On Friday 07 May 2004 01:50 pm, Ken Manheimer wrote: cvs.zope.org is wedged - you can connect to it (ping, web, ssh) but not get any further. We've got a call in for attention, hopefully it'll be back available soon... Yay! It's working again! Ken, you're my hero. ;-) -Fred --

[Zope-dev] Re: [Zope3-dev] Re: SVN: Zope3/trunk/functional_tests/ Remove unused directory.

2004-05-26 Thread Fred Drake
On Wednesday 26 May 2004 08:42 am, Philipp von Weitershausen wrote: That works for me too, but please *above* the diff. Yes; I should have been more clear and said *immediately* following the commit message. No, the CVS should stay in there to tell them apart, for the very same reason you

[Zope-dev] Re: [Zope3-dev] status of Zope versus zope?

2004-06-04 Thread Fred Drake
On Friday 04 June 2004 12:33 pm, Martijn Faassen wrote: Hm, that's not a big deal then. I'm just at a loss how this would fix the case-insensitivity import problem on Windows; I think I'm missing something. Modern Windows is case-preserving, and Python uses that to get the imports right.

Re: [Zope-dev] INSTANCE_HOME and SOFTWARE_HOME still necessary in 2.7 start script?

2004-07-01 Thread Fred Drake
On Thursday 01 July 2004 07:42 pm, Chris Withers wrote: Is it still necessary to specify INSTANCE_HOME and SOFTWARE_HOME in the start script for Zope? I'm pretty sure I removed that requirement long ago, back when I added the App.config module. Or would the following work? python

Re: [Zope-dev] INSTANCE_HOME and SOFTWARE_HOME still necessary in 2.7 start script?

2004-07-02 Thread Fred Drake
On Friday 02 July 2004 02:21 am, Chris Withers wrote: Well, the automatically generated runzope still includes INSTANCE_HOME and SOFTWARE_HOME, hence my question... Can those variables be dropped from the template script? They were dropped, also back when I added App.config. Someone

[Zope-dev] TAL Hotfix 2004-07-13 for Zope 2.7.0, 2.7.1

2004-07-13 Thread Fred Drake
This hotfix product fixes a security bug in Page Templates. This fix ensures that values substituted in named slots in translated elements are properly encoded. If encoding is not desired and the source of the replacement text is trusted, the structure modifier can be used with the tal:content

[Zope-dev] TAL Hotfix 2004-07-14 for Zope 2.7.0, 2.7.1

2004-07-14 Thread Fred Drake
This hotfix product fixes a security bug in Page Templates. This fix ensures that values substituted in named slots in translated elements are properly encoded. If encoding is not desired and the source of the replacement text is trusted, the structure modifier can be used with the tal:content

Re: [Zope-dev] Troubles with hotfix20040714

2004-07-19 Thread Fred Drake
On Mon, 19 Jul 2004 09:48:00 -0700 (PDT), C. Olmsted [EMAIL PROTECTED] wrote: Not sure if this is quite the correct list to post to, but I'm having trouble with Hotfix20040714. We're running zope 2.7, plone 2.0.3, and zwiki 0.32.0. Can you test with the 2.7.2 release candidate? This very

Re: [Zope-dev] Troubles with hotfix20040714

2004-07-21 Thread Fred Drake
On Tue, 20 Jul 2004 10:40:22 -0700 (PDT), Cliff O. [EMAIL PROTECTED] wrote: Ok, so I just finished loading up 2.7.2rc1 and all seems well using the same products and database as before. I can probably migrate the site once 2.7.2 final is released but, of course, it would be great to apply the

Re: [Zope-dev] Re: [Zope-Coders] Collector Status Meanings

2004-07-30 Thread Fred Drake
On Fri, 30 Jul 2004 11:50:57 -0400 (EDT), Ken Manheimer [EMAIL PROTECTED] wrote: Accepted: Issues that some supporter(s) has responsibility for resolving it, and it is not yet resolved. Your description says that some supporter has assessed the issue as

Re: [Zope-dev] ZConfig keys

2004-08-04 Thread Fred Drake
On Wed, 04 Aug 2004 10:24:30 +0200, Godefroid Chapelle [EMAIL PROTECTED] wrote: I would like to confirm that ZConfig keys are case insensitive and that the corresponding attributes on the config object returned by the 'loadConfig' call are always lower case. It sounds like I need to clarify

Re: [Zope-dev] ZPT Optimization Opportunity

2004-09-27 Thread Fred Drake
On Mon, 27 Sep 2004 14:18:30 -0400, Tres Seaver [EMAIL PROTECTED] wrote: Transformation is already complete at that point. The only difference is the type of the result returned (eventually) to the publisher. Ok, that sounds good. BTW, I looked again at where StringIO is used, and it seems

Re: [Zope-dev] Re: inconsistent mimetype assignment for uploaded files

2004-10-05 Thread Fred Drake
On Tue, 05 Oct 2004 12:44:32 +0200, Tino Wildenhain [EMAIL PROTECTED] wrote: Well, the problem might be the asymptation part of the filename should be considered an indicator of its contents. That is a nuissance. It's unfortunate we still don't have any sort of common type system for

Re: [Zope-dev] Re: Conditional imports in ZTUtils/__init__.py

2004-10-05 Thread Fred Drake
On Tue, 05 Oct 2004 09:47:11 -0500, Evan Simpson [EMAIL PROTECTED] wrote: This is part of my attempt to allow the various bits of ZPT to work outside of Zope. It assumes that the presence of the 'Zope' module is a reliable test. Perhaps this is a YAGNI, or perhaps there's a better way of

Re: [Zope-dev] PageTemplate XML mode bugs

2004-10-05 Thread Fred Drake
On Tue, 05 Oct 2004 12:47:33 +0200, yuppie [EMAIL PROTECTED] wrote: There are two annoying bugs that make the XML mode unusable for many tasks: - http://collector.zope.org/Zope/1101 (i18n namespace broken) - http://collector.zope.org/Zope/1474 (XML files opened in binary mode) I would

Re: [Zope-dev] Re: PageTemplate XML mode bugs

2004-10-05 Thread Fred Drake
On Tue, 05 Oct 2004 18:44:04 +0200, yuppie [EMAIL PROTECTED] wrote: Ok. I'll remove that line in CVS/SVN. Thanks! I added a new comment to the issue. Hope that makes things clearer. ( http://collector.zope.org/Zope/1474 ) Ok; let's just say the discussion's moved there. -Fred -- Fred

Re: [Zope-dev] Python2.4 and Zope 2.7

2004-10-17 Thread Fred Drake
On Sun, 17 Oct 2004 18:43:34 +0200, Andreas Jung [EMAIL PROTECTED] wrote: Python 2.4 is still in alpha stage and there are no plans to support Python 2.4 in the short term. It's in beta as of Friday evening; this would be a good time for someone with time to start testing it with various Zope

Re: [Zope-dev] Python2.4 and Zope 2.7

2004-10-18 Thread Fred Drake
On Mon, 18 Oct 2004 06:59:26 +0200, Andreas Jung [EMAIL PROTECTED] wrote: Zope 2.7.3 + Python 2.4 fails when running the unittests: Then a collector item should be filed. ;-) I don't know anything about ThreadedAsync myself. -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Zope

[Zope-dev] Proposed changes to the TAL specification

2004-10-21 Thread Fred Drake
I'm proposing some (small) changes to the TAL specification. This would result in a new version of TAL for Zope X3 3.1 (and Zope 2.8 if anyone wants to backport the relevant code changes). The discussion will be on the ZPT list, where I've sent a copy of the proposal. The proposal is also

Re: [Zope-dev] ZopeInterface

2004-10-28 Thread Fred Drake
On Thu, 28 Oct 2004 11:07:52 +0200, Radoslaw Stachowiak [EMAIL PROTECTED] wrote: Could anyone please provide me information when ZopeInterface product is going to be updated ? And how is it related to zopex3 releases ? I'm planning to release a final version around the time that Zope X3 3.0.0

Re: [Zope-dev] Renamed the Zope package to Zope2 and including Zope 3 packages in Zope 2.8

2005-01-31 Thread Fred Drake
On Mon, 31 Jan 2005 19:25:15 +0100, Lennart Regebro [EMAIL PROTECTED] wrote: Note that diskussions about the Zope2 + Zope3 pagetemplate issue arrived in the conclusion that, the faster we can get Zope3 pagetemplates back ported to Zope2, the happier we will be. ;) I have no idea if that is a

Re: [Zope-dev] ZConfig issue: products and container-class

2005-02-14 Thread Fred Drake
On Mon, 14 Feb 2005 15:22:38 -0200, Leonardo Rochael Almeida [EMAIL PROTECTED] wrote: It's obvious that the container-class directive is being evaluated much earlier than the products directive. Without delving further into the code, it looks like the container-class directive has an error

  1   2   3   >