foundryvtt / foundryvtt-premium-content

Public issue tracking for feature requests and bug reports related to first-party premium content for Foundry Virtual Tabletop.
https://foundryvtt.com/packages/premium
15 stars 1 forks source link

[Bug]: #631

Open thejoester opened 1 month ago

thejoester commented 1 month ago

What happened?

Foundry v12 Build 330 Abomination Vaults module version 3.1.3

I have an adventure I am running, we are 2/3 the way through. When prepping I went to test a macro and discovered that the macros were not functioning. Now, I had upgraded from V11 to V12 not too long ago and discovered many other existing macros from other modules also stopped working and needed to be re-imported from the compendium to work.

I took a backup and then went to re-import the adventure and decided to go ahead and report everything except the scenes just in case changes were made to Actors/Items etc. I did not import scenes because I didnt want to undo all the exploration and such the party already did.

It got to 1% and hung., I checked the console (F12) and there were TONS of errors. I then restarted Foundry, disabled all modules except the Adventure Module and tried again, this time capturing logs also (will attach). Something of note, is that there were several warnings about tokens before I even clicked "Yes" to confirm import (File: console-before-confirm.txt - Note I only did a find/replace on my IP so I am not putting that out there).

Then when I clicked "Yes" to confirm I received many errors in the console and it again hung up at 1%. (File: console-after-confirm.txt ).

Next I tried only importing the Macros as that was what I was having an issue with and that worked fine. I decided to try importing only actors as that was what the errors seemed to point to - and again get the same errors and it hangs at 1%.

I did create a new world and did a full import and that worked no problems, however that is not a good solution for those of us already midway through the adventure.

What package are you reporting this for?

Pathfinder: Abomination Vaults

Version

3.1.3

Relevant log output

Error: Failed data preparation for Compendium.pf2e-abomination-vaults.av.Adventure.cu825MCImBiSaJTQ.Scene.TE8aNKdE5NKGSgoV.Token.8NYkgr5Mh9jQ5eJC.Actor.qjuLgWr2VhPcuylI. this.system.attributes.weaknesses is undefined
    onError http://<My-IP-Address>.net:30000/scripts/foundry.js:654
    _safePrepareData http://<My-IP-Address>.net:30000/scripts/foundry.js:10800
    _initialize http://<My-IP-Address>.net:30000/scripts/foundry.js:10629
    _initialize http://<My-IP-Address>.net:30000/systems/pf2e/pf2e.mjs:1608
    DataModel http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:10182
    Document http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:10955
    BaseActor http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:13232
    ClientDocument http://<My-IP-Address>.net:30000/scripts/foundry.js:10593
    Actor http://<My-IP-Address>.net:30000/scripts/foundry.js:15520
    ActorPF2e http://<My-IP-Address>.net:30000/systems/pf2e/pf2e.mjs:1608
    HazardPF2e http://<My-IP-Address>.net:30000/systems/pf2e/pf2e.mjs:1608
    construct http://<My-IP-Address>.net:30000/systems/pf2e/pf2e.mjs:1608
    applyDelta http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:13503
    apply http://<My-IP-Address>.net:30000/scripts/foundry.js:15322
    _createSyntheticActor http://<My-IP-Address>.net:30000/scripts/foundry.js:15385
    _configure http://<My-IP-Address>.net:30000/scripts/foundry.js:15281
    DataModel http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:10176
    Document http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:10955
    BaseActorDelta http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:13415
    ClientDocument http://<My-IP-Address>.net:30000/scripts/foundry.js:10593
    ActorDelta http://<My-IP-Address>.net:30000/scripts/foundry.js:15277
    ActorDeltaPF2e http://<My-IP-Address>.net:30000/systems/pf2e/pf2e.mjs:1683
    initialize http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:16520
    _onUpdateBaseActor http://<My-IP-Address>.net:30000/scripts/foundry.js:23533
    _updateDependentTokens http://<My-IP-Address>.net:30000/scripts/foundry.js:16161
    _onUpdate http://<My-IP-Address>.net:30000/scripts/foundry.js:16097
    _onUpdate http://<My-IP-Address>.net:30000/systems/pf2e/pf2e.mjs:1608
    handleUpdateDocuments http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:56556
    documents http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:56563
    #handleUpdateDocuments http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:56563
    _updateDocuments http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:56446
    update http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:12328
    updateDocuments http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:11473
    updateDocuments http://<My-IP-Address>.net:30000/systems/pf2e/pf2e.mjs:1608
    importContent http://<My-IP-Address>.net:30000/scripts/foundry.js:16314
    _importContent http://<My-IP-Address>.net:30000/scripts/foundry.js:75755
    _importContent http://<My-IP-Address>.net:30000/modules/pf2e-abomination-vaults/js/importer.mjs:159
    _importLegacy http://<My-IP-Address>.net:30000/scripts/foundry.js:75723
    _updateObject http://<My-IP-Address>.net:30000/scripts/foundry.js:75687
    _onSubmit http://<My-IP-Address>.net:30000/scripts/foundry.js:6664
    _activateCoreListeners http://<My-IP-Address>.net:30000/scripts/foundry.js:6599
    _activateCoreListeners http://<My-IP-Address>.net:30000/scripts/foundry.js:7120
    _render http://<My-IP-Address>.net:30000/scripts/foundry.js:5865
    _render http://<My-IP-Address>.net:30000/scripts/foundry.js:6571
    _render http://<My-IP-Address>.net:30000/scripts/foundry.js:7157
    render http://<My-IP-Address>.net:30000/scripts/foundry.js:5792
    _onClickEntryName http://<My-IP-Address>.net:30000/scripts/foundry.js:73940
    jQuery 8
    activateListeners http://<My-IP-Address>.net:30000/scripts/foundry.js:73129
    activateListeners http://<My-IP-Address>.net:30000/scripts/foundry.js:73928
    _render http://<My-IP-Address>.net:30000/scripts/foundry.js:5866
    _render http://<My-IP-Address>.net:30000/scripts/foundry.js:72744
    _render http://<My-IP-Address>.net:30000/scripts/foundry.js:73089
    _render http://<My-IP-Address>.net:30000/scripts/foundry.js:73886
    render http://<My-IP-Address>.net:30000/scripts/foundry.js:5792
    render http://<My-IP-Address>.net:30000/scripts/foundry.js:86733
    render http://<My-IP-Address>.net:30000/scripts/foundry.js:12278
    _onClickEntryName http://<My-IP-Address>.net:30000/scripts/foundry.js:90982
