- changed status to resolved
Migration Failing
Hi, I updated to newest versions of Foundry 0.7.7, Obsidian 4.2.5 and DnD5e 1.1.1 and I’m having migration failures to do with a ‘walk’ property.
run.js:59 ObsidianActor TypeError: Cannot set property 'walk' of undefined
at v11.js:10
at Array.forEach (<anonymous>)
at Object.convertSpeed (v11.js:8)
at Object.convertActor (migrate.js:69)
at beginMigration (run.js:51)
Of note is I have also been using Plutonium which I think may have caused incompatibilities with this module in the past. I have tried the migration both with Plutonium enabled, and with it disabled.
I’ve attached my actors.db, let me know if you need any more info, thanks for your work!
Comments (7)
-
repo owner -
reporter - changed status to open
Thanks for the quick response!
I've updated to 4.2.6 and I'm still getting the following error unfortunately:Tried with Plutionium enabled and disabled
run.js:59 ObsidianActor {_data: {…}, data: {…}, options: {…}, apps: {…}, compendium: null, …} TypeError: Cannot set property 'walk' of undefined at v11.js:10 at Array.forEach (<anonymous>) at Object.convertSpeed (v11.js:8) at Object.convertActor (migrate.js:69) at beginMigration (run.js:51) beginMigration @ run.js:59 async function (async) beginMigration @ run.js:41 (anonymous) @ run.js:145 dispatch @ jquery.min.js:2 v.handle @ jquery.min.js:2
-
repo owner Are you sure you’re up-to-date? Those line numbers in the error message do not correspond to the new code that was updated.
-
reporter Hmm, so I am up to date with Obsidian, though the most recent time I loaded into a game world I got some toasts that seemed to say the dnd 5e version was doing something or updating, so maybe it hadn’t applied properly.
Now I no longer get the “begin migration” popup, but attempting to open a character sheet I’m getting this error:
TypeError: An error occurred while rendering Obsidian 46: Cannot read property 'itemsByType' of undefined at Obsidian.getData (obsidian.js:181) at Obsidian._render (foundry.js:4509) at Obsidian._render (foundry.js:5163) at Obsidian._render (foundry.js:16728) at Obsidian._render (obsidian.js:413) at Obsidian.render (foundry.js:4479) at Obsidian.render (foundry.js:5629) at Obsidian.render (obsidian.js:197) at ActorDirectory._onClickEntityName (foundry.js:16209) at ActorDirectory._onClickEntityName (foundry.js:25403)
Thanks again
-
repo owner That error usually suggests the actor hasn’t been prepared properly. Are there any errors further up in the console?
-
reporter Oh it looks like after re-enabling Plutonium they’re opening properly again. I guess the character sheets are tied into needing it to open, slightly scary but good they open again. Thanks for the troubleshooting help!
-
reporter - changed status to resolved
- Log in to comment
Thanks for the report. This should now be fixed in version 4.2.6.