Error: Macro expantions failed

4 messages Options
Embed this post
Permalink
chrissl () Error: Macro expantions failed
Reply Threaded More More options
Print post
Permalink
Hi,

  I´m trying to customize a file in folder  /portal_skins/custom/file, but it is not possible because of this error on the page:

Macro expansion failed
exceptions.KeyError: 'hidden_macro'

I´m using PLONE 3.0
Please do someone knows the meaning of this error ?

thanks
 
danielle () Re: Error: Macro expantions failed
Reply Threaded More More options
Print post
Permalink

chrissl wrote:
Hi,

  I´m trying to customize a file in folder  /portal_skins/custom/file, but it is not possible because of this error on the page:

Macro expansion failed
exceptions.KeyError: 'hidden_macro'

I´m using PLONE 3.0
Please do someone knows the meaning of this error ?

thanks
 
Was it archetypes/widgets/file.pt ? I've got the same error I can't help thinking that is why my customized file.pt is ignored ....
albacore () Re: Error: Macro expantions failed
Reply Threaded More More options
Print post
Permalink
In reply to this post by chrissl
chrissl wrote:
Hi,

  I´m trying to customize a file in folder  /portal_skins/custom/file, but it is not possible because of this error on the page:

Macro expansion failed
exceptions.KeyError: 'hidden_macro'

I´m using PLONE 3.0
Please do someone knows the meaning of this error ?

thanks
 

I've got the same error in ZMI:
Macro expansion failed
exceptions.KeyError: 'field_macro'

When I custom a zpt file. This file calls macro view in portal_skins/archetypes/widgets/field.pt:

<div metal:define-macro="body"
             class="my-custom-at-body"
                          tal:define="field_macro field_macro | here/widgets/field/macros/view;"
                         ...>
          ...              
                <metal:use_field use-macro="field_macro" />
</div>


Any pointers appreciated.
Pierre-yves Fadet
IT/Software Engineer

Institute for Research on Urban Sciences and Techniques
Espen Moe-Nilssen () Re: Error: Macro expantions failed
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
I think everybody gets that error, but it still works......


Den 4. feb. 2009 kl. 15.03 skrev pyf:




chrissl wrote:

Hi,

  I´m trying to customize a file in folder  /portal_skins/custom/file, but
it is not possible because of this error on the page: 

Macro expansion failed
exceptions.KeyError: 'hidden_macro'

I´m using PLONE 3.0
Please do someone knows the meaning of this error ?

thanks




I've got the same error in ZMI:
Macro expansion failed
exceptions.KeyError: 'field_macro'

When I custom a zpt file. This file calls macro
portal_skins/archetypes/widgets/field_macro:

<div metal:define-macro="body"
             class="my-custom-at-body"
                          tal:define="field_macro field_macro |
here/widgets/field/macros/view;"
                         ...>
          ...              
                <metal:use_field use-macro="field_macro" />
</div>

Any pointers appreciated. 

-- 
Sent from the User Interface & Design mailing list archive at Nabble.com.


_______________________________________________
UI mailing list


_______________________________________________
UI mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/ui