The program can not run
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
The program can not run
After the 1.31 version of the installer can not run.
Re: The program can not run
We don’t have a version 1.31. Also, perhaps you could be more specific? I’m assuming this is on Windows since you said ‘installer’. Do you get any error messages? Could you take a screenshot if that’s the case?
(Moving this to Technical Support.)
(Moving this to Technical Support.)
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
Re: The program can not run
Sorry, 1.13.1 version, the installation is complete, click wesnoth.exe invalid.shadowm wrote:We don’t have a version 1.31. Also, perhaps you could be more specific? I’m assuming this is on Windows since you said ‘installer’. Do you get any error messages? Could you take a screenshot if that’s the case?
(Moving this to Technical Support.)
-
- Inactive Developer
- Posts: 2461
- Joined: August 15th, 2008, 8:46 pm
- Location: Germany
Re: The program can not run
Please post stderr.txt:
Development Team wrote: On Windows, locate the filestderr.txt
. If you have installed Wesnoth in the default location, that would beC:\Program Files\Wesnoth\stderr.txt
— “Program Files” might be translated to your system’s native language. Search for the file if you can’t find it. Windows Vista and Windows 7 users should read this thread for further information.
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
A Simple Campaign: campaign draft for wml starters • Plan Your Advancements: mp mod
The Earth's Gut: sp campaign • Settlers of Wesnoth: mp scenario • Wesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
Re: The program can not run
I’m more interested in a screenshot of the actual error message, because if it’s what I think it is there’ll be no stderr.txt.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
Re: The program can not run
stderr.txt:Anonymissimus wrote:Please post stderr.txt:Development Team wrote: On Windows, locate the filestderr.txt
. If you have installed Wesnoth in the default location, that would beC:\Program Files\Wesnoth\stderr.txt
— “Program Files” might be translated to your system’s native language. Search for the file if you can’t find it. Windows Vista and Windows 7 users should read this thread for further information.
Battle for Wesnoth v1.13.1
Started on Fri Jul 02 09:01:54 2015
Automatically found a possible data directory at D:/Battle for Wesnoth
Caught general exception:
boost::random_device: Could not find provider name Cryptopraphic Service Provider Microsoft Base Cryptographic Provider v1.0:
Re: The program can not run
Yeah, that’s definitely not what I was expecting when you said “wesnoth.exe invalid” in response to my question about error messages.
And what version of Windows is this again?
And what version of Windows is this again?
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
Re: The program can not run
Hmm... I think this could be fixed by putting all the random device stuff in a try / catch block in here:
https://github.com/wesnoth/wesnoth/blob ... ng.cpp#L54
Didn't know that thing could throw...
https://github.com/wesnoth/wesnoth/blob ... ng.cpp#L54
Didn't know that thing could throw...
Re: The program can not run
Isn’t it more important to make sure the runtime environment can supply this service, otherwise it defeats the point of adding this in 1.13.0? Also note that it works for me on both Windows 7 and 8.1.iceiceice wrote:Hmm... I think this could be fixed by putting all the random device stuff in a try / catch block in here:
https://github.com/wesnoth/wesnoth/blob ... ng.cpp#L54
Didn't know that thing could throw...
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
Re: The program can not run
If it's throwing the exception, it means that it can't provide the service. Setting up time(NULL) as a fallback is perfectly reasonable in that case I think.
I don't think there's going to be an alternative like "try to build boost random device with different options to recover from the failure", the point is that they want to provide a simple cross platform interface, so if there was some possibility like that i think they would have built it in. It's possible that there's something wrong in the boost code for whatever version of windows he's on.
Edit:
You could signal a warning when the fallback generator is used?
Note that what is being selected here is *not* the rng algorithm, which will always be the mt19937 thing. This is just the part that is generating *seeds* for that generator. Random device is the preferred way to generate these seeds in boost docs, it has some advantages over using time(NULL). But I mean unless you are running the mp server these advantages are pretty unimportant.
I don't think there's going to be an alternative like "try to build boost random device with different options to recover from the failure", the point is that they want to provide a simple cross platform interface, so if there was some possibility like that i think they would have built it in. It's possible that there's something wrong in the boost code for whatever version of windows he's on.
Edit:
You could signal a warning when the fallback generator is used?
Note that what is being selected here is *not* the rng algorithm, which will always be the mt19937 thing. This is just the part that is generating *seeds* for that generator. Random device is the preferred way to generate these seeds in boost docs, it has some advantages over using time(NULL). But I mean unless you are running the mp server these advantages are pretty unimportant.
Re: The program can not run
win7 X64shadowm wrote:Yeah, that’s definitely not what I was expecting when you said “wesnoth.exe invalid” in response to my question about error messages.
And what version of Windows is this again?