#libWrapper not loading for some reason

1 messages · Page 1 of 1 (latest)

tardy pollen
#

better discuss things here

#

what did you change?

loud fjord
#

but here's the thing, after it breaks, I can disable everything except libwrapper and one other module and it remains broken

#

okay let me back track

tardy pollen
#

and also repeat the exercise, localStorage['core.language'] and also localStorage['lib-wrapper.log-verbosity']? In case something broke there

loud fjord
#

I changed three settings to make it break on a brand new profile. I change Pan to Token Speak to off, Performance Mode to Maximum, and FPS meter to 60

#

localStorage['lib-wrapper.log-verbosity']
""400""

#

so that's different

tardy pollen
#

huh

#

a string

loud fjord
#

core.language was still undefined

tardy pollen
#

I think that's the bug

#

let me confirm

#

if it is the bug, something should have shown up in the console though

loud fjord
#

I did ANOTHER new profile = loads clean

#

All I changed was Pan to Token speaker this time, pressed "save" and it's doing the same thing

tardy pollen
#

Yeah, I think I know the issue. Give me a moment

#

Can you confirm if doing the same in Chrome breaks things? Just curious

loud fjord
#

It breaks in Chrome too. I logged into Chrome, changed one setting (performance mode from Max to High) and that broke too

tardy pollen
#

ah you did 🙂

#

thanks

#

I think it should be a quick fix, give me just a moment to confirm everything is as I think

loud fjord
#

lol omg it is a real bug? I thought I was just going insane.

tardy pollen
#

I think so

#

So, yes, I think it is a real bug. But when I reproduce it, the console gets full of JS errors

#

so yeah, still surprised you don't see any. Means I might not have reproduced the exact same issue as you

loud fjord
#

foundry.js:316 ReferenceError: Error thrown in hooked function '' for hook 'init': libWrapper is not defined
at patch (patch.js:65:5)
at canvas.js:299:5
at Function._call (foundry.js:294:14)
at Function.callAll (foundry.js:253:12)
at Game.initialize (foundry.js:5418:11)
at window.addEventListener.once (foundry.js:62429:26)

tardy pollen
#

anything before that? I want the first error you can find

loud fjord
#

okay let me do a refresh

#

libWrapper-log.js:176 Uncaught Error: Parameter 'value' must be a 'VERBOSITY' enum value, or an integer.
at Function.set verbosity [as verbosity] (libWrapper-log.js:176:10)
at Function.init (libWrapper-log.js:216:8)
at libWrapper-log.js:265:5

#

that's the absolute first error

tardy pollen
#

Yes, that's exactly what I see

#

were you seeing that before? It would have told me the issue immediately

loud fjord
#

No, but I was looking in Firefox.

#

Firefox wasn't showing half these errors

tardy pollen
#

hmm, is it possible you accidentally toggled off "Errors"?

loud fjord
#

I pulled that from Chrome Console

tardy pollen
#

"Errors" needs to be 'light grey' above, otherwise they get hidden

loud fjord
#

sorry I have like 4 firefox profiles open right now let me get back to the original one

tardy pollen
#

anyway, yes I have reproduced this issue, just fixing it

#

I've made it:

  1. not break everything in case this piece of code breaks
#

fixing the real issue now

loud fjord
#

I mean it's showing now. I honestly could not tell you if Errors was light grey or not before. Sorry, but everything on FF has been reset. But I guess it must've been clicked off because I have it now. Sorry it forced me to find it in a round about way.

tardy pollen
#

no problem

#

can you test v1.12.1.0?

#

should pop up there in a few moments

#

let me know if you can still reproduce the issue, but AFAIK it should be fixed

loud fjord
#

sorry I spaced out

#

Yes, updated, everything works as expected

#

Thank you very much!

tardy pollen
#

Perfect, thanks!