[Zope-dev] Re: Clarification re: Zope X3.1, 2.8 - svn usage

2005-03-31 Thread Wolfgang Langner
Hello, Tres Seaver wrote: When you use 'svn:externals', the referenced package itself is *not* part of the containing checkout; it is managed separately by the svn client (sort of like ESI and page fragments). Yes this is true. But the differences between svn:externals and a copy are not so

[Zope-dev] Adding Plone Content

2005-03-31 Thread JV Singh
Hello. I need some help with this. I installed zope using 'apt-get install zope2.7' and then 'apt-get install plone'... But in the zope 'Add' list, I can't see any of the additionally installed components, including 'Plone Site'... I tried restarting zope, my browser and also the system.. Any

Re: [Zope-dev] Adding Plone Content

2005-03-31 Thread Andreas Jung
--On Donnerstag, 31. März 2005 15:28 Uhr +0530 JV Singh [EMAIL PROTECTED] wrote: Hello. I need some help with this. I installed zope using 'apt-get install zope2.7' and then 'apt-get install plone'... But in the zope 'Add' list, I can't see any of the additionally installed components,

[Zope-dev] Re: Re: Re: Clarification re: Zope X3.1, 2.8

2005-03-31 Thread Florian Schulze
On Wed, 30 Mar 2005 17:59:49 -0500, Tim Peters [EMAIL PROTECTED] wrote: [Florian Schulze] When you use svn:external, it will be copied as is to the tag, so when the external files change, the files in the tag change as well. So a svn cp would be better I guess. When I make an SVN tag, like

Re: [Zope-dev] brain.getObject and traversal

2005-03-31 Thread Chris Withers
Florent Guillaume wrote: You're mistaken. The old code did: def getObject(self, REQUEST=None): Try to return the object for this record try: obj = self.aq_parent.unrestrictedTraverse(self.getPath()) if not obj: if REQUEST is None:

Re: [Zope-dev] Test failures with five-integration branch merged to head...

2005-03-31 Thread Martijn Faassen
Brian Lloyd wrote: I did a merge from the five-integration branch to the head in a local sandbox, and got the following test failures - anyone know anything about them? Odd, I don't get any failures, and Stefan Holek cannot report them either. Did these get resolved since then? It looks like

Re: [Zope-dev] Disabling FTP by default

2005-03-31 Thread Chris Withers
Florent Guillaume wrote: I'd like to disable FTP by default, by commenting it out in skel/etc/zope.conf. The reason is that it's better to open as few ports as possible by default. Opinions ? +1, but only for 2.8 Chris -- Simplistix - Content Management, Zope Python Consulting -

Re: [Zope-dev] Clarification re: Zope X3.1, 2.8

2005-03-31 Thread Jim Fulton
In this case, the answer is clear to me. :) We should fix the offending Z3 code to match the interface. Similarly, we should fix the uses of get_transaction. Jim Tim Peters wrote: I'm merging ZODB 3.4 into Zope on a branch. As Tres noted earlier in a checkin comment, a test failure results,

Re: [Zope-dev] Clarification re: Zope X3.1, 2.8

2005-03-31 Thread Jim Fulton
Martijn Faassen wrote: Tim Peters wrote: [snip] get_transaction() is more troublesome than _just_ that, alas: there are about 160 instances of it across the stitched-in lib/python/zope, and Products/Five, code. This causes lots of new deprecation warnings when running the tests. These are easy

[Zope-dev] Re: brain.getObject and traversal

2005-03-31 Thread Max M
Chris Withers wrote: Well, in 2.8, new behaviour is expected, right? I really passionately believe that we should not be returnining None in Zope 2.8, and since 2.8 hasn't quite hit beta yet I'm very keen to see it fixed asap. Any objections? Most of my queries, where I need to wake up objects,

Re: [Zope-dev] brain.getObject and traversal

2005-03-31 Thread Roché Compaan
On Thu, 2005-03-31 at 13:02 +0100, Chris Withers wrote: Would anyone object if I wrote tests and changed the implementation to raise exceptions, including Unauthorized, instead of returning None? Unauthorized in getObject is out of the question, that would be new behaviour. Well,

Re: [Zope-dev] brain.getObject and traversal

2005-03-31 Thread Florent Guillaume
Chris Withers wrote: You're mistaken. The old code did: def getObject(self, REQUEST=None): Try to return the object for this record try: obj = self.aq_parent.unrestrictedTraverse(self.getPath()) if not obj: if REQUEST is None:

Re: [Zope-dev] Clarification re: Zope X3.1, 2.8

