#winterwulf3118 Ibhave simplecalendar and
1 messages ยท Page 1 of 1 (latest)
Hi ๐
Do you mind to activate the debug option and send the console errors?
Also Weather-Control and Weather FX do not interfere, you can keep those activated.
which one do you use? I want to try to reproduce the bug in order to have it fixed asap
Hi !
I use Warhammer Fantasy Roleplay 4th Edition !
I just copy/paste you tue console errors right ?
Uncaught (in promise) Error: Setting Model Validation Errors
[Setting.value]: may not be undefined
[Detected 1 package: df-scene-enhance]
at SchemaField._validateType (commons.js:4091)
at SchemaField.validate (commons.js:3817)
at Setting.validate (commons.js:5485)
at new DataModel (commons.js:5262)
at new Document (commons.js:5804)
at new BaseSetting (commons.js:9825)
at new ClientDocumentMixin (foundry.js:13010)
at new Setting (foundry.js:21238)
at ClientSettings.get (foundry.js:2774)
at Function.get (Settings.ts:26)
at Function._migrateThumbData (df-scene-thumb.ts:15)
at Function.ready (df-scene-thumb.ts:77)
at Object.fn (df-scene-enhance.ts:21)
at Function.#call (foundry.js:724)
at Function.callAll (foundry.js:681)
at Game.setupGame (foundry.js:7909)
at async Game._initializeGameView (foundry.js:8964)
at async Game.initialize (foundry.js:7782)
And warnings :
lib.js:44 foundryvtt-arms-reach | Init Hooks processing
warn @ lib.js:44
4foundry.js:727 Foundry VTT | Error thrown in hooked function '' for hook 'setup'
#call @ foundry.js:727
commons.js:1703 Error: You are accessing the Scene#data object which is no longer used. Since V10 the Document class and its contained DataModel are merged into a combined data structure. You should now reference keys which were previously contained within the data object directly.
at logCompatibilityWarning (commons.js:1692)
at Function._logV10CompatibilityWarning (commons.js:6635)
at Scene.get data [as data] (commons.js:6535)
at hasProperty (commons.js:2139)
at defaultAutoApplyFlag (modules/weatherfx/scripts/weatherfx.js:85)
at Object.fn (modules/weatherfx/scripts/weatherfx.js:38)
at Function.#call (foundry.js:724)
at Function.call (foundry.js:706)
at Canvas.draw (foundry.js:23603)
at async Scene.view (foundry.js:20821)
at async Game.initializeCanvas (foundry.js:8049)
at async Game.setupGame (foundry.js:7892)
at async Game._initializeGameView (foundry.js:8964)
at async Game.initialize (foundry.js:7782)
logCompatibilityWarning @ commons.js:1703
commons.js:1703 Error: You are accessing BasePackage#data which is now deprecated in favor of referencing schema fields directly on the BasePackage instance.
Deprecated since Version 10
Backwards-compatible support will be removed in Version 12
at logCompatibilityWarning (commons.js:1692)
at Module.get data [as data] (commons.js:11752)
at modules/weather-control/weather-control.js:1
at modules/weather-control/weather-control.js:1
at Object.fn (modules/weather-control/weather-control.js:1)
at Function.#call (foundry.js:724)
at Function.callAll (foundry.js:681)
at Game.setupGame (foundry.js:7909)
at async Game._initializeGameView (foundry.js:8964)
at async Game.initialize (foundry.js:7782)
logCompatibilityWarning @ commons.js:1703
2foundry.js:62895 Font family "custom" failed to load.
loadFont @ foundry.js:62895
DevTools failed to load source map: Could not load content for http://localhost:30666/modules/combat-carousel/libs/splide/js/splide-renderer.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
if you could send screenshots they are better please
Ah ! Yeah Totally !
thanks ๐
thats odd none of these are related to SmallWeather
when you change the date, does any new error shows up?
Yes !
Thats it
I got the same error here, I will have to write a version update to include Warhammer 4th edition
I will try to do this today
oh it is slightly different
I got error 400, yours is 401
I will make some more tests on my side and let you know
the error 401 happens when the authentication fails
would you mind to check if your api key is correct?
paste only this AZ5BKSUBPB2GECSGDF92GFFGX in the API key field like so:
and hit save
This should solve the 401 error
the 400 error is ocurring because of the date
if you try the advanced tab, and replace those values, that should work now
@dry torrent I am releasing a new update today that makes Weather FX and SmallWeather interact
Yup ! Solved the 401 ! I just have the 400 now !
Thank you !
And so great ! Will try the update tonight or tommorow then !
the instructions need to be more detailed, im not understanding how to get an API in washington
https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/timeline/47.258728%2C -122.465973?unitGroup=metric&key=5WWF8C6T9KZWKQNG9DUNNZGXR&contentType=json Im gettin a 401 from this link for washington
you must take the part that is in capslock, so for your link, this one : 5WWF8C6T9KZWKQNG9DUNNZGXR
(I do concur that I did not see that information anywhere)
Anyway, great stuff @knotty wyvern , it all works fine now for me ! (I had to generate a preview first to break the endless cycle of the weather not changing tho if it can help)
that's super! yes this is helpful information.
I am sorry for that, I will make a short video when I get the time.
Yes ! I'm glad I thought about telling you then !
I have improved the instructions and would like your feedback, please.
https://github.com/LeafWulf/smallweather#settings
another user told me he had the same mistake
so with his help I have written this
thats perfect, that was definitely the missing step
thanks! I hope everything is working as expected now. if you have any problem don't hesitate to let me know ๐
@dry torrent
I think this look a little bit better, right? lol
Yes !!! Love the 2 days forecast preview !
Oh ! I know this chan was originally for troubleshooting but could we imagine attaching an API to a scene ? That way every city map could have its weather ? (Probably overly complex to implement tho now that I think of it)
I will add this to my to do list!