Caused by: TypeError: this.system.attributes.weaknesses is undefined
    prepareData http://<My-IP-Address>.net:30000/systems/pf2e/pf2e.mjs:1608
    _safePrepareData http://<My-IP-Address>.net:30000/scripts/foundry.js:10798
    _initialize http://<My-IP-Address>.net:30000/scripts/foundry.js:10629
    _initialize http://<My-IP-Address>.net:30000/systems/pf2e/pf2e.mjs:1608
    DataModel http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:10182
    Document http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:10955
    BaseActor http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:13232
    ClientDocument http://<My-IP-Address>.net:30000/scripts/foundry.js:10593
    Actor http://<My-IP-Address>.net:30000/scripts/foundry.js:15520
    ActorPF2e http://<My-IP-Address>.net:30000/systems/pf2e/pf2e.mjs:1608
    HazardPF2e http://<My-IP-Address>.net:30000/systems/pf2e/pf2e.mjs:1608
    construct http://<My-IP-Address>.net:30000/systems/pf2e/pf2e.mjs:1608
    applyDelta http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:13503
    apply http://<My-IP-Address>.net:30000/scripts/foundry.js:15322
    _createSyntheticActor http://<My-IP-Address>.net:30000/scripts/foundry.js:15385
    _configure http://<My-IP-Address>.net:30000/scripts/foundry.js:15281
    DataModel http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:10176
    Document http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:10955
    BaseActorDelta http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:13415
    ClientDocument http://<My-IP-Address>.net:30000/scripts/foundry.js:10593
    ActorDelta http://<My-IP-Address>.net:30000/scripts/foundry.js:15277
    ActorDeltaPF2e http://<My-IP-Address>.net:30000/systems/pf2e/pf2e.mjs:1683
    initialize http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:16520
    _onUpdateBaseActor http://<My-IP-Address>.net:30000/scripts/foundry.js:23533
    _updateDependentTokens http://<My-IP-Address>.net:30000/scripts/foundry.js:16161
    _onUpdate http://<My-IP-Address>.net:30000/scripts/foundry.js:16097
    _onUpdate http://<My-IP-Address>.net:30000/systems/pf2e/pf2e.mjs:1608
    handleUpdateDocuments http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:56556
    documents http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:56563
    #handleUpdateDocuments http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:56563
    _updateDocuments http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:56446
    update http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:12328
    updateDocuments http://<My-IP-Address>.net:30000/scripts/foundry-esm.js:11473
    updateDocuments http://<My-IP-Address>.net:30000/systems/pf2e/pf2e.mjs:1608
    importContent http://<My-IP-Address>.net:30000/scripts/foundry.js:16314
    _importContent http://<My-IP-Address>.net:30000/scripts/foundry.js:75755
    _importContent http://<My-IP-Address>.net:30000/modules/pf2e-abomination-vaults/js/importer.mjs:159
    _importLegacy http://<My-IP-Address>.net:30000/scripts/foundry.js:75723
    _updateObject http://<My-IP-Address>.net:30000/scripts/foundry.js:75687
    _onSubmit http://<My-IP-Address>.net:30000/scripts/foundry.js:6664
    _activateCoreListeners http://<My-IP-Address>.net:30000/scripts/foundry.js:6599
    _activateCoreListeners http://<My-IP-Address>.net:30000/scripts/foundry.js:7120
    _render http://<My-IP-Address>.net:30000/scripts/foundry.js:5865
    _render http://<My-IP-Address>.net:30000/scripts/foundry.js:6571
    _render http://<My-IP-Address>.net:30000/scripts/foundry.js:7157
    render http://<My-IP-Address>.net:30000/scripts/foundry.js:5792
    _onClickEntryName http://<My-IP-Address>.net:30000/scripts/foundry.js:73940
    jQuery 8
    activateListeners http://<My-IP-Address>.net:30000/scripts/foundry.js:73129
    activateListeners http://<My-IP-Address>.net:30000/scripts/foundry.js:73928
    _render http://<My-IP-Address>.net:30000/scripts/foundry.js:5866
    _render http://<My-IP-Address>.net:30000/scripts/foundry.js:72744
    _render http://<My-IP-Address>.net:30000/scripts/foundry.js:73089
    _render http://<My-IP-Address>.net:30000/scripts/foundry.js:73886
    render http://<My-IP-Address>.net:30000/scripts/foundry.js:5792
    render http://<My-IP-Address>.net:30000/scripts/foundry.js:86733
    render http://<My-IP-Address>.net:30000/scripts/foundry.js:12278
    _onClickEntryName http://<My-IP-Address>.net:30000/scripts/foundry.js:90982
foundry.js:655:30