DasSauerkraut / calendar-weather

A module for FoundryVTT that adds a calendar widget with weather, moons cycles, and a customizable calendar.
Apache License 2.0
18 stars 26 forks source link

Calendar (Permanently?) Disappears, Can't Be Toggled Back On - Foundry VTT .7.5 and Higher #173

Open nateniemann opened 3 years ago

nateniemann commented 3 years ago

Seemingly starting with Foundry version .7.5, the Calendar Weather module doesn't load in anyone's (player or GM) UI. Opening the console and running .CWCalendar.toggle() results in the following error: Uncaught TypeError: Cannot read property 'toggled' of undefined and nothing happens. Running .CWCalendar.resetpos() won't throw any error, but it never actually executes either (promiseState is "undefined" forever).

I did a bit of digging and initially thought the issue was the Toggle error, but after reverting to .7.0 the CW Calendar loaded up perfectly - even though the Toggle error still occurs.

misthero commented 3 years ago

same here, on 7.7, only calendar and about time enabled this is the error i see:

foundry.js:4503 Foundry VTT | Rendering Dialog
foundry.js:2498 Foundry VTT | Error thrown in hooked function 
_call @ foundry.js:2498
foundry.js:2499 TypeError: Cannot read property '0' of undefined
    at DateTime.toDays (DateTime.js:150)
    at DateTime.dow (DateTime.js:172)
    at Calendar.loadSettings (calendar.mjs:123)
    at init.mjs:227
    at Function._call (foundry.js:2496)
    at Function.callAll (foundry.js:2456)
    at Game.setupGame (foundry.js:6568)
    at async Game._initializeGameView (foundry.js:7306)
    at async Game.initialize (foundry.js:6479)
_call @ foundry.js:2499