Closed modzy2 closed 1 year ago
Well, that's a weird one as it creates the directories okay on my side. It should check and try to create the directories everytime you reload the world. Does it throw that error everytime?
yes I logged off and on a few times, still getting that error and nothing created inside the token-action-hud-core folder in "data"
Would you be able to create a new world and see if that one has the same issue?
yes, same error.
What hardware/OS are you hosting on?
Hello, same problem here. It iseems there is something wrong with directory creation. I suspect the \ directory is causing the issue. Files are not synced when using an external repository (like one drive ie). I am using a MacOs. MacOS use the / for directory changes, unlike windows. So I think it's OS related with the usage of slashes and backslashes for directories
Of course, I tried new worlds and existing ones
Looks like Windows accepts either case, so I'll swap them around. Hopefully, I don't have to try and determine which case to use based on the OS.
Don't worry I'm online right now, I can confirm in about minutes :)
Hopefully fixed in Token Action HUD Core 1.4.2.
Confirmed: it works now. Directories are created correctly now. Thanks :)
Describe the bug
hud core seems to have created the new directory in Data, but no directory of the world name under that. Not sure if the backslash instead of forward slash is involved
token-action-hud-core.min.js:1 Uncaught (in promise) ENOENT: no such file or directory, mkdir '/media/pi/HIRESAUDIO1/FDATA10/Data/token-action-hud-core\stormwreck' (anonymous) @ token-action-hud-core.min.js:1 await in (anonymous) (async)
call @ foundry.js:724
call @ foundry.js:706 (anonymous) @ token-action-hud-dnd5e.min.js:1
call @ foundry.js:724
callAll @ foundry.js:681 (anonymous) @ token-action-hud-core.min.js:1
call @ foundry.js:724
callAll @ foundry.js:681 setupGame @ foundry.js:7952 await in setupGame (async)
_initializeGameView @ foundry.js:8999 _initializeView @ foundry.js:8975 initialize @ foundry.js:7825 await in initialize (async)
🎁call_wrapped @ libWrapper-wrapper.js:507 🎁libWrapperInit @ libWrapper-api.js:805 await in 🎁libWrapperInit (async)
🎁Game.prototype.initialize#0 @ libWrapper-wrapper.js:187 window.addEventListener.once @ foundry.js:79693
Steps to reproduce
Versions:
Additional context Any additional context.