Page 1 of 1

Posted: Fri May 11, 2018 11:17 pm
by Orisson

while installing :

Parsing ../../freeciv/freeciv/data/amplio2/terrain1.spec
Traceback (most recent call last):
File "", line 192, in <module>
config = config_read(file);
File "", line 147, in config_read
with open (file, "r") as myfile:
FileNotFoundError: [Errno 2] No such file or directory: '../../freeciv/freeciv/data/amplio2/terrain1.spec'
Freeciv-img-extract failed!

Related with my last post, i think the reason of my problems is that i have a problem with git installation: reading SH files, i understand that repo is downloaded in freeciv/freeciv path, but first time i executed, i had to run

git init

and later rerun the install, so the repo were downloaded in freeciv/freeciv/freeciv.

To avoid early errors, i modified the scripts so they worked with the <<freeciv>> additional, but now it appears the error in

what i am doing wrong with Git?


Posted: Sat May 12, 2018 4:47 pm
by Orisson
My solution: edit, adding:

git init

and updating

git read-tree --prefix=freeciv/ --index-output=.freeciv_index $1

instead of

git read-tree --prefix=freeciv/freeciv/ --index-output=.freeciv_index $1