2005-03-31 Thread Tim Peters
[Tim Peters] ... get_transaction() is more troublesome than _just_ that, alas: there are about 160 instances of it across the stitched-in lib/python/zope, and Products/Five, code. This causes lots of new deprecation warnings when running the tests. These are easy to repair with 1-2 hours

Re: [Zope-dev] Test failures with five-integration branch merged to head...

2005-03-31 Thread Tim Peters
[Brian Lloyd] I did a merge from the five-integration branch to the head in a local sandbox, and got the following test failures - anyone know anything about them? [Martijn Faassen] Odd, I don't get any failures, and Stefan Holek cannot report them either. Did these get resolved since then?

Re: [Zope-dev] zope /tmp file usage

2005-03-31 Thread Florent Guillaume
Pavel Zaitsev [EMAIL PROTECTED] wrote: I am wondering what code in Zope 2.7.5-final potentially may use /tmp directory for temprorary files. Lots. There are many uses of the tempfile python module, which uses the TMPDIR, TEMP or TMP environment variables to decide where to stick its temporary

RE: [Zope-dev] Test failures with five-integration branch merged to head...

2005-03-31 Thread Brian Lloyd
[Martijn Faassen] Odd, I don't get any failures, and Stefan Holek cannot report them either. Did these get resolved since then? It looks like the merge got checked in, right? The merge was checked in. I'm doing the ZODB 3.4 integration on a new branch. We suspect Brian's failures

Re: [Zope-dev] zope /tmp file usage

2005-03-31 Thread Sidnei da Silva
On Thu, Mar 31, 2005 at 01:52:11AM -0500, Pavel Zaitsev wrote: | snip if someone knows of what circuimstances zope would use /tmp | directory to create a file... Anytime the request coming in is bigger than the config variable 'large-file-threshold' (see INSTANCE_HOME/etc/zope.conf), the request

Fwd: [Zope-dev] zope /tmp file usage

2005-03-31 Thread Patrick DECAT
I did not understand why people why replying the same answer as I did: that simple I did not reply to the mailing list ;) -- Forwarded message -- From: Patrick DECAT [EMAIL PROTECTED] Date: Thu, 31 Mar 2005 11:50:56 +0200 Subject: Re: [Zope-dev] zope /tmp file usage To: Pavel

Re: [Zope-dev] Clarification re: Zope X3.1, 2.8

2005-03-31 Thread Tim Peters
[Tim Peters] ... Suggestion: I make a new copy of Zope3/tags/ZopeX3-3.0.0-Zope-2.8-pr1/src/zope stitch that into Zope trunk (change the lib/python svn:externals to point to the new copy), do all the get_transaction() edits there, and repair the IDataManager glitch there too. This

[Zope-dev] Re: Clarification re: Zope X3.1, 2.8 - svn usage

2005-03-31 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wolfgang Langner wrote: Hello, Tres Seaver wrote: When you use 'svn:externals', the referenced package itself is *not* part of the containing checkout; it is managed separately by the svn client (sort of like ESI and page fragments). Yes

Re: [Zope-dev] Clarification re: Zope X3.1, 2.8

2005-03-31 Thread Martijn Faassen
Jim Fulton wrote: Martijn Faassen wrote: Tim Peters wrote: [snip] get_transaction() is more troublesome than _just_ that, alas: there are about 160 instances of it across the stitched-in lib/python/zope, and Products/Five, code. This causes lots of new deprecation warnings when running the

Re: [Zope-dev] Re: Clarification re: Zope X3.1, 2.8

2005-03-31 Thread Martijn Faassen
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: Martijn Faassen wrote: [snip] Right, lib/python/zope is actually Zope X3.0.0, and we didn't expect we'd need to *update* Zope X3.0 in order for it to work with Zope 2.8. The new ZODB version is having some

Re: [Zope-dev] Clarification re: Zope X3.1, 2.8

2005-03-31 Thread Martijn Faassen
Tim Peters wrote: [Tim Peters] ... get_transaction() is more troublesome than _just_ that, alas: there are about 160 instances of it across the stitched-in lib/python/zope, and Products/Five, code. This causes lots of new deprecation warnings when running the tests. These are easy to repair

Re: [Zope-dev] Clarification re: Zope X3.1, 2.8

2005-03-31 Thread Martijn Faassen
Tim Peters wrote: [Tim Peters] ... Suggestion: I make a new copy of Zope3/tags/ZopeX3-3.0.0-Zope-2.8-pr1/src/zope stitch that into Zope trunk (change the lib/python svn:externals to point to the new copy), do all the get_transaction() edits there, and repair the IDataManager glitch there too.

