Error on export-fixtures

Hello Frappe community,

I recently got this message in the console after trying to export-fixtures.

UnboundLocalError: local variable ‘prefix’ referenced before assignment

Do you know, what the problem might be?

Thank you

Hi @Ivan_Guevara_Mondrag:

Probably related to fixtures format in hooks.py …
Try this way:

fixtures = [
    {"dt": "Property Setter", "filters": [["module", "=", "your_module"]]},
]

Hope this helps.

1 Like

Hey AVC.

Thank you so much for your help, i ´ll try it right away.

Cheers mate