Error Message in 1.14.12

Having trouble with the game? Report issues and get help here. Read this first!

Moderators: Forum Moderators, Developers

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
phartnokir
Posts: 3
Joined: March 26th, 2019, 10:50 pm

Error Message in 1.14.12

Post by phartnokir »

The first thing I see when I load Wesnoth is this:
Capture.PNG
Capture.PNG (68.54 KiB) Viewed 644 times
Windows 10 Build 1909
Wesnoth, 1.14.12, English

Battle for Wesnoth v1.14.12
Started on Sun May 24 12:26:52 2020

Automatically found a possible data directory at C:\Program Files (x86)\Battle for Wesnoth 1.14.12
20200524 12:26:52 error filesystem: Could not determine path to user's Documents folder! (0x80070005) User config/data directories may be unavailable for this session. Please report this as a bug.
20200524 12:26:52 error filesystem: Failed to create directory C:/Program Files (x86)/Battle for Wesnoth 1.14.12\Wesnoth1.14: Access is denied
20200524 12:26:52 error filesystem: could not open or create user data directory at C:/Program Files (x86)/Battle for Wesnoth 1.14.12\Wesnoth1.14
20200524 12:26:52 error filesystem: Could not determine path to user's Documents folder! (0x80070005) User config/data directories may be unavailable for this session. Please report this as a bug.
20200524 12:26:52 error filesystem: Failed to create directory C:/Program Files (x86)/Battle for Wesnoth 1.14.12\Wesnoth1.14: Access is denied
20200524 12:26:52 error filesystem: could not open or create user data directory at C:/Program Files (x86)/Battle for Wesnoth 1.14.12\Wesnoth1.14
20200524 12:26:52 error filesystem: Could not determine path to user's Documents folder! (0x80070005) User config/data directories may be unavailable for this session. Please report this as a bug.
20200524 12:26:52 error filesystem: Failed to create directory C:/Program Files (x86)/Battle for Wesnoth 1.14.12\Wesnoth1.14: Access is denied
20200524 12:26:52 error filesystem: could not open or create user data directory at C:/Program Files (x86)/Battle for Wesnoth 1.14.12\Wesnoth1.14
20200524 12:26:52 error filesystem: Could not determine path to user's Documents folder! (0x80070005) User config/data directories may be unavailable for this session. Please report this as a bug.
20200524 12:26:52 error filesystem: Failed to create directory C:/Program Files (x86)/Battle for Wesnoth 1.14.12\Wesnoth1.14: Access is denied
20200524 12:26:52 error filesystem: could not open or create user data directory at C:/Program Files (x86)/Battle for Wesnoth 1.14.12\Wesnoth1.14
20200524 12:26:52 error filesystem: Failed to create directory cache: Access is denied
20200524 12:26:52 error filesystem: Could not open or create directory cache
20200524 12:26:52 error filesystem: Could not determine path to user's Documents folder! (0x80070005) User config/data directories may be unavailable for this session. Please report this as a bug.
20200524 12:26:52 error filesystem: Failed to create directory C:/Program Files (x86)/Battle for Wesnoth 1.14.12\Wesnoth1.14: Access is denied
20200524 12:26:52 error filesystem: could not open or create user data directory at C:/Program Files (x86)/Battle for Wesnoth 1.14.12\Wesnoth1.14
20200524 12:26:52 error filesystem: Could not determine path to user's Documents folder! (0x80070005) User config/data directories may be unavailable for this session. Please report this as a bug.
20200524 12:26:52 error filesystem: Failed to create directory C:/Program Files (x86)/Battle for Wesnoth 1.14.12\Wesnoth1.14: Access is denied
20200524 12:26:52 error filesystem: could not open or create user data directory at C:/Program Files (x86)/Battle for Wesnoth 1.14.12\Wesnoth1.14

phartnokir
Posts: 3
Joined: March 26th, 2019, 10:50 pm

Re: Error Message in 1.14.12

Post by phartnokir »

Ok I read the logs and fixed the prob myself by granting Full Control to everything I found under the Security tab for the Wesnoth folder.
Obviously, it's a permissions issue.
Weird, because I had never touched permissions for Wesnoth before.
Remember, Windows 10 has Tamper Control, so that might have messed with Wesnoth's installer...

phartnokir
Posts: 3
Joined: March 26th, 2019, 10:50 pm

Re: Error Message in 1.14.12

Post by phartnokir »

Also - the shortcut did not autocreate from the install process. I had to go make the shortcut myself. :(
Also - expect a 64 bit version
Also - this is my day to complain; however it actually just means I LOVE WESNOTH :)

LOVE LOVE LOVE LOVE LOVE

User avatar
Pentarctagon
Project Manager
Posts: 4361
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Error Message in 1.14.12

Post by Pentarctagon »

Most likely this is caused by OneDrive, since this same issue has been reported before and either removing OneDrive or at least preventing it from syncing Wesnoth's directories fixed the problem.

Edit-
Also, 1.15 and later will be 64-bit on Windows.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code

User avatar
loonycyborg
Windows Packager
Posts: 279
Joined: April 1st, 2008, 4:45 pm
Location: Russia/Moscow

Re: Error Message in 1.14.12

Post by loonycyborg »

phartnokir wrote:
May 24th, 2020, 4:33 pm
Also - the shortcut did not autocreate from the install process. I had to go make the shortcut myself. :(
Which kind of shortcut you mean? Currently installer doesn't support making shortcuts on desktop, it makes them only in start menu. Would for sure consider a feature request for desktop shortcut though, at least for an option for it.
"meh." - zookeeper

Post Reply