Re: [Zope3-Users] selling zope to a CTO

2007-01-10 Thread Christophe Combelles
Roy Mathew a écrit : Hi all, Does anyone know of a canned presentation or slides/papers that would help convince an openminded CTO/CIO that Zope (z3) makes business sense in a world dominated by huge J2EE and .NET projects. yes :) but I guess everybody knows it http://oodt.jpl.nasa.gov/better

[Zope3-Users] selling zope to a CTO

2007-01-10 Thread Roy Mathew
Hi all, Does anyone know of a canned presentation or slides/papers that would help convince an openminded CTO/CIO that Zope (z3) makes business sense in a world dominated by huge J2EE and .NET projects. -- Thanks, Roy Mathew. ___ Zope3-users mailing li

[Zope3-Users] recovering from a lost db connection

2007-01-10 Thread Roy Mathew
What is the recommended way to recover from a db connection that is held by a Psycopgda adapter instance? If for some reason postgres goes down, I get the following error: File "/var/lib/zope3/instances/instance.barry2007/lib/python/sqlos/adapter.py", line 83, in _runWithConnection val = m

[Zope3-Users] Re: getUtilitiesFor without context

2007-01-10 Thread Philipp von Weitershausen
Florian Lindner wrote: Hello, I have some local utilites registered. Now I try to call them from a function that don't have a context: utils = getUtilitiesFor(INewsfeed) for i in utils: print "Utility called:", i.__name__ i.sendNotification() but that always deliver no

Re: [Zope3-Users] getUtilitiesFor without context

2007-01-10 Thread Tom Dossis
Tom Dossis wrote: > Florian Lindner wrote: >>> Use: >>> # work out what your site >>> hook.set(site) >> Mhh, the hook object does not exist, hooks does not have a attribute set. >> What >> object do you refer to? > > My apologies, should be: > > hooks.set(site) hooks.setSite(site) __

Re: [Zope3-Users] getUtilitiesFor without context

2007-01-10 Thread Tom Dossis
Florian Lindner wrote: > >> Use: >> # work out what your site >> hook.set(site) > > Mhh, the hook object does not exist, hooks does not have a attribute set. > What > object do you refer to? My apologies, should be: hooks.set(site) ___ Zope3

Re: [Zope3-Users] getUtilitiesFor without context

2007-01-10 Thread Florian Lindner
Am Mittwoch, 10. Januar 2007 22:14 schrieb Tom Dossis: > Florian Lindner wrote: > > Hello, > > I have some local utilites registered. Now I try to call them from a > > function that don't have a context: > > > > utils = getUtilitiesFor(INewsfeed) > > for i in utils: > > print "Utili

Re: [Zope3-Users] getUtilitiesFor without context

2007-01-10 Thread Tom Dossis
Florian Lindner wrote: > Hello, > I have some local utilites registered. Now I try to call them from a function > that don't have a context: > > utils = getUtilitiesFor(INewsfeed) > for i in utils: > print "Utility called:", i.__name__ > i.sendNotification() > > but that

[Zope3-Users] getUtilitiesFor without context

2007-01-10 Thread Florian Lindner
Hello, I have some local utilites registered. Now I try to call them from a function that don't have a context: utils = getUtilitiesFor(INewsfeed) for i in utils: print "Utility called:", i.__name__ i.sendNotification() but that always deliver no utilities. How do get the

Re: [Zope3-Users] Name chooser and Renaming

2007-01-10 Thread Marius Gedminas
On Mon, Jan 08, 2007 at 06:24:17PM +0100, David Johnson wrote: > Is it possible to have both a NameChooser and an ObjectRenamer. If > so...how? It seems that zope.app.container.browser contents.py has > the following code: > > self.supportsRename = ( > self.supportsCut and

[Zope3-Users] Re: Can I use IPython in debugzope stuff ?

2007-01-10 Thread Philipp von Weitershausen
KLEIN Stéphane wrote: Can I use IPython in debugzope stuff ? http://wiki.zope.org/zope2/DebuggingWithIPythonAndOtherTips Should work on Zope 3 as well. -- http://worldcookery.com -- Professional Zope documentation and training 2nd edition of Web Component Development with Zope 3 is now shipp

[Zope3-Users] Reminder: Early Bird Registration for PyCon Ending Soon

2007-01-10 Thread Jeff Rush
Greetings. As the co-chair for the upcoming Python conference, being held in Dallas (Addison) Texas, I want to remind folk to register before early bird registration prices end. The event is the fifth international Python Conference, being held Feb 23-25, 2007 at the Marriott-Quorum in Addiso

Re: [Zope3-Users] Name chooser and Renaming

2007-01-10 Thread David Johnson
Okay. Since I didn't get a response I assumed no one else knew either. I figured out the following: 1. Since I have a custom container that is derived from IContainer, it is already configured as a IContainerNamesContainer, and if I override chooseName() and checkName(), I get the desired e