Re: [Zope-dev] Proxy not Propagating - could be FSDTMLMethod

2001-07-04 Thread Dieter Maurer
alan runyan writes: > ... > I made it a DTMLMethod (by 'customize' in the > CMF) and added it a appropriate proxy role, and it still gripes. It should not, unless called inapropriately (i.e. without a top level namespace). > can i > Programatically assign a obj a proxie role? any examples?

Re: [Zope-dev] Bug in TransparentFolders ???

2001-07-04 Thread Andre Schubert
Hi, after searching the soures if found a way the point of disaster. in TransparentFolderPatch i changed the line: if tpids and not self._v_no_transparent and name[:3] != '_p_' : to: if tpids and not self._v_no_transparent and name[:3] != '_p_' and name[-11:] != '_Permission': which means to me t

Re: [Zope-dev] Bug in ZopeFind in Zope 2.4.0b2

2001-07-04 Thread Chris Withers
Chris Withers wrote: > > File E:\Zope\24C37D~1.0B2\lib\python\DocumentTemplate\pDocumentTemplate.py, > line 297, in render_blocks ...furthermore, why's pDocumentTemplate.py getting used? Is something wrong with cDocumentTemplate.py? cheers, Chris

[Zope-dev] Bug in ZopeFind in Zope 2.4.0b2

2001-07-04 Thread Chris Withers
I tried to use the Find tab to find all Python Scripts in a ZODB. It got: Error Type: KeyError Error Value: obj_roles Traceback (innermost last): File E:\Zope\24C37D~1.0B2\lib\python\ZPublisher\Publish.py, line 223, in publish_module File E:\Zope\24C37D~1.0B2\lib\python\ZPublisher\Publish.

Re: [Zope-dev] Weird message from Python Scripts

2001-07-04 Thread Jerome Alet
Hi, On Wed, 4 Jul 2001, Chris Withers wrote: > Shane Hathaway wrote: > > > > It's behaving correctly. Visit the scripts and click "Save changes" to > > compile. (You don't have too many, do you?) > > 30-40 :-( > > What short python script would do this for me? > > I'm guessign something li

Re: [Zope-dev] Weird message from Python Scripts

2001-07-04 Thread Chris Withers
Shane Hathaway wrote: > > It's behaving correctly. Visit the scripts and click "Save changes" to > compile. (You don't have too many, do you?) 30-40 :-( What short python script would do this for me? I'm guessign something like: for s in context.ZopeFind(spec=['Python Script']): s.edit(