[Zope-Checkins] SVN: Products.Five/branches/1.4/ Branch off Five 1.4. We're not releasing Five 1.4b yet, but we need a Five

2006-02-28 Thread Philipp von Weitershausen
Log message for revision 65584: Branch off Five 1.4. We're not releasing Five 1.4b yet, but we need a Five branch that is geared towards Zope trunk (=Zope 2.10). Rocky should merge his work only to the Five 1.4 branch. Five 1.4 is geared towards Zope 2.9. Changed: A

[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/Traversable.py using startswith()

2006-02-28 Thread Andreas Jung
Log message for revision 65598: using startswith() Changed: U Zope/trunk/lib/python/OFS/Traversable.py -=- Modified: Zope/trunk/lib/python/OFS/Traversable.py === --- Zope/trunk/lib/python/OFS/Traversable.py2006-02-28

[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/Traversable.py reverted all changes (obviously having a bad day today)

2006-02-28 Thread Andreas Jung
Log message for revision 65602: reverted all changes (obviously having a bad day today) Changed: U Zope/trunk/lib/python/OFS/Traversable.py -=- Modified: Zope/trunk/lib/python/OFS/Traversable.py === ---

[Zope-Checkins] SVN: Zope/branches/2.9/ - Missing import of NotFound in webdav.Resource.

2006-02-28 Thread Sidnei da Silva
Log message for revision 65607: - Missing import of NotFound in webdav.Resource. Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/webdav/Resource.py -=- Modified: Zope/branches/2.9/doc/CHANGES.txt

[Zope-Checkins] SVN: Zope/trunk/ - Missing import of NotFound in webdav.Resource.

2006-02-28 Thread Sidnei da Silva
Log message for revision 65608: - Missing import of NotFound in webdav.Resource. Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/webdav/Resource.py -=- Modified: Zope/trunk/doc/CHANGES.txt === ---

[Zope-Checkins] SVN: Zope/branches/ajung-final-zpt-integration/ Integration of Z3 ZPT with the current Z2 trunk and Five trunk

2006-02-28 Thread Andreas Jung
Log message for revision 65609: Integration of Z3 ZPT with the current Z2 trunk and Five trunk Changed: A Zope/branches/ajung-final-zpt-integration/ -=- Copied: Zope/branches/ajung-final-zpt-integration (from rev 65608, Zope/trunk) ___

[Zope-Checkins] SVN: Products.Five/branches/philikon-local-components/ New approach to local components in Zope 2, based on Jim's new component registration

2006-02-28 Thread Philipp von Weitershausen
Log message for revision 65631: New approach to local components in Zope 2, based on Jim's new component registration in the jim-adapter branch of Zope 3. Five.component.browser actually features a CustomizationView which lets you walk up to an object, view a list of template-based

[Zope-Checkins] SVN: Products.Five/branches/philikon-local-components/component/browser.py Use _setObject which actually adds the object to the items list of the container.

2006-02-28 Thread Philipp von Weitershausen
Log message for revision 65656: Use _setObject which actually adds the object to the items list of the container. We probably still need to fix up the ZPT class so that it provides the correct manage_* junk (which essentially means creating a subclass with a bunch of mix-ins).

[Zope-Checkins] SVN: Products.Five/branches/philikon-local-components/component/templateviews.pt correct ZCML info object API

2006-02-28 Thread Philipp von Weitershausen
Log message for revision 65659: correct ZCML info object API Changed: U Products.Five/branches/philikon-local-components/component/templateviews.pt -=- Modified: Products.Five/branches/philikon-local-components/component/templateviews.pt

Re: [Zope3-dev] Re: [Zope-dev] Two visions

2006-02-28 Thread Dmitry Vasiliev
Lennart Regebro wrote: I like the vision of Zope2 becoming a set of extra packages you install for Zope3, to get backwards compatibility. Maybe this is the same as what you call Zope 5, maybe not. +1 -- Dmitry Vasiliev (dima at hlabs.spb.ru) http://hlabs.spb.ru

Re: [Zope3-dev] Re: [Zope-dev] Two visions

2006-02-28 Thread Encolpe Degoute
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lennart Regebro a écrit : | OK, some initial, fuzzy comments: | | On 2/27/06, Jim Fulton [EMAIL PROTECTED] wrote: |2) In an alternate vision, Zope 2 evolves to Zope 5. | | - Zope 5 will be the application server generally known as Zope. It |

[Zope-dev] Re: [Zope3-dev] Two visions

2006-02-28 Thread Martijn Faassen
Jim Fulton wrote: I'd like to get feedback on two possible visions for the future of Zope 2 and Zope 3. 1) Our current vision (AFAIK) is that Zope 3 will eventually replace Zope 2 [snip] 2) In an alternate vision, Zope 2 evolves to Zope 5. [snip] Thoughts? My initial reaction is:

[Zope-dev] Re: [Zope3-dev] Re: Two visions

2006-02-28 Thread Martijn Faassen
Max M wrote: Jim Fulton wrote: 2) In an alternate vision, Zope 2 evolves to Zope 5. Zope 2 is complicated! It has too many layers of everything. The reason for Zope 3 is to make it simpler for developers. Therefore I believe that any succesfull strategy would require Zope 3 to be usable

