Skip to content

local work: gmic-py accepts "endlocal" only, $gimc accepts "done" and "}" only #102

@jerzorak

Description

@jerzorak

hello,
I'm trying run custom command fe. afre_contrastfft from python script
and the error occurs:
gmic.run("sp duck afre_contrastfft , display")
gmic.GmicException: *** Error in ./afre_contrastfft/*repeat#356/*local#356/ (file '/home/jurek/.gmic', line #358) *** Command 'done': Not associated to a 'repeat' or 'for' command within the same scope.

file /home/jurek/.gmic == https://github.com/GreycLab/gmic-community/blob/master/include/afre.gmic

after changeing second word in line 358 "done" to "endl" all is going fine.
after changeing 47 words "done" almost all afre_commands work OK

but CLI $gmic refuses to work with corrected .gmic

becouse there is no words "endl | endlocal" in newest update312.gmic
please add possibiity to work "local" with "done"
TIA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions