[kovarex+cube] Strange undescriptive error
[kovarex+cube] Strange undescriptive error
boost::filesystem::file_size:
Error message with this text only. What is this mean?
I running factorio 1.10.2 with this mod
Game crashing on loading screen.
Error message with this text only. What is this mean?
I running factorio 1.10.2 with this mod
Game crashing on loading screen.
Daniel V. Lenskiy
Re: Strange undescriptive error
Hm. No clue, what that is, but google says:
http://www.boost.org/doc/libs/1_49_0/li ... orial.html
http://www.boost.org/doc/libs/1_49_0/li ... orial.html
Should I move this to not a bug?The current directory exists, but file_size() works on regular files, not directories, so again, an exception is thrown.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: Strange undescriptive error
I already searched with google. But i still not understand, what causes this error.ssilk wrote:Hm. No clue, what that is, but google says:
http://www.boost.org/doc/libs/1_49_0/li ... orial.html
Daniel V. Lenskiy
Re: Strange undescriptive error
I have had it happen a few times when I mistyped a path to a file, replacing the incorrect path with a correct one fixed the issue. The mod is huge, though, and searching for the mistake is going to be a ton of work because of this strange reported error.
Now, whether it's a bug or not depends or if it's a failure of the error reporting system or if it's meant to do this. Either way, it belongs either to Bug Reports or Known Issues.
Now, whether it's a bug or not depends or if it's a failure of the error reporting system or if it's meant to do this. Either way, it belongs either to Bug Reports or Known Issues.
Re: Strange undescriptive error
The error itself is simple: You are linking to a file __base__/sound/creeper-death-1.wav, which doesn't exist in the current base mod (we converted all sounds to ogg). The weird thing is why you don't see the whole message, because for me it is reported perfectly. Could post your log file, please? It is next to your saves and mods directories, called factorio-current.log .
I have no idea what I'm talking about.
Re: Strange undescriptive error
Of course. Here it is:cube wrote:The error itself is simple: You are linking to a file __base__/sound/creeper-death-1.wav, which doesn't exist in the current base mod (we converted all sounds to ogg). The weird thing is why you don't see the whole message, because for me it is reported perfectly. Could post your log file, please? It is next to your saves and mods directories, called factorio-current.log .
factorio-current.log
Code: Select all
00:09:09 Info None: 2014:07:08; Factorio 0.10.2 (Build 10388, win64)
00:09:09 Info Mods: Loading mod core 0.0.0
00:09:09 Info Mods: Loading mod base 0.10.2
00:09:10 Info Mods: Loading mod reygan 1.0.4
00:09:12 Info Atlas: Initial atlas bitmap size is 8192
00:09:12 Info Atlas: Created atlas bitmap 8192x8170
00:09:12 Info Atlas: Created atlas bitmap 8192x3761
factorio-previous.log
Code: Select all
00:06:44 Info None: 2014:07:08; Factorio 0.10.2 (Build 10388, win64)
00:06:45 Info Mods: Loading mod core 0.0.0
00:06:45 Info Mods: Loading mod base 0.10.2
00:06:46 Info Mods: Loading mod reygan 1.0.4
00:06:47 Info Atlas: Initial atlas bitmap size is 8192
00:06:47 Info Atlas: Created atlas bitmap 8192x8191
00:06:47 Info Atlas: Created atlas bitmap 8192x3739
Hmm. It will be great, if you'll make error messages some more descriptive

PS
I have changed paths of sound files and file extensions. Error message appears anyway.
Also i have reuploaded archive. Link is same.
And how can i turn logging more detailed?
Daniel V. Lenskiy
Re: [cube] Strange undescriptive error
Now it is deconstruct-bricks.wav.
I recommend mass replace of __base__/(.*)\.wav to __base__/\1.ogg in all the mods lua files
Anyway, I have fixed the error handling, so in 0.10.3 you will see the error at least in logs. Kovarex has to try to figure out why the message box doesn't show the whole error (I'm not on windows).
I recommend mass replace of __base__/(.*)\.wav to __base__/\1.ogg in all the mods lua files

Anyway, I have fixed the error handling, so in 0.10.3 you will see the error at least in logs. Kovarex has to try to figure out why the message box doesn't show the whole error (I'm not on windows).
I have no idea what I'm talking about.
Re: [kovarex+cube] Strange undescriptive error
Hello, I tried the mod and I got the full error message including the path of the file that is missing.
What system do you use? (I tested it on win7 64 bit)
What system do you use? (I tested it on win7 64 bit)
Re: [kovarex+cube] Strange undescriptive error
Thank you for help, everything is working now!cube wrote:Now it is deconstruct-bricks.wav.
I recommend mass replace of __base__/(.*)\.wav to __base__/\1.ogg in all the mods lua files
Anyway, I have fixed the error handling, so in 0.10.3 you will see the error at least in logs. Kovarex has to try to figure out why the message box doesn't show the whole error (I'm not on windows).
I am on windows 7 x64, factorio 0.10.2kovarex wrote:Hello, I tried the mod and I got the full error message including the path of the file that is missing.
What system do you use? (I tested it on win7 64 bit)
As cube wrote, it was wrong filenames. But how i can understand that from this message


Daniel V. Lenskiy
Re: [kovarex+cube] Strange undescriptive error
That is really strange I have no idea why the message is not complete on your computer, while it is complete on my computer, when we use the same factorio version and system.Reygan wrote:I am on windows 7 x64, factorio 0.10.2kovarex wrote:Hello, I tried the mod and I got the full error message including the path of the file that is missing.
What system do you use? (I tested it on win7 64 bit)
As cube wrote, it was wrong filenames. But how i can understand that from this message
(I tried both the 64 bit installer and zip package)
Re: [kovarex+cube] Strange undescriptive error
I can confirm getting this error message on WinXP 32-bit, so it doesn't appear to be limited to a single architecture either.
Re: [kovarex+cube] Strange undescriptive error
Anyway, we made a fix, that the error is shown in the log correctly in 0.10.3, so you should get it there, if the message in the log will be undescriptive as well, let us know and we can investigate it further. For now I'm moving it to resolved for next release.
Re: [kovarex+cube] Strange undescriptive error
kovarex wrote: That is really strange I have no idea why the message is not complete on your computer, while it is complete on my computer, when we use the same factorio version and system.
(I tried both the 64 bit installer and zip package)
I have tried all 0.10.2 versions (zip\install, x86\x64)Rahjital wrote:I can confirm getting this error message on WinXP 32-bit, so it doesn't appear to be limited to a single architecture either.
At the first i did wrong path to graphic file. Near the 10% load, game shows me that message

But, when path to sound file is wrong, the first message appears. (and near 89%)
And if there is wrong path to sound file in projectile tables, in prototypes of type "unit" - nothing appears, game loads normally.
May be that information will help you to fix that.
Daniel V. Lenskiy