[0.9.8] and [0.10.0] If error in mod, factorio fails.

This subforum contains all the issues which we already resolved.
Post Reply
Colombo
Long Handed Inserter
Long Handed Inserter
Posts: 76
Joined: Mon May 19, 2014 11:25 am
Contact:

[0.9.8] and [0.10.0] If error in mod, factorio fails.

Post by Colombo »

If I make error in mod, factorio just fails without any error provided while loading.

User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: [0.9.8] and [0.10.0] If error in mod, factorio fails.

Post by cube »

Hi, the error log you were asking about in the other thread should be in the write data directory (next to your save directory), try posting it here.

Also, what platform are you on? Windows?
I have no idea what I'm talking about.

Colombo
Long Handed Inserter
Long Handed Inserter
Posts: 76
Joined: Mon May 19, 2014 11:25 am
Contact:

Re: [0.9.8] and [0.10.0] If error in mod, factorio fails.

Post by Colombo »

cube wrote:Hi, the error log you were asking about in the other thread should be in the write data directory (next to your save directory), try posting it here.

Also, what platform are you on? Windows?
Sorry, I wanted to write platform after reading "how to post bugs" but totally forget about it.


Ubuntu, 12.04 and 14.04. Logs that are in directory are basically blank:

Code: Select all

13:48:43 Info None: 2014:06:15; Factorio 0.10.0 (Build 10146, linux64)

Code: Select all

14:07:57 Info None: 2014:06:14; Factorio 0.10.0 (Build 10146, linux64)
14:08:35 Info Updater: Downloading https://www.factorio.com/updater/get-available-versions?username=Colombo&token=8fbfa7190660fbfa3885d53720a155&apiVersion=2
14:20:20 Info None: Goodbye
If I made an error in log (adding "s" to number in health):

Code: Select all

18:31:38 Info None: 2014:06:17; Factorio 0.10.0 (Build 10146, linux64)

slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

Re: [0.9.8] and [0.10.0] If error in mod, factorio fails.

Post by slpwnd »

Colombo wrote:If I make error in mod, factorio just fails without any error provided while loading.
What exactly do you mean? Could you give a specific reproducible example? When there is an error in the lua definition file there comes an error message on the game startup. I added "s" to number in health as you mentioned and it works as expected - complains about lua syntax on the startup.

Colombo
Long Handed Inserter
Long Handed Inserter
Posts: 76
Joined: Mon May 19, 2014 11:25 am
Contact:

Re: [0.9.8] and [0.10.0] If error in mod, factorio fails.

Post by Colombo »

slpwnd wrote:
Colombo wrote:If I make error in mod, factorio just fails without any error provided while loading.
What exactly do you mean? Could you give a specific reproducible example? When there is an error in the lua definition file there comes an error message on the game startup. I added "s" to number in health as you mentioned and it works as expected - complains about lua syntax on the startup.
And this is exactly what I don't get. Game won't complain about any error, it just fails to load. Crash down without an error.

Tak jinak:

Udělám nějaký error v lua definitions blabla...
Zapnu factorio, to začne "loadovat" věci. A pak spadne, ale nevyhodí žádnou chybu. Když udělám něco výše popsaného, tak spadne velmi brzo (nanejvýš 10 % z loadbaru), u nějakého dytech módu, co sem zkoušel, to spadlo až při loadování obrázků (tuším 78 % z loadbaru).

Asi chápete, že psát nějaký mód když to jen spadne, bez vyhození chyby, asi nebude nejpříjemnější:)

Je to verze stáhnuta z webu, nainstalovaná a pak přesunutá jinam (může to ovlivnit? Je divné, že by to ovlivnilo). Chovala se tak 9.8 na ubuntu 12.04, 10.0 na 12.04 a 10.0 na 14.04. Když zapnu factorio z konzole, stěžuje si jen na nějaké RGB věci, ale žádný error neháže.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.9.8] and [0.10.0] If error in mod, factorio fails.

Post by kovarex »

There was problem in logger in the windows version (it tried to write to console while no console existed).

It has been fixed and I can see the error message correctly, so I'm moving it to Resolved for next release.

Colombo
Long Handed Inserter
Long Handed Inserter
Posts: 76
Joined: Mon May 19, 2014 11:25 am
Contact:

Re: [0.9.8] and [0.10.0] If error in mod, factorio fails.

Post by Colombo »

kovarex wrote:There was problem in logger in the windows version (it tried to write to console while no console existed).

It has been fixed and I can see the error message correctly, so I'm moving it to Resolved for next release.
??? But I don't have windows and it persist if I run it with console.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.9.8] and [0.10.0] If error in mod, factorio fails.

Post by kovarex »

There were other problems as well, but now (in the 0.10.1) it works (will work), when I make some intentional error in the input, it gives me the error instead of just crashing.

Post Reply

Return to “Resolved Problems and Bugs”