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?
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
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
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.
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
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(