Re: [Zope-dev] Re: Two visions

2006-02-28 Thread Martijn Faassen
Philipp von Weitershausen wrote: [snip] I would vote for spelling out Zed (which would also be a little easier to google but might create trademark problems). The namespace package could either be 'z' or 'zed'. Then again, I really should take Jim's side and stay out of naming decisions.

Re: [Zope-dev] Re: Two visions

2006-02-28 Thread Martijn Faassen
Paul Winkler wrote: On Tue, Feb 28, 2006 at 12:31:33AM +0100, Philipp von Weitershausen wrote: I will also note that just because Zope 2 won't die, it doesn't mean we shouldn't clean it up. Eventually, Zope should mostly be reusing things from Zed. +sys.maxint I think this will be the way

[Zope-dev] Re: [Zope3-dev] Two visions

2006-02-28 Thread Martijn Faassen
Hey, I have another comment about Zope 5, sparked by something Jeff Shell wrote. Currently we have a clear path to evolution. Zope 3 evolves at its pace, and Zope 2 evolves mostly by catching up with Zope 3, replacing more and more bits with Zope 3 bits, which often takes considerable

Re: [Zope3-dev] Re: [Zope-dev] Re: Two visions

2006-02-28 Thread Jean-Marc Orliaguet
Martijn Faassen wrote: Philipp von Weitershausen wrote: [snip] I would vote for spelling out Zed (which would also be a little easier to google but might create trademark problems). The namespace package could either be 'z' or 'zed'. Then again, I really should take Jim's side and stay out

Re: [Zope3-dev] Re: [Zope-dev] Re: Two visions

2006-02-28 Thread Stephan Richter
On Tuesday 28 February 2006 07:22, Martijn Faassen wrote: I don't see how we need a new vision. This has been the vision (evolution, not revolution) that I've been carrying out with Five for the last few years and thanks to a lot of contributions by a large range of developers, we've been

Re: [Zope-dev] Zope 2.9 releases for Windows?

2006-02-28 Thread Sidnei da Silva
On Mon, Feb 27, 2006 at 08:23:16PM +, Chris Withers wrote: | Sidnei da Silva wrote: | Basically you need (a properly licensed) VC 7, and Python 2.4.2 | installed. Not much else has changed. Unfortunately we haven't gotten | around setting up VC 7 here. | | Okay, once I have those two, then

[Zope-dev] Re: [Zope3-dev] Two visions

2006-02-28 Thread Stephan Richter
On Tuesday 28 February 2006 03:58, Shane Hathaway wrote: Unfortunately, this discussion is too fuzzy for me to understand exactly what's being proposed.  How about something concrete: will the Zope 3 in vision #2 have a ZMI, and will typical ZODB objects have a __parent__ and __name__?  

[Zope-dev] Re: [Zope3-dev] Two visions

2006-02-28 Thread Benji York
Martijn Faassen wrote: So, my proposal would be to tone down the vision to what we have already: a co-evolving Zope 3 and Zope 2, with Zope 2 following and Zope 3 leading (or Zope 2 driving Zope 3 forward, however you want to see it). No renaming necessary. No change of course necessary. Zope

