PDA

View Full Version : Unable to export data into module



Akuranith
March 15th, 2022, 20:44
Hello, I was going to export some homebrew classes/spells/etc. into a module to import into my campaigns as I have successfully done previously, however I am now running into an error with the export functionality.

[ERROR] Script execution error: [string "scripts/manager_export.lua"]:392: export: Invalid parameters

I started with the usual debugging process of disabling all extensions, but after that did not work, I opted to create an entirely new PFRPG2 campaign and try exporting immediately (which would export nothing, but I figured was worth as a test). I ran into the same export error from an entirely fresh campaign with no modules or extensions activated.

Attached is the console log from that fresh campaign, though with connection info edited out.

Moon Wizard
March 15th, 2022, 22:43
You're running an old version of the FG client (v4.1.10) with the latest version of the rulesets. The export routine has been updated recently to have more options; so you need to be running the latest version of the FG client v4.1.14+

One situation where we have seen people run into issues with multiple versions is if they change their FG application path without deleting the old path or updating the desktop shortcut. Make sure that the shortcut on your desktop for FG is pointing to the same folder as noted in the App Folder in the FG Settings.

If that's not the issue; I recommend uninstalling and reinstalling.

Regards,
JPG

Akuranith
March 15th, 2022, 23:04
Hi Moon Wizard

Alright, thank you for the heads up! I had been running the Check for Updates command from the launcher reliably so I didn't think there would be a version issue, didn't even think to look.

With that in mind I went into the App Launcher -> Settings -> Troubleshoot and ran the "Force App Update" command. That updated my client installation to v4.1.14 properly.

That seemed to resolve the issue after testing the export again! Good call on that being the issue.

Mine may be a unique issue because I use a set up where I have Fantasy Grounds installed on a local drive, however I point the data directory at a OneDrive folder so that it is automatically updated between multiple machines (I'll sometimes make edits on one machine, but I always run my campaigns from another). So maybe it loses sync as to whether the installation is fully updated on one machine because it is fully updated on the other.

Moon Wizard
March 15th, 2022, 23:30
Yes, the vault stores the manifest and update state for programs; so that would affect the situation. We generally recommend against using an active synch service; but instead make scheduled backups.

Regards,
JPG

Trenloe
March 16th, 2022, 02:23
...however I point the data directory at a OneDrive folder so that it is automatically updated between multiple machines (I'll sometimes make edits on one machine, but I always run my campaigns from another).
As Moon Wizard mentions, we strongly recommend not to use any file sync/cloud storage on the live FG data as there have been reports of data loss/corruption and other issues (like the one you experienced).

Akuranith
March 16th, 2022, 03:46
Alright, I'll keep that in mind. Thanks both of you!