KelSolaar / fvvt-kels-utilities

A FoundryVTT module for my utilities.
MIT License
2 stars 1 forks source link

The module is not working, e.g. settings are not showing up. #1

Closed ctbritt closed 1 year ago

ctbritt commented 1 year ago

Nothing showing up, even when the only modules active are ItemPiles, Libwrapper, and Kel's Utilities.

KelSolaar commented 1 year ago

Hi @ctbritt,

I just tried on a new project, removed my coding copy, pulled the module from Foundry and it loads fine for me:

image

Note that ItemPiles needs libWrapper and socketlib

image

If you have a chance, it might be useful to open the Developer Tools and let me know if there are any errors.

Cheers,

Thomas

ctbritt commented 1 year ago

yeah, I have the same module set up as you, and it's just not showing up. No error messages in the console that I can see either.

KelSolaar commented 1 year ago

Hi,

Just to confirm, do you mean it is not listed in the module management page? Can you let me know which version of Foundry you are using and which platform so that I can try to repro?

Something you could try if you want is activating the module by setting it to true in the settings file of your world.

Given a world named ramblings, in your Foundry preferences you will find a FoundryVTT/Data/worlds/ramblings/data/settings.db file,

Then after the second curly brace here (note that I have many of them for some odd reason, Foundry bug?):

{"key":"core.moduleConfiguration","value":"{

You could try to add this entry: \"kels-utilities\":true, as follows:

{"key":"core.moduleConfiguration","value":"{\"kels-utilities\":true,
ctbritt commented 1 year ago

yeah, it's listed as enabled in the module list. But it's not showing up in the config settings panel.

ctbritt commented 1 year ago

just checking my settings.db, and the key combo you mentioned is in there. kels-utilities is set to true.

KelSolaar commented 1 year ago

Out of curiosity, do you see this log line:

image

KelSolaar commented 1 year ago

I created a Windows VM on GCP to check whether Windows could be causing issues (I'm on macOS) and it was fine:

image

I'm really sorry it is not working for you and genuinely interested to know why!

KelSolaar commented 1 year ago

A FoundryVTT Discord user was suggesting to test the following possibly:

image

KelSolaar commented 1 year ago

@ctbritt : FYI, I released a new version yesterday!

Steelskinz commented 1 year ago

Idk if it's related but I don't see the settings either, however I see this in the console : image

Edit : Yes, it was a typo : image Changed to : image

And now I can see the settings.

KelSolaar commented 1 year ago

Oh! Great catch @Steelskinz, I will fix that tonight! I'm wondering how it is on my filesystem and how can it work.

KelSolaar commented 1 year ago

New release is up, hopefully this should address the problem. I still have no clue why it loads, macOs and Windows are case-insensitive by default, are you guys on Linux?

ravingdragoon commented 1 year ago

I still receive the error after updating to the newest release.

Failed to load resource: the server responded with a status of 404 ()    
https://assets.forge-vtt.com/bazaar/modules/kels-utilities/0.2.2/scripts/lib/Constants.js
Steelskinz commented 1 year ago

New release is up, hopefully this should address the problem. I still have no clue why it loads, macOs and Windows are case-insensitive by default, are you guys on Linux?

My server is running on ubuntu indeed.

KelSolaar commented 1 year ago

Thanks @ravingdragoon and @Steelskinz!

Sorry, I indeed missed a last import. Third time the charm?

Cheers,

Thomas

Steelskinz commented 1 year ago

Fixed, Third was the charm like expected !

KelSolaar commented 1 year ago

Awesome, thanks for your patience! :)

Closing!

ctbritt commented 1 year ago

Yes! It's showing up now. Yes, I was hosting on a linux cloud box, so the case of the Contents.js seems to have been what was mucking it up.

Thanks!