[Zope-dev] Re: Two visions

2006-02-28 Thread Philipp von Weitershausen
Stephan Richter wrote: 1) Our current vision (AFAIK) is that Zope 3 will eventually replace Zope 2 2) In an alternate vision, Zope 2 evolves to Zope 5. As you probably know already, I am -1 on the second proposal, since it will disallow us to finally get rid of the old Zope 2 code.

[Zope-dev] Re: Two visions

2006-02-28 Thread Philipp von Weitershausen
Martijn Faassen wrote: I will also note that just because Zope 2 won't die, it doesn't mean we shouldn't clean it up. Eventually, Zope should mostly be reusing things from Zed. +sys.maxint I think this will be the way we get a real forward migration path for an awful lot of us who are

[Zope-dev] Re: Two visions

2006-02-28 Thread Martijn Faassen
Philipp von Weitershausen wrote: Martijn Faassen wrote: [snip] I don't see how we need a new vision. This has been the vision (evolution, not revolution) that I've been carrying out with Five for the last few years and thanks to a lot of contributions by a large range of developers, we've been

[Zope-dev] Re: [Zope3-dev] Re: Two visions

2006-02-28 Thread Andreas Jung
--On 28. Februar 2006 16:06:55 +0100 Philipp von Weitershausen [EMAIL PROTECTED] wrote: I think focusing on one app server and a dedicated set of libraries would be a good alternative to two concurring app servers. +1 -aj pgpe9Th17c7O9.pgp Description: PGP signature

[Zope-dev] Re: [Zope3-dev] Re: Two visions

2006-02-28 Thread Martijn Faassen
Philipp von Weitershausen wrote: Stephan Richter wrote: 1) Our current vision (AFAIK) is that Zope 3 will eventually replace Zope 2 2) In an alternate vision, Zope 2 evolves to Zope 5. As you probably know already, I am -1 on the second proposal, since it will disallow us to finally get

[Zope-dev] Re: [Zope3-dev] Re: Two visions

2006-02-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martijn Faassen wrote: Max M wrote: Jim Fulton wrote: 2) In an alternate vision, Zope 2 evolves to Zope 5. Zope 2 is complicated! It has too many layers of everything. The reason for Zope 3 is to make it simpler for developers. Therefore

Re: [Zope3-dev] Re: [Zope-dev] Two visions

2006-02-28 Thread Jim Fulton
On Mon, 2006-02-27 at 17:06 +0100, Lennart Regebro wrote: OK, some initial, fuzzy comments: ... You are thinking about things like TTW development and such? Among other things. Zope 2 is more mature than Zope 3 in a lot of areas. WebDAV and process management are a couple of examples that

[Zope-dev] Re: [Zope3-dev] Two visions

2006-02-28 Thread Gary Poster
On Feb 28, 2006, at 9:30 AM, Benji York wrote: Martijn Faassen wrote: So, my proposal would be to tone down the vision to what we have already: a co-evolving Zope 3 and Zope 2, with Zope 2 following and Zope 3 leading (or Zope 2 driving Zope 3 forward, however you want to see it). No

Re: [Zope-dev] Re: [Zope3-dev] Re: Two visions

2006-02-28 Thread Lennart Regebro
On 2/28/06, Tres Seaver [EMAIL PROTECTED] wrote: I think the other major point is the door #2 proposal takes pressure off of Zope3: under that regime, Zope3 does not need to grow all the features present in Zope2, which door #1 *does* imply. I still would like to know wich these missing

Re: [Zope3-dev] Re: [Zope-dev] Two visions

2006-02-28 Thread Martijn Faassen
Jim Fulton wrote: [snip] I see Zope 5 being a combination of Zope 2 and Zope 3, keeping the best of both. I think we already have Zope 5, and it's called Zope 2.9. Perhaps I'm wrong. If so, how does Zope 5 differ from Zope 2.9? Regards, Martijn

Re: [Zope-dev] Re: [Zope3-dev] Re: Two visions

2006-02-28 Thread Martijn Faassen
Tres Seaver wrote: [snip] In this vision, the Zope 3 project should stay where it is and push things forward. That doesn't mean Five should be ignored by Zope 3 developers, but it should be compartmentalized in people's minds. Zope 3 does innovation, Five does integration, and then the big