[Zope-dev] zope /tmp file usage

2005-03-31 Thread Patrick DECAT
I did not understand why people was replying the same answer as I did. That's simple: I did not reply to the mailing list ;) -- Forwarded message -- From: Patrick DECAT [EMAIL PROTECTED] Date: Thu, 31 Mar 2005 11:50:56 +0200 Subject: Re: [Zope-dev] zope /tmp file usage To: Pavel

Re: [Zope-dev] Clarification re: Zope X3.1, 2.8

2005-03-31 Thread Tim Peters
[Martijn Faassen, on deprecation warnings] Thanks; I haven't seen those warnings yet as I don't think ZODB 3.4 quite got merged into Zope 2.8 trunk yet. Not even close yet. I'm doing the 3,4 integration work on Zope/branches/tim-merge-zodb34 and I'm not merging anything into the trunk

Re: [Zope-dev] Re: Clarification re: Zope X3.1, 2.8

2005-03-31 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martijn Faassen wrote: Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: Martijn Faassen wrote: [snip] Right, lib/python/zope is actually Zope X3.0.0, and we didn't expect we'd need to *update* Zope

Re: [Zope-dev] Clarification re: Zope X3.1, 2.8

2005-03-31 Thread Tim Peters
Zope trunk is using ZODB 3.4 now. It's been switched to use svn:externals to stitch in the 9 ZODB directories. For now they're pointing at ZODB trunk. A release tag will be made later (this is _not_ ready for release yet; now I can start doing the work I wanted to start doing on Monday 0.5

Re: [Zope-dev] Clarification re: Zope X3.1, 2.8

2005-03-31 Thread Sidnei da Silva
| At one point during the Zope/branches/tim-merge-zodb34 merge on my | local box, svn got itself terminally confused, starting to create | directories like lib/lib/python/ZODB (there are two lib/s in that -- | not a typo), and griping endlessly about locks and non-existent files. | No amount of

Re: [Zope-dev] Clarification re: Zope X3.1, 2.8

2005-03-31 Thread Tim Peters
[Sidnei da Silva] Got one problem so far: svn: Failed to add directory 'lib/python/BTrees/tests': object of the same name already exists Everything else seems to have updated with no problems to that point. Ugh -- I'm afraid that's the very first of the 9 ZODB directories it tried to

Re: [Zope-dev] Clarification re: Zope X3.1, 2.8

2005-03-31 Thread Sidnei da Silva
On Thu, Mar 31, 2005 at 03:33:11PM -0500, Tim Peters wrote: | Ugh -- I'm afraid that's the very first of the 9 ZODB directories it | tried to update, and svn just isn't smart enough to delete the | existing directories before trying to fetch the new ones. Indeed it was. I think its a Good Thing.

[Zope-dev] editing zope files

2005-03-31 Thread Pavel Zaitsev
I try to edit zope file in zope istalled directory, HTTPServer in particular, i want to debug some things, but I get syntax errors on any code i try insert like a=1 , or 'print'. like: # /opt/web/bin/runzope

FIXED: Re: [Zope-dev] editing zope files

2005-03-31 Thread Pavel Zaitsev
Was a spacing issue thanks to #zope on freenode, pavel ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

[Zope-dev] [Zope2.8a2] ...to be released by tomorrow....

2005-03-31 Thread Andreas Jung
Hi, I am planning to make the release tomorrow (Saturday afternoon (German time :-)). So please make your final fixes very soon or cry out loud STOP if there are any show stoppers. Andreas pgp17zL6Dn1uH.pgp Description: PGP signature ___ Zope-Dev

RE: [Zope-dev] [Zope2.8a2] ...to be released by tomorrow....

2005-03-31 Thread Brian Lloyd
Hi Andreas - please don't cut the release until we get the OK from Tim Peters - he's still working on merging recent ZODB changes, I believe. Brian Lloyd[EMAIL PROTECTED] V.P. Engineering 540.361.1716 Zope Corporation http://www.zope.com -Original Message-

RE: [Zope-dev] [Zope2.8a2] ...to be released by tomorrow....

2005-03-31 Thread Andreas Jung
Ok, I am waiting for go ahead sign (I haven't followed the recent discussion because I am currently on a business trip) -aj --On Freitag, 1. April 2005 0:13 Uhr -0500 Brian Lloyd [EMAIL PROTECTED] wrote: Hi Andreas - please don't cut the release until we get the OK from Tim Peters - he's still