Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Export Data on Characters doesn't work #154

Closed
Vengrath97 opened this issue Feb 3, 2025 · 3 comments
Closed

[BUG] Export Data on Characters doesn't work #154

Vengrath97 opened this issue Feb 3, 2025 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Vengrath97
Copy link

Describe the bug
A clear and concise description of what the bug is, including the error details shown in the browser console.

Versions (please complete the following information):

  • FoundryVTT Core: V12 331
  • System D&D 5e 4.2.2]
  • Scene Packer Version 2.7.4
  • lib-wrapper(1.13.2.0)

To Reproduce
Steps to reproduce the behavior:

  1. Go to Actors
  2. Right-click on any actor
  3. Click on Export Data
  4. See error (in console):

foundry-esm.js:12037 Uncaught Error: You are accessing the Actor5e "data" field of which was deprecated in v10 and replaced with "system". Continued usage of pre-v10 ".data" paths is no longer supported"
[Detected 2 packages: scene-packer(2.7.4), lib-wrapper(1.13.2.0)]
at get data (foundry-esm.js:12037:15)
at 🎁Actor.prototype.toCompendium#scene-packer (wrapped.js:36:67)
at 🎁Actor.prototype.toCompendium#0 (libWrapper-wrapper.js:191:52)
at Actor5e.exportToJSON (foundry.js:11444:25)
at Object.callback (foundry.js:74265:27)
at #onClickItem (foundry.js:68634:11)
at HTMLElement.dispatch (jquery.min.js:2:40035)
at v.handle (jquery.min.js:2:38006)

Expected behavior
Windows file explorer should open to save a json file, and be able to save it.

Screenshots

Image

@Vengrath97 Vengrath97 added the bug Something isn't working label Feb 3, 2025
@sneat
Copy link
Collaborator

sneat commented Feb 4, 2025

Hi @Vengrath97 - That version of Scene Packer (2.7.4) is about 15 versions out of date (from Aug 2023). You're missing the updates that added compatibility for v12. At the time of writing, the current version is 2.8.3

Let me know if you have trouble updating to the current version or if you have issues afterwards.

@Vengrath97
Copy link
Author

Let me know if you have trouble updating to the current version or if you have issues afterwards.

Well now I'm embarrased. It turns out that Foundry didn't update some of the modules - for some reason, Scene Packer didn't update even when specifically for this module i clicked the update button, as if there was no newer version - I didn't think to cross-check release versions.

I have removed the module from my Foundry, installed it from the release link for 2.8.3 and it works fine.

@sneat
Copy link
Collaborator

sneat commented Feb 5, 2025

@Vengrath97 I had a look at the Foundry release configuration and everything looked correct there so it should have seen there was an update. No idea why it wasn't finding the update. There should be another release in the next week or so, so can you please re-open this ticket or contact me on discord (link in the readme) if your Foundry doesn't find the next update as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants