PDA

View Full Version : Test.tmp error with direct IP server adress for user folder



Weissrolf
March 28th, 2021, 16:57
FGU creates a test.tmp file when you exit its launcher settings. When the user folder is set to a (NAS) server path that begins with a direct IP address then a console error pops up.

Here is the error ("..." inserted by me):

[ERROR] Unable to write test file to data directory (//192.168.1.10/.../Fantasy Grounds Unity/channels/Test/)
[ERROR] Error: Could not find a part of the path "//192.168.1.10/.../Fantasy Grounds Unity/channels/Test/test.tmp".
[ERROR] Please check file permissions on your FG data directory, or uninstall/reinstall.
[ERROR] LOG INIT: System.IO.DirectoryNotFoundException: Could not find a part of the path "//192.168.1.10/.../Fantasy Grounds Unity/channels/Test/console-prev.log".
at System.IO.File.Delete (System.String path) [0x00058] in <fb001e01371b4adca20013e0ac763896>:0
at IIONNFLJFHP.ACHJNIOEGCJ () [0x00036] in <7376aaa1d61540979d50fcc7b86721e2>:0

Curiously the test.tmp file is created successfully, so only the deletion seems to fail. File-rights are the same as for all other files, so it's not a permissions issue. Running a campaign also seems to work, so it's just a specific error for this test.tmp file.

When a drive letter is used instead of the IP path then no error occurs. That is unless the test.tmp file still is present from the aforementioned error. So there seems to be something wrong with the file itself and it first has to be deleted manually to not get an error after the drive letter change.

This is FYI.

Weissrolf
March 28th, 2021, 18:01
Same tested with Live version, of course. Just happened to have the Test log ready when I copy & pasted the error.