Skip to content

Export Compendium does not produce json file. #57

@Charlweed

Description

@Charlweed

Describe the bug
Export Compendium does not produce json file. It prints an error to the console.

To Reproduce
Steps to reproduce the behavior:

  1. Select"Settings" from the GM menu.
  2. In the "Compendium" section, click "Export Compendium"
  3. Fill in a directory path ("R:"), then a filename ("compendium_exported").
  4. Click Ok.
  5. See error

   Error in body of roll.       Statement options (if any): h       Statement Body : exportData(path+"/"+name+".json",jsonExport,0) Error trace : Json Export All@Lib:Campaign <<< macroLink

Expected behavior
I expect the json file to appear in the specified directory.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10
  • Maptool Version 1.11.5
  • Framework Version 2.5.7

Additional context
Add any other context about the problem here.

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