Cannot save on linux
-
- Burner Inserter
- Posts: 8
- Joined: Sat Jul 04, 2015 11:09 pm
- Contact:
Cannot save on linux
I play factorio on ubuntu and windows, and I get the error shown in this picture when I try to save: http://imgur.com/d44ZoPv
This effectively prevents me from playing the game. Is there any way yo fix this?
This effectively prevents me from playing the game. Is there any way yo fix this?
Re: Cannot save on linux
Stupid question but .....
do you give the save a name?
do you give the save a name?
Re: Cannot save on linux
Here's a similar problem:
http://stackoverflow.com/questions/1910 ... -not-valid
Could it be that something went wrong in the installation? It may be possible that no locales were installed.
You could try something like
select the appropriate locales (they are usually in the format cc_LL.encoding where cc=country code, LL = language code). It's probably best to include at least one English locale such as en_US.UTF-8 or en_GB.UTF-8, and additionally any other locales appropriate to your country/language. Then run***
to generate the selected locales.
If the first command fails it means you don't have the locales package installed, which is very weird, but should be fixed by
Edit: *** Reading some more I am not 100% sure you have to run locale-gen, and it is possible that just reconfiguring the locales package will solve your problem.
http://stackoverflow.com/questions/1910 ... -not-valid
Could it be that something went wrong in the installation? It may be possible that no locales were installed.
You could try something like
Code: Select all
sudo dpkg-reconfigure locales
Code: Select all
sudo locale-gen
If the first command fails it means you don't have the locales package installed, which is very weird, but should be fixed by
Code: Select all
sudo apt-get install locales
Edit: *** Reading some more I am not 100% sure you have to run locale-gen, and it is possible that just reconfiguring the locales package will solve your problem.
-
- Burner Inserter
- Posts: 8
- Joined: Sat Jul 04, 2015 11:09 pm
- Contact:
Re: Cannot save on linux
I think I've fixed the locale problem, but I still get the same error. The locale files are there, but the error still occurs. And yes, I do name my saves.
Re: Cannot save on linux
Can you run in a terminal and post the output here?
Code: Select all
locale
-
- Burner Inserter
- Posts: 8
- Joined: Sat Jul 04, 2015 11:09 pm
- Contact:
Re: Cannot save on linux
Yeah, give me a bit.
-
- Burner Inserter
- Posts: 8
- Joined: Sat Jul 04, 2015 11:09 pm
- Contact:
Re: Cannot save on linux
OK, here it is: user@chrubuntu:~$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=en
en
LC_CTYPE="en_US.UFT-8"
LC_NUMERIC="en_US.UFT-8"
LC_TIME="en_US.UFT-8"
LC_COLLATE="en_US.UFT-8"
LC_MONETARY="en_US.UFT-8"
LC_MESSAGES="en_US.UFT-8"
LC_PAPER="en_US.UFT-8"
LC_NAME="en_US.UFT-8"
LC_ADDRESS="en_US.UFT-8"
LC_TELEPHONE="en_US.UFT-8"
LC_MEASUREMENT="en_US.UFT-8"
LC_IDENTIFICATION="en_US.UFT-8"
LC_ALL=en_US.UFT-8
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=en
en
LC_CTYPE="en_US.UFT-8"
LC_NUMERIC="en_US.UFT-8"
LC_TIME="en_US.UFT-8"
LC_COLLATE="en_US.UFT-8"
LC_MONETARY="en_US.UFT-8"
LC_MESSAGES="en_US.UFT-8"
LC_PAPER="en_US.UFT-8"
LC_NAME="en_US.UFT-8"
LC_ADDRESS="en_US.UFT-8"
LC_TELEPHONE="en_US.UFT-8"
LC_MEASUREMENT="en_US.UFT-8"
LC_IDENTIFICATION="en_US.UFT-8"
LC_ALL=en_US.UFT-8
Re: Cannot save on linux
LANGUAGE seems to have a linebreak in it?
Also it lacks the "UTF8" bit.
Also it lacks the "UTF8" bit.
Re: Cannot save on linux
For some reason you have the locale name wrong in all of the LC_* fields. It should be UTF-8, not UFT-8.
Re: Cannot save on linux
Can you post your /etc/default/locale ? I think you or something else have managed to misconfigure that.
-
- Burner Inserter
- Posts: 8
- Joined: Sat Jul 04, 2015 11:09 pm
- Contact:
Re: Cannot save on linux
Here's the locale file: # File generated by update-locale
LANG=en_US.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LANG=en_US.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
-
- Burner Inserter
- Posts: 8
- Joined: Sat Jul 04, 2015 11:09 pm
- Contact:
Re: Cannot save on linux
Here you go: # File generated by update-locale
LANG=en_US.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LANG=en_US.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
Re: Cannot save on linux
This seems in order, but it doesn't match the previous output of 'locale' you pasted.
Could you try restarting (if you haven't since), and re-posting the output of 'locale' ?
Could you try restarting (if you haven't since), and re-posting the output of 'locale' ?