Code Monkey home page Code Monkey logo

Comments (9)

ruipin avatar ruipin commented on June 2, 2024

You'll need to provide more information about what you mean by "this crashes 0.8.7". What is the libWrapper error you are seeing?

It works perfectly fine for me with all modules in this list installed and enabled (except where the modules themselves are not compatible with 0.8.x). I just hadn't updated the compatibility version to 0.8.7 yet.

I have received no bug reports for 0.8.7 other than this one, and considering libWrapper has an install base of over 50% on Forge, and v1.7.1.0 has already had almost 3K downloads since 2 days ago (which is also the same day 0.8.7 released), I would be incredibly surprised if there was a serious incompatibility with 0.8.7 and you were the first to notice. As such, I am tempted to believe this is an issue with a particular module, rather than libWrapper itself. But if you can provide more information, I should be able to confirm.

from fvtt-lib-wrapper.

wwitunsky avatar wwitunsky commented on June 2, 2024

Ill do some more poking around to give you the error. Not a wiz with this stuff so please bare with me.

from fvtt-lib-wrapper.

ruipin avatar ruipin commented on June 2, 2024

Assuming you have libWrapper installed and enabled, it should give you an error message in a red "notification bubble" at the top of the screen. What does this message say?

You should also be able to open the browser console (press F12), refresh Foundry, and search for the corresponding red message there. This message should be expandable when you click it, and will show you a full stack trace of the error. Can you post this?

from fvtt-lib-wrapper.

wwitunsky avatar wwitunsky commented on June 2, 2024

Sure doing a campaign at the moment but will post as soon as I can.

from fvtt-lib-wrapper.

wwitunsky avatar wwitunsky commented on June 2, 2024

This is one of the libwrapper dependencies.


VM8778:8
I: Error detected in module 'macro-icons'.

libWrapper: Can't wrap 'TextEditor._createEntityLink', target does not exist or could not be found.
at new 🎁constructor (http://localhost:30000/modules/lib-wrapper/lib-wrapper.js:1:11298)
at Y (http://localhost:30000/modules/lib-wrapper/lib-wrapper.js:1:26770)
at http://localhost:30000/modules/lib-wrapper/lib-wrapper.js:1:29623
at Function.🎁register [as register] (http://localhost:30000/modules/lib-wrapper/lib-wrapper.js:1:29626)
at http://localhost:30000/modules/macro-icons/main.js:7:14
at Function._call (eval at <anonymous> (http://localhost:30000/modules/lib-wrapper/lib-wrapper.js:1:33401), <anonymous>:4:14)
at Function.callAll (http://localhost:30000/scripts/foundry.js:153:12)
at Game.setupGame (http://localhost:30000/scripts/foundry.js:4307:11)
at async Game._initializeGameView (http://localhost:30000/scripts/foundry.js:5117:5)
at async Game.initialize (http://localhost:30000/scripts/foundry.js:4202:5)

  _call @ VM8778:8
  callAll @ foundry.js:153
  setupGame @ foundry.js:4307
  async function (async)    
  setupGame @ foundry.js:4284
  _initializeGameView @ foundry.js:5117
  _initializeView @ foundry.js:5093
  initialize @ foundry.js:4202
  async function (async)    
  initialize @ foundry.js:4196
  🎁call_wrapped @ libWrapper-wrapper.js:466
  🎁libWrapperInit @ libWrapper-api.js:599
  🎁Game.prototype.initialize#0 @ libWrapper-wrapper.js:160
  window.addEventListener.once @ foundry.js:53073
  async function (async)    
  window.addEventListener.once @ foundry.js:53072

from fvtt-lib-wrapper.

wwitunsky avatar wwitunsky commented on June 2, 2024

VM26250:8
TypeError: Cannot read property 'addChild' of null
at TokenLayer.createObject (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">foundry.js:19472</span>)
at TokenDocument5e.get object [as object] (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">foundry.js:8369</span>)
at TokenLayer.get (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">foundry.js:19529</span>)
at Function._onRenderChatMessage (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">concentrator.js:48</span>)
at <span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">signal.js:192</span>
at Function._call (eval at &lt;anonymous&gt; (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">libWrapper-error_listeners.js:56</span>), &lt;anonymous&gt;:4:14)
at Function.call (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">foundry.js:179</span>)
at ChatMessage.getHTML (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">foundry.js:12950</span>)
at async ChatLog._renderBatch (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">foundry.js:32162</span>)
at async ChatLog._renderInner (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">foundry.js:32132</span>)</span></span></span></span></div><div class="" style="box-sizing: border-box; min-width: 0px; min-height: 0px; flex: 0 0 auto; color: rgb(213, 213, 213); font-family: consolas, &quot;lucida console&quot;, &quot;courier new&quot;, monospace; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(41, 0, 0); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><span class="monospace" style="display: inline-block; --monospace-font-size: 12px; --monospace-font-family: consolas, lucida console, courier new, monospace; --source-code-font-size: 12px; --source-code-font-family: consolas, lucida console, courier new, monospace; box-sizing: border-box; min-width: 0px; min-height: 0px; font-family: var(--monospace-font-family); font-size: var(--monospace-font-size)  !important;">
  _call @ VM26250:8
  call @ foundry.js:179
  getHTML @ foundry.js:12950
  async function (async)    
  getHTML @ foundry.js:12938
  _renderBatch @ foundry.js:32162
  async function (async)    
  _renderBatch @ foundry.js:32162
  _renderInner @ foundry.js:32132
  async function (async)    
  _renderInner @ foundry.js:32131
  _render @ foundry.js:2048
  async function (async)    
  _render @ foundry.js:2042
  🎁call_wrapped @ libWrapper-wrapper.js:466
  🎁Application.prototype._render#lib-wrapper @ libWrapper-error_listeners.js:75
  🎁Application.prototype._render#0 @ libWrapper-wrapper.js:160
  _render @ foundry.js:23186
  _render @ foundry.js:32123
  _render @ foundry.js:22995
  async function (async)    
  _render @ foundry.js:22987
  render @ foundry.js:2004
  initializeUI @ foundry.js:4391
  setupGame @ foundry.js:4293
  async function (async)    
  setupGame @ foundry.js:4284
  _initializeGameView @ foundry.js:5117
  _initializeView @ foundry.js:5093
  initialize @ foundry.js:4202
  async function (async)    
  initialize @ foundry.js:4196
  🎁call_wrapped @ libWrapper-wrapper.js:466
  🎁libWrapperInit @ libWrapper-api.js:599
  🎁Game.prototype.initialize#0 @ libWrapper-wrapper.js:160
  window.addEventListener.once @ foundry.js:53073
  async function (async)    
  window.addEventListener.once @ foundry.js:53072

from fvtt-lib-wrapper.

wwitunsky avatar wwitunsky commented on June 2, 2024
TypeError: Cannot read property 'addChild' of null
at TokenLayer.createObject (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">foundry.js:19472</span>)
at TokenDocument5e.get object [as object] (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">foundry.js:8369</span>)
at TokenLayer.get (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">foundry.js:19529</span>)
at Function._onRenderChatMessage (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">concentrator.js:48</span>)
at <span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">signal.js:192</span>
at Function._call (eval at &lt;anonymous&gt; (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">libWrapper-error_listeners.js:56</span>), &lt;anonymous&gt;:4:14)
at Function.call (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">foundry.js:179</span>)
at ChatMessage.getHTML (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">foundry.js:12950</span>)
at async ChatLog._renderBatch (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">foundry.js:32162</span>)
at async ChatLog._renderInner (<span class="devtools-link" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: rgb(171, 171, 171); text-decoration: underline; cursor: pointer; word-break: break-all;">foundry.js:32132</span>)</span></span></span></span></div><div class="" style="box-sizing: border-box; min-width: 0px; min-height: 0px; flex: 0 0 auto;"><span class="monospace" style="display: inline-block; --monospace-font-size: 12px; --monospace-font-family: consolas, lucida console, courier new, monospace; --source-code-font-size: 12px; --source-code-font-family: consolas, lucida console, courier new, monospace; box-sizing: border-box; min-width: 0px; min-height: 0px; font-family: var(--monospace-font-family); font-size: var(--monospace-font-size)  !important;">
  _call @ VM26250:8
  call @ foundry.js:179
  getHTML @ foundry.js:12950
  async function (async)    
  getHTML @ foundry.js:12938
  _renderBatch @ foundry.js:32162
  async function (async)    
  _renderBatch @ foundry.js:32162
  _renderInner @ foundry.js:32132
  async function (async)    
  _renderInner @ foundry.js:32131
  _render @ foundry.js:2048
  async function (async)    
  _render @ foundry.js:2042
  🎁call_wrapped @ libWrapper-wrapper.js:466
  🎁Application.prototype._render#lib-wrapper @ libWrapper-error_listeners.js:75
  🎁Application.prototype._render#0 @ libWrapper-wrapper.js:160
  _render @ foundry.js:23186
  _render @ foundry.js:32123
  _render @ foundry.js:22995
  async function (async)    
  _render @ foundry.js:22987
  render @ foundry.js:2004
  initializeUI @ foundry.js:4391
  setupGame @ foundry.js:4293
  async function (async)    
  setupGame @ foundry.js:4284
  _initializeGameView @ foundry.js:5117
  _initializeView @ foundry.js:5093
  initialize @ foundry.js:4202
  async function (async)    
  initialize @ foundry.js:4196
  🎁call_wrapped @ libWrapper-wrapper.js:466
  🎁libWrapperInit @ libWrapper-api.js:599
  🎁Game.prototype.initialize#0 @ libWrapper-wrapper.js:160
  window.addEventListener.once @ foundry.js:53073
  async function (async)    
  window.addEventListener.once @ foundry.js:53072


from fvtt-lib-wrapper.

ruipin avatar ruipin commented on June 2, 2024

As the first error message helpfully states (Error detected in module 'macro-icons'.), it isn't a libWrapper issue but instead an issue with a module that probably hasn't been updated yet. In this case, at least Macro Icons (module ID macro-icons) seems to be broken.

The other 2 errors are also not related to libWrapper, and are possibly (but not certainly) caused by the module that has the files signal.js and concentrator.js, which I presume is Combat Utility Belt.

Try disabling one (or both) of these modules and see if you still get errors. You should then report these issues to the corresponding module developers, and have them fix these modules. The Foundry VTT Discord #modules-troubleshooting channel is also a good place to talk about these type of issues.

I'll close this issue as invalid, and think about how to improve the error messages from libWrapper so that it is more obvious libWrapper isn't causing this type of issues. You're not the first (or the second, or the third...) to become confused by the current messages.

from fvtt-lib-wrapper.

wwitunsky avatar wwitunsky commented on June 2, 2024

Much Appreciated
Still trying to understand these things thank your for the prompt assistance

from fvtt-lib-wrapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.