dragonflagon-fvtt icon indicating copy to clipboard operation
dragonflagon-fvtt copied to clipboard

DF Scene Enchancement: v11 broken

Open PwQt opened this issue 1 year ago • 8 comments

Module DF Scene Enhancement 3.6.0 Foundry v11.300 DND5e 2.2.1

Describe the issue A exception occurs + an error message appears after loading the module to check the console.

Console exception message

foundry.js:753 LibWrapperPackageError: lib-wrapper. Error detected in module DF Scene Enhancement. It is likely this module has not been updated for FVTT Version 11 Stable. This is not a libWrapper bug. Find information about this module here: https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-scene-enhance Report this issue here: https://github.com/flamewave000/dragonflagon-fvtt/issues

== Technical Details: Detected by libWrapper. Package ID= df-scene-enhance Error= Can't wrap 'SceneDirectory.prototype._onClickDocumentName', target does not exist or could not be found.

[Detected 2 packages: lib-wrapper, df-scene-enhance] at new 🎁constructor (libWrapper-wrapper.js:111:11) at libWrapper-api.js:82:18 at de (libWrapper-api.js:155:9) at 🎁register [as register] (libWrapper-api.js:525:14) at DFSceneNav.patchSceneDirectoryClick (df-scene-nav.ts:21:15) at DFSceneNav.ready (df-scene-nav.ts:124:14) at Object.fn (df-scene-enhance.ts:20:2) at #call (foundry.js:730:20) at Hooks.callAll (foundry.js:687:17) at Game.setupGame (foundry.js:8684:11) at async Game._initializeGameView (foundry.js:9925:5) at async Game.initialize (foundry.js:8588:5)

To Reproduce Steps to reproduce the behavior:

  1. Update to 11.300
  2. Launch any game

Screenshots (Optional) obraz

In addition if possible the module posts as a compatibility risk in server module management: obraz

PwQt avatar Jun 03 '23 19:06 PwQt

any plans on updating it?

PwQt avatar Jul 02 '23 06:07 PwQt

+1

davelacorneille avatar Jul 20 '23 19:07 davelacorneille

+1

Gray-Geist avatar Jul 25 '23 01:07 Gray-Geist

From taking a small sneak peek into the API, it seems like the issue is with removal of the

SidebarDirectory._onClickDocumentName();

method. The SceneDirectory class now inherits over DocumentDirectory class.

PwQt avatar Aug 13 '23 11:08 PwQt

+1, I have other modules dependent on this module (pretty sure anyway?) and this has been an issue for a while now. Thank you!

Nemodious avatar Aug 14 '23 21:08 Nemodious

foundry.js:68095 DF Scene Enhancement: Error detected in module. It is likely this module has not been updated for FVTT Version 11 Stable. (See JS Console) fetch @ foundry.js:68095 foundry.js:753 LibWrapperPackageError: lib-wrapper. Error detected in module DF Scene Enhancement. It is likely this module has not been updated for FVTT Version 11 Stable.

This is not a libWrapper bug.

Find information about this module here: https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-scene-enhance Report this issue here: https://github.com/flamewave000/dragonflagon-fvtt/issues

== Technical Details: Detected by libWrapper. Package ID= df-scene-enhance Error= Can't wrap 'SceneDirectory.prototype._onClickDocumentName', target does not exist or could not be found.

[Detected 2 packages: lib-wrapper, df-scene-enhance] at new 🎁constructor (libWrapper-wrapper.js:111:11) at libWrapper-api.js:82:18 at de (libWrapper-api.js:155:9) at 🎁register [as register] (libWrapper-api.js:525:14) at DFSceneNav.patchSceneDirectoryClick (df-scene-nav.ts:21:15) at DFSceneNav.ready (df-scene-nav.ts:124:14) at Object.fn (df-scene-enhance.ts:20:2) at #call (foundry.js:730:20) at Hooks.callAll (foundry.js:687:17) at Game.setupGame (foundry.js:8666:11) at async Game._initializeGameView (foundry.js:9908:5) at async Game.initialize (foundry.js:8570:5)

Nemodious avatar Aug 14 '23 21:08 Nemodious

Still hoping this gets resolved. :)

yjeroen avatar Oct 01 '23 20:10 yjeroen

Simply changing SceneDirectory.prototype._onClickDocumentName to SceneDirectory.prototype._onClickEntryName here fixed the issue and made the module work again for me (v12.324).

Woazboat avatar May 31 '24 13:05 Woazboat