compose error

Hello,

Does anyone know what this error means?

Screenshot of Trados Studio showing a document with multiple instances of the code 'Krc'. An error message box is visible with the text 'Macro definitions are probably too long andor recursive'.

It happens after adding a margin note code <ufm>H66<ufn>, which is <px;;0>H66<pa> to be displayed in the frills.

There are no error if no margin note is added. Once it is added, this error pops up. 

This page contains a large table (21 columns), does it relate to the content of the page?

Regards,

Chung



Generated Image Alt-Text
[edited by: Trados AI at 5:31 AM (GMT 0) on 5 Mar 2024]
emoji
Parents
  • Hi Chung,

    I just wanted to chime in to add some information to your discovery.

    If you had searched the XPP documentation for the error message you would have gotten this hit under the Frills Processing section of the XyMacros manual:

    Warning message about frills processing loop in XPP documentation stating to use caution as lines over 65535 bytes cause a fatal error due to long or recursive macro definitions.

    So, it is a known limitation of the old frills processing macro writing language in combination with the maximum length of a database line in XPP (of 65535 bytes).

    The situation is typically handled by adding a loop counter to the frills processing loop and then every 100 loops or so (you'll have to determine the # that works for each specific loop) you spit out a <qa> or <mh;0><qa> if the <mh;0> is necessary to act like a "character" in order for the <qa> to actually cause composition to start a new line.

    I hope that helps.

    Jonathan Dagresta
    RWS Group/
    XPP Development

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 5:32 AM (GMT 0) on 5 Mar 2024]
Reply
  • Hi Chung,

    I just wanted to chime in to add some information to your discovery.

    If you had searched the XPP documentation for the error message you would have gotten this hit under the Frills Processing section of the XyMacros manual:

    Warning message about frills processing loop in XPP documentation stating to use caution as lines over 65535 bytes cause a fatal error due to long or recursive macro definitions.

    So, it is a known limitation of the old frills processing macro writing language in combination with the maximum length of a database line in XPP (of 65535 bytes).

    The situation is typically handled by adding a loop counter to the frills processing loop and then every 100 loops or so (you'll have to determine the # that works for each specific loop) you spit out a <qa> or <mh;0><qa> if the <mh;0> is necessary to act like a "character" in order for the <qa> to actually cause composition to start a new line.

    I hope that helps.

    Jonathan Dagresta
    RWS Group/
    XPP Development

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 5:32 AM (GMT 0) on 5 Mar 2024]
Children
No Data