Re: [Zope-dev] Two visions

2006-02-28 Thread Philipp von Weitershausen
Martijn Faassen wrote: I see Zope 5 being a combination of Zope 2 and Zope 3, keeping the best of both. I think we already have Zope 5, and it's called Zope 2.9. I'd rather say it's called Zope 2.15 or something :). Philipp ___ Zope-Dev maillist

Re: [Zope3-dev] Re: [Zope-dev] Two visions

2006-02-28 Thread Lennart Regebro
On 2/28/06, Jim Fulton [EMAIL PROTECTED] wrote: Zope 2 is more mature than Zope 3 in a lot of areas. WebDAV and process management are a couple of examples that occur to me off the top of my head. Ah, and here I got an answer to the question I just posted. :) Much of Zope2 maturity is there

Re: [Zope3-dev] Re: [Zope-dev] Two visions

2006-02-28 Thread Jim Fulton
On Tue, 2006-02-28 at 17:29 +0100, Martijn Faassen wrote: Jim Fulton wrote: [snip] I see Zope 5 being a combination of Zope 2 and Zope 3, keeping the best of both. I think we already have Zope 5, and it's called Zope 2.9. Perhaps I'm wrong. If so, how does Zope 5 differ from Zope

[Zope-dev] Re: [Zope3-dev] Two visions

2006-02-28 Thread Martijn Faassen
Gary Poster wrote: [snip] On Feb 28, 2006, at 10:06 AM, Philipp von Weitershausen wrote: I think focusing on one app server and a dedicated set of libraries would be a good alternative to two concurring app servers. ...if the single app server is based on acquisition, __bobo_traverse__ and

Re: [Zope-dev] Two visions

2006-02-28 Thread Martijn Faassen
Philipp von Weitershausen wrote: Martijn Faassen wrote: I see Zope 5 being a combination of Zope 2 and Zope 3, keeping the best of both. I think we already have Zope 5, and it's called Zope 2.9. I'd rather say it's called Zope 2.15 or something :). Seriously, we are developing

[Zope-dev] Re: SVN: Zope/trunk/lib/python/OFS/Traversable.py using startswith()

2006-02-28 Thread Florent Guillaume
Why? x[0] is much faster than x.startswith(). Or do you expect to have empty path components? Florent Andreas Jung wrote: Log message for revision 65598: using startswith() -=- Modified: Zope/trunk/lib/python/OFS/Traversable.py

[Zope-dev] Re: [Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/Traversable.py using startswith()

2006-02-28 Thread Lennart Regebro
On 2/28/06, Andreas Jung [EMAIL PROTECTED] wrote: -if name[0] == '_': +if name.startswith('_'): Just a question: Is this only a matter of stylistic changes, or is there some, like, speedup involved? -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content

Re: [Zope3-dev] Re: [Zope-dev] Two visions

2006-02-28 Thread Martijn Faassen
Jim Fulton wrote: On Tue, 2006-02-28 at 17:29 +0100, Martijn Faassen wrote: Jim Fulton wrote: [snip] I see Zope 5 being a combination of Zope 2 and Zope 3, keeping the best of both. I think we already have Zope 5, and it's called Zope 2.9. Perhaps I'm wrong. If so, how does Zope 5

[Zope-dev] [JOB] Python/Zope Dev, Rockville, MD | 60-100k | Relo OK

2006-02-28 Thread Beau Gould
Python/Zope Dev, Rockville, MD | 60-100k | Relo OK Job Description: The main part of our development will take place in our Rockville, MD office. We are looking for a developer who will work from this office. The envisioned services are web applications and thorough knowledge and expertise in

Re: [Zope3-dev] Re: [Zope-dev] Two visions

2006-02-28 Thread Gary Poster
On Feb 28, 2006, at 12:33 PM, Martijn Faassen wrote: Jim Fulton wrote: Are you kidding? No, I'm not kidding. +1 to what Martijn said in this email (not quoting the whole thing to save precious bandwith). ___ Zope-Dev maillist -

[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot

2006-02-28 Thread 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: 3389 Blamelist: andreasjung,ctheune BUILD FAILED: failed test sincerely, -The Buildbot

[Zope-dev] buildbot failure in Zope trunk 2.4 Windows 2000 zc-bbwin6

2006-02-28 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Windows 2000 zc-bbwin6. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 3389 Blamelist: andreasjung,ctheune BUILD FAILED: failed test sincerely, -The Buildbot

Re: [Zope-dev] Inhibit URL-traversal

2006-02-28 Thread Dieter Maurer
Dario Lopez-Kästen wrote at 2006-2-13 08:06 +0100: ... It can -- with some difficulties: Templates and scripts are called because they define index_html as None. If you give a template or script a non-None index_html, then this object will be called instead of the

[Zope-dev] buildbot failure in Zope trunk 2.4 Windows 2000 zc-bbwin6

2006-02-28 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Windows 2000 zc-bbwin6. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 3396 Blamelist: andreasjung,chrism,nathan,sidnei BUILD FAILED: failed failed slave lost sincerely, -The Buildbot

[Zope-dev] ZClass Replacement Volunteer

2006-02-28 Thread Christopher Lozinski
I am considering volunteering to rewrite ZClasses. Who do I speak to? Chris ___ 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] Re: [Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/Traversable.py using startswith()

2006-02-28 Thread Philipp von Weitershausen
Lennart Regebro wrote: -if name[0] == '_': +if name.startswith('_'): Just a question: Is this only a matter of stylistic changes, or is there some, like, speedup involved? In general, using str.startswith and str.endswith is a failsafe because

[Zope-dev] Re: ZClass Replacement Volunteer

2006-02-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christopher Lozinski wrote: I am considering volunteering to rewrite ZClasses. Who do I speak to? You're in the right place. The usual mode for such a thing is to draft a proposal, outlining the risks and proposing a solution, and then to

Re: [Zope-dev] ZClass Replacement Volunteer

2006-02-28 Thread Andreas Jung
--On 28. Februar 2006 10:31:04 -1000 Christopher Lozinski [EMAIL PROTECTED] wrote: I am considering volunteering to rewrite ZClasses. Who do I speak to? You can basically start this as your own project. Starting Zope 2.10 are officially deprecated. Any new development for Zope 2 and 3

Re: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/Traversable.py using startswith()

2006-02-28 Thread Andreas Jung
--On 28. Februar 2006 21:41:24 +0100 Philipp von Weitershausen [EMAIL PROTECTED] wrote: Lennart Regebro wrote: -if name[0] == '_': +if name.startswith('_'): Just a question: Is this only a matter of stylistic changes, or is there some, like, speedup

Re: [Zope-dev] Re: [Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/Traversable.py using startswith()

2006-02-28 Thread Lennart Regebro
But Lennart is right that in this case name should in general never be an empty string and in addition startswith() is in this case 100% slower than using slicing. No, I'm not, Florent is. I just asked. :-) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management

[Zope-dev] Re: Two visions

2006-02-28 Thread Philipp von Weitershausen
Martijn Faassen wrote: I think focusing on one app server and a dedicated set of libraries would be a good alternative to two concurring app servers. ...if the single app server is based on acquisition, __bobo_traverse__ and friends, objectValues and friends, ZCatalog, and so on, I'd

Re: [Zope] Squishdot on Zope 2.9.X with Python 2.4.2

2006-02-28 Thread Jens Vagelpohl
On 28 Feb 2006, at 07:26, Dennis Allison wrote: Are there any known compatibilty problems? -d I guess a more appropriate question would be Has anyone ever done this?, with a likely answer of no ;) Chris might have tried it. jens ___ Zope

Re: [Zope] Squishdot on Zope 2.9.X with Python 2.4.2

2006-02-28 Thread Dennis Allison
Yup, it does seem a bit strange, but I'd rather not maintain multiple versions of Zope if I can avoid it. And I have a user that wants to experiment with and/or use Squishdot. On Tue, 28 Feb 2006, Jens Vagelpohl wrote: On 28 Feb 2006, at 07:26, Dennis Allison wrote: Are there any

Re: [Zope] product security changes from 2.8 to 2.8.5 ?

2006-02-28 Thread Chris Withers
Ed Colmar wrote: Now I see get a name error when trying to access it. *Error Type: NameError* *Error Value: name 'send_password_reminder' is not defined If you gave us the whole traceback we might have a clue how to help you... Chris -- Simplistix - Content Management, Zope Python

Re: [Zope] Squishdot on Zope 2.9.X with Python 2.4.2

2006-02-28 Thread Chris Withers
Dennis Allison wrote: Yup, it does seem a bit strange, but I'd rather not maintain multiple versions of Zope if I can avoid it. And I have a user that wants to experiment with and/or use Squishdot. Try it and see. I personally haven't, but I'd be interested in fixing any problems that do

RE: [Zope] Memory Leak Debugging

2006-02-28 Thread Jonathan Bowlas
Hi All, A few weeks ago I posted this message to the list but we still haven't resolved our memory leak, mainly because we have no idea where to look. So having trawled around a few forums I decided to install the LeakFinder product onto our development server and click around a little watching

Re: [Zope] Squishdot on Zope 2.9.X with Python 2.4

2006-02-28 Thread Dennis Allison
OK, I'll do that. My post was to learn whether I was walking into a mine field... On Tue, 28 Feb 2006, Chris Withers wrote: Dennis Allison wrote: Yup, it does seem a bit strange, but I'd rather not maintain multiple versions of Zope if I can avoid it. And I have a user that wants to

Re: [Zope] Squishdot on Zope 2.9.X with Python 2.4

2006-02-28 Thread Alec Mitchell
On Tuesday 28 February 2006 07:10, Dennis Allison wrote: OK, I'll do that. My post was to learn whether I was walking into a mine field... In my experience, unless you are using Zope 3 technologies in Zope 2 (via Five) there is very little difference from a Product development point of view

[Zope] ac_acquire error happens after inheriting from Folder

2006-02-28 Thread Palermo, Tom
All, I have a class called Contact that is now inheriting from Folder. After I did this, I get the following error when attempting to add a new Contact: Exception Type AttributeErrorException Value aq_acquire Traceback (innermost last): * Module ZPublisher.Publish, line 101, in

[Zope] ZOPE/Python Stellenangebote

2006-02-28 Thread Sascha Ottolski
[Please excuse this job offer in german language] Gallileus GmbH (Erfurt) sucht Entwickler Wir suchen ab März 2006 einen ZOPE-/Python-Entwickler, sowie einen Webentwickler, beide zur Festanstellung in Erfurt. Zusätzlich suchen wir für die selben Bereiche Praktikanten und studentische

Re: [Zope] ac_acquire error happens after inheriting from Folder

2006-02-28 Thread Dieter Maurer
Palermo, Tom wrote at 2006-2-28 11:25 -0500: I have a class called Contact that is now inheriting from Folder. After I did this, I get the following error when attempting to add a new Contact: Exception Type AttributeError Exception Value aq_acquire Only acquisition wrappers have the

RE: [Zope] Memory Leak Debugging

2006-02-28 Thread Dieter Maurer
Jonathan Bowlas wrote at 2006-2-28 13:20 -: ... I've also checked Control_Panel/DebugInfo for any refcounts with significant jumps and Products.Silva.Image.Image seems to be the culprit:    11.32am  11.36am Products.Silva.Image.Image    56203   

Re: [Zope] Zope/Plone logon security strategy etc

2006-02-28 Thread Dieter Maurer
michael nt milne wrote at 2006-2-28 15:51 +: I'm probably missing something really obvious but am wondering how you actually implement your product on a live plone site. I've got it installed. Do you just customise the login form that comes with the product and use that on the site? I fear

RE: [Zope] ac_acquire error happens after inheriting from Folder

2006-02-28 Thread Palermo, Tom
Hi Dieter, I figured it out after googling around for a few hours. In my manage_addContact method, I'm now getting the object after it's instantiated like so: #instantiate a contact object self._setObject(id, newContact) #get the new instance obj = self._getOb(id) #change

Re: [Zope] product security changes from 2.8 to 2.8.5 - SOLVED

2006-02-28 Thread Ed Colmar
hey All It appears that I have solved it... My process in moving over the product from the old server was to blame. Here's what I did: export all of the zodb contents, and tarball the python product. Then I imported the zodb contents into the new server, and un-tarred the product. This

[Zope] Trapping exceptions

2006-02-28 Thread Tony Middleton
Sorry if this is a silly question but I've not found anything via Google or zope.org. I am using a MailHost in a Python script. I need to trap error conditions. When I run without trapping I can get exception SMTPSenderRefused. I inserted trapping - eg try:

Re: [Zope] Trapping exceptions

2006-02-28 Thread Maciej Wisniowski
Tony Middleton wrote: This gave error global name 'SMTPSenderRefused' is not defined I tried importing smtplib and adding it to the except line and then got a permissions problem. You are not allowed to access SMTPSenderRefused in this context I'd appreciate any help with this. You may

[Zope] External Methods newbie question

2006-02-28 Thread Alric Aneron
Hello,I see I can only execute python functions in external methods. Is there any way to execute the whole file, not just a certain function? In linux I created a python script, and it doesn't have functions. I just want to execute the whole file. I tried using "self" or "init" for function names

Re: [Zope] External Methods newbie question

2006-02-28 Thread Andreas Jung
--On 28. Februar 2006 17:14:50 -0800 Alric Aneron [EMAIL PROTECTED] wrote: Hello, I see I can only execute python functions in external methods. Is there any way to execute the whole file, not just a certain function? In linux I created a python script, and it doesn't have functions. I

Re: [Zope] External Methods newbie question

2006-02-28 Thread Jonathan
I don't understand your question regarding 'execute the whole file'? Why can't you just put all of the python commands you want into an external method, then use a single 'main-line function' to call the 'sub-functions' as needed? python has a command called 'commands' which can be used

Re: [Zope] External Methods newbie question

2006-02-28 Thread Andreas Jung
--On 28. Februar 2006 20:26:13 -0500 Jonathan [EMAIL PROTECTED] wrote: python has a command called 'commands' which can be used for executing bash commands. talk about modules, not commands. -aj pgpBHzYiv1PtN.pgp Description: PGP signature ___

Re: [Zope] External Methods newbie question

2006-02-28 Thread Alric Aneron
thanks guys, I'll tryAndreas Jung [EMAIL PROTECTED] wrote: --On 28. Februar 2006 20:26:13 -0500 Jonathan <[EMAIL PROTECTED]> wrote: python has a command called 'commands' which can be used for executing bash commands.talk about modules, not commands.-aj Yahoo! Mail Bring photos to life! New

Re: [Zope] External Methods newbie question

2006-02-28 Thread Dennis Allison
To executed a whole file you need to wrap it as a function -- def foo( self ): the script and call foo as an external method. The self argument gives the context. Python provides several modules which give access to execute bash commands, linux commands, etc. Look at

Re: [Zope-DB] News Item properties

2006-02-28 Thread Charlie Clark
On 2006-02-27 at 17:31:09 [+0100], [EMAIL PROTECTED] wrote: Ciao, sto cercando di visualizzare su un page template zope (che tra l'altro e' l'home page index_html) l'ultima news inserita via plone. Ciao, scrive al'inglese per favore. Charlie Clark -- Charlie Clark eGenix.com

Re: [Zope-DB] News Item properties

2006-02-28 Thread Charlie Clark
On 2006-02-28 at 09:40:29 [+0100], [EMAIL PROTECTED] wrote: the fact is that I should have also the first 500 characters of the news (an abstract to put in the home page with a link of the entirely news) I tryed with: span tal:replace=python:test(obj.Dcoument,

Re: [Zope-DB] Partial Data Replication to postgreSQL.

2006-02-28 Thread Chris Withers
Charlie Clark wrote: You can use APE to configure where data which is normally stored in the ZODB is stored. APE is dead, Shane said so himself... Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

[Zope-DB] DCOracle2 installation problem

2006-02-28 Thread Causevic, Dzenan
Title: DCOracle2 installation problem I downloaded DCOracle2-1.2.tgz and I am trying to install DCOracle on Fedora Core 3, I am using Oracle client libraries version 9.2, $ORACLE_HOME is correctly set, but when I try to build from the source files I get the following error message saying