Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run ./install_copy successfully #14

Open
LeePalmer2007 opened this issue Apr 26, 2020 · 2 comments
Open

Unable to run ./install_copy successfully #14

LeePalmer2007 opened this issue Apr 26, 2020 · 2 comments

Comments

@LeePalmer2007
Copy link

When running ./install_copy (I have followed the README)
I get the following output:

+/etc/zsh/zshenv:15> [[ -z /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games || /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games == /bin:/usr/bin ]]
+./install_copy:3> source ./common
+./common:3> var_keys=( INSTALLS INSTALL INSTALL_STR APP APP_ROOT APP_MARK_EXEC_LOC APP_MARK_EXEC )
+./common:13> declare -A var_types=([$'\M-"'INSTALLS[file$'\M-"'[INSTALLfile[$'\M-"'INSTALL_STR[eval$'\M-"'[APPeval[$'\M-"'APP_ROOT[eval$'\M-"'[APP_MARK_EXEC_LOCeval[$'\M-"'APP_MARK_EXEC )
+./common:24> declare -A vars=([$'\M-"'INSTALLS['"./.installs"'$'\M-"'[INSTALL'"./.install"'[$'\M-"'INSTALL_STR['"$(echo "$INSTALLS" | head -n"$(( $INSTALL + 0 ))" | tail -n1)"'$'\M-"'[APP'"$(echo "$INSTALL_STR" | cut -d" " -f1)"'[$'\M-"'APP_ROOT['"$(echo "$INSTALL_STR" | cut -d" " -f2-)"'$'\M-"'[APP_MARK_EXEC_LOC'"$(pwd)/apps/${APP}/executables"'[$'\M-"'APP_MARK_EXEC )
+./common:34> declare -A var_deps=([$'\M-"'INSTALLS['()'$'\M-"'[INSTALL'()'[$'\M-"'INSTALL_STR['(INSTALLS INSTALL)'$'\M-"'[APP'(INSTALL_STR)'[$'\M-"'APP_ROOT['(INSTALL_STR)'$'\M-"'[APP_MARK_EXEC_LOC'(APP)'[$'\M-"'APP_MARK_EXEC )
+./common:45> declare -A vars_done=( )
+./common:72> populate
]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=+populate:1> key=INSTALLS
+populate:2> eval 'local this_deps=()'
+(eval):1> local this_deps=( )
+populate:8> local var_type=file
+populate:9> local var='"./.installs"'
+populate:10> [[ file == file ]]
+populate:11> eval 'local file="./.installs"'
+(eval):1> local file=./.installs
+populate:12> [[ -f ./.installs ]]
+populate:13> cat ./.installs
+populate:13> export $'INSTALLS= \nhoi4 /home/colton/.steam/steam/steamapps/common/Hearts of Iron IV\nhoi4 /home/colton/.steam/steam/steamapps/common/Hearts of Iron IV'
+populate:14> vars_done[$key]=1
+populate:1> key=INSTALL
+populate:2> eval 'local this_deps=()'
+(eval):1> local this_deps=( )
+populate:8> local var_type=file
+populate:9> local var='"./.install"'
+populate:10> [[ file == file ]]
+populate:11> eval 'local file="./.install"'
+(eval):1> local file=./.install
+populate:12> [[ -f ./.install ]]
+populate:13> cat ./.install
+populate:13> export 'INSTALL=1'
+populate:14> vars_done[$key]=1
+populate:1> key=INSTALL_STR
+populate:2> eval 'local this_deps=(INSTALLS INSTALL)'
+(eval):1> local this_deps=( INSTALLS INSTALL )
+populate:3> dep=INSTALLS
+populate:4> [[ 1 != 1 ]]
+populate:3> dep=INSTALL
+populate:4> [[ 1 != 1 ]]
+populate:8> local var_type=eval
+populate:9> local var='"$(echo "$INSTALLS" | head -n"$(( $INSTALL + 0 ))" | tail -n1)"'
+populate:10> [[ eval == file ]]
+populate:18> [[ eval == eval ]]
+populate:19> eval 'export INSTALL_STR="$(echo "$INSTALLS" | head -n"$(( $INSTALL + 0 ))" | tail -n1)"'
+(eval):1> echo $' \nhoi4 /home/colton/.steam/steam/steamapps/common/Hearts of Iron IV\nhoi4 /home/colton/.steam/steam/steamapps/common/Hearts of Iron IV'
+(eval):1> head -n1
+(eval):1> tail -n1
+(eval):1> export INSTALL_STR=' '
+populate:20> vars_done[$key]=1
+populate:1> key=APP
+populate:2> eval 'local this_deps=(INSTALL_STR)'
+(eval):1> local this_deps=( INSTALL_STR )
+populate:3> dep=INSTALL_STR
+populate:4> [[ 1 != 1 ]]
+populate:8> local var_type=eval
+populate:9> local var='"$(echo "$INSTALL_STR" | cut -d" " -f1)"'
+populate:10> [[ eval == file ]]
+populate:18> [[ eval == eval ]]
+populate:19> eval 'export APP="$(echo "$INSTALL_STR" | cut -d" " -f1)"'
+(eval):1> echo ' '
+(eval):1> cut '-d ' -f1
+(eval):1> export APP=''
+populate:20> vars_done[$key]=1
+populate:1> key=APP_ROOT
+populate:2> eval 'local this_deps=(INSTALL_STR)'
+(eval):1> local this_deps=( INSTALL_STR )
+populate:3> dep=INSTALL_STR
+populate:4> [[ 1 != 1 ]]
+populate:8> local var_type=eval
+populate:9> local var='"$(echo "$INSTALL_STR" | cut -d" " -f2-)"'
+populate:10> [[ eval == file ]]
+populate:18> [[ eval == eval ]]
+populate:19> eval 'export APP_ROOT="$(echo "$INSTALL_STR" | cut -d" " -f2-)"'
+(eval):1> echo ' '
+(eval):1> cut '-d ' -f2-
+(eval):1> export APP_ROOT=''
+populate:20> vars_done[$key]=1
+populate:1> key=APP_MARK_EXEC_LOC
+populate:2> eval 'local this_deps=(APP)'
+(eval):1> local this_deps=( APP )
+populate:3> dep=APP
+populate:4> [[ 1 != 1 ]]
+populate:8> local var_type=eval
+populate:9> local var='"$(pwd)/apps/${APP}/executables"'
+populate:10> [[ eval == file ]]
+populate:18> [[ eval == eval ]]
+populate:19> eval 'export APP_MARK_EXEC_LOC="$(pwd)/apps/${APP}/executables"'
+(eval):1> pwd
+(eval):1> export APP_MARK_EXEC_LOC=/home/colton/Downloads/hookey-master/apps//executables
+populate:20> vars_done[$key]=1
+populate:1> key=APP_MARK_EXEC
+populate:2> eval 'local this_deps=(APP_MARK_EXEC_LOC)'
+(eval):1> local this_deps=( APP_MARK_EXEC_LOC )
+populate:3> dep=APP_MARK_EXEC_LOC
+populate:4> [[ 1 != 1 ]]
+populate:8> local var_type=file
+populate:9> local var='"$APP_MARK_EXEC_LOC"'
+populate:10> [[ file == file ]]
+populate:11> eval 'local file="$APP_MARK_EXEC_LOC"'
+(eval):1> local file=/home/colton/Downloads/hookey-master/apps//executables
+populate:12> [[ -f /home/colton/Downloads/hookey-master/apps//executables ]]
+populate:16> export 'APP_MARK_EXEC='
+./common:74> [[ '' != ]]
+./common:84> echo 'Populated INSTALL_STR INSTALL INSTALLS APP_MARK_EXEC_LOC APP_ROOT APP'
Populated INSTALL_STR INSTALL INSTALLS APP_MARK_EXEC_LOC APP_ROOT APP
+./install_copy:4> fail_if_not_populated APP APP_ROOT
+fail_if_not_populated:1> var=APP
+fail_if_not_populated:2> [[ 1 != 1 ]]
+fail_if_not_populated:1> var=APP_ROOT
+fail_if_not_populated:2> [[ 1 != 1 ]]
+./install_copy:6> [[ ! -d apps//dlc/ ]]
+./install_copy:7> echo 'Place dlcs in ./apps//dlc folder (might have to create folder manually), and rerun script'
Place dlcs in ./apps//dlc folder (might have to create folder manually), and rerun script
+./install_copy:8> exit

and nothing else happens, I run HOI4, and its like, nothing happened at all
(I have put the DLCS in the correct folder, and even tried outside of the folder, just in a new folder, called dlc, in the /apps/ folder.)

when I try doing ./install instead,
I get this output instead:

+/etc/zsh/zshenv:15> [[ -z /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games || /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games == /bin:/usr/bin ]]
+./install:3> source ./common
+./common:3> var_keys=( INSTALLS INSTALL INSTALL_STR APP APP_ROOT APP_MARK_EXEC_LOC APP_MARK_EXEC )
+./common:13> declare -A var_types=([$'\M-"'INSTALLS[file$'\M-"'[INSTALLfile[$'\M-"'INSTALL_STR[eval$'\M-"'[APPeval[$'\M-"'APP_ROOT[eval$'\M-"'[APP_MARK_EXEC_LOCeval[$'\M-"'APP_MARK_EXEC )
+./common:24> declare -A vars=([$'\M-"'INSTALLS['"./.installs"'$'\M-"'[INSTALL'"./.install"'[$'\M-"'INSTALL_STR['"$(echo "$INSTALLS" | head -n"$(( $INSTALL + 0 ))" | tail -n1)"'$'\M-"'[APP'"$(echo "$INSTALL_STR" | cut -d" " -f1)"'[$'\M-"'APP_ROOT['"$(echo "$INSTALL_STR" | cut -d" " -f2-)"'$'\M-"'[APP_MARK_EXEC_LOC'"$(pwd)/apps/${APP}/executables"'[$'\M-"'APP_MARK_EXEC )
+./common:34> declare -A var_deps=([$'\M-"'INSTALLS['()'$'\M-"'[INSTALL'()'[$'\M-"'INSTALL_STR['(INSTALLS INSTALL)'$'\M-"'[APP'(INSTALL_STR)'[$'\M-"'APP_ROOT['(INSTALL_STR)'$'\M-"'[APP_MARK_EXEC_LOC'(APP)'[$'\M-"'APP_MARK_EXEC )
+./common:45> declare -A vars_done=( )
+./common:72> populate
]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=]=+populate:1> key=INSTALLS
+populate:2> eval 'local this_deps=()'
+(eval):1> local this_deps=( )
+populate:8> local var_type=file
+populate:9> local var='"./.installs"'
+populate:10> [[ file == file ]]
+populate:11> eval 'local file="./.installs"'
+(eval):1> local file=./.installs
+populate:12> [[ -f ./.installs ]]
+populate:13> cat ./.installs
+populate:13> export $'INSTALLS= \nhoi4 /home/colton/.steam/steam/steamapps/common/Hearts of Iron IV\nhoi4 /home/colton/.steam/steam/steamapps/common/Hearts of Iron IV'
+populate:14> vars_done[$key]=1
+populate:1> key=INSTALL
+populate:2> eval 'local this_deps=()'
+(eval):1> local this_deps=( )
+populate:8> local var_type=file
+populate:9> local var='"./.install"'
+populate:10> [[ file == file ]]
+populate:11> eval 'local file="./.install"'
+(eval):1> local file=./.install
+populate:12> [[ -f ./.install ]]
+populate:13> cat ./.install
+populate:13> export 'INSTALL=1'
+populate:14> vars_done[$key]=1
+populate:1> key=INSTALL_STR
+populate:2> eval 'local this_deps=(INSTALLS INSTALL)'
+(eval):1> local this_deps=( INSTALLS INSTALL )
+populate:3> dep=INSTALLS
+populate:4> [[ 1 != 1 ]]
+populate:3> dep=INSTALL
+populate:4> [[ 1 != 1 ]]
+populate:8> local var_type=eval
+populate:9> local var='"$(echo "$INSTALLS" | head -n"$(( $INSTALL + 0 ))" | tail -n1)"'
+populate:10> [[ eval == file ]]
+populate:18> [[ eval == eval ]]
+populate:19> eval 'export INSTALL_STR="$(echo "$INSTALLS" | head -n"$(( $INSTALL + 0 ))" | tail -n1)"'
+(eval):1> echo $' \nhoi4 /home/colton/.steam/steam/steamapps/common/Hearts of Iron IV\nhoi4 /home/colton/.steam/steam/steamapps/common/Hearts of Iron IV'
+(eval):1> head -n1
+(eval):1> tail -n1
+(eval):1> export INSTALL_STR=' '
+populate:20> vars_done[$key]=1
+populate:1> key=APP
+populate:2> eval 'local this_deps=(INSTALL_STR)'
+(eval):1> local this_deps=( INSTALL_STR )
+populate:3> dep=INSTALL_STR
+populate:4> [[ 1 != 1 ]]
+populate:8> local var_type=eval
+populate:9> local var='"$(echo "$INSTALL_STR" | cut -d" " -f1)"'
+populate:10> [[ eval == file ]]
+populate:18> [[ eval == eval ]]
+populate:19> eval 'export APP="$(echo "$INSTALL_STR" | cut -d" " -f1)"'
+(eval):1> cut '-d ' -f1
+(eval):1> echo ' '
+(eval):1> export APP=''
+populate:20> vars_done[$key]=1
+populate:1> key=APP_ROOT
+populate:2> eval 'local this_deps=(INSTALL_STR)'
+(eval):1> local this_deps=( INSTALL_STR )
+populate:3> dep=INSTALL_STR
+populate:4> [[ 1 != 1 ]]
+populate:8> local var_type=eval
+populate:9> local var='"$(echo "$INSTALL_STR" | cut -d" " -f2-)"'
+populate:10> [[ eval == file ]]
+populate:18> [[ eval == eval ]]
+populate:19> eval 'export APP_ROOT="$(echo "$INSTALL_STR" | cut -d" " -f2-)"'
+(eval):1> echo ' '
+(eval):1> cut '-d ' -f2-
+(eval):1> export APP_ROOT=''
+populate:20> vars_done[$key]=1
+populate:1> key=APP_MARK_EXEC_LOC
+populate:2> eval 'local this_deps=(APP)'
+(eval):1> local this_deps=( APP )
+populate:3> dep=APP
+populate:4> [[ 1 != 1 ]]
+populate:8> local var_type=eval
+populate:9> local var='"$(pwd)/apps/${APP}/executables"'
+populate:10> [[ eval == file ]]
+populate:18> [[ eval == eval ]]
+populate:19> eval 'export APP_MARK_EXEC_LOC="$(pwd)/apps/${APP}/executables"'
+(eval):1> pwd
+(eval):1> export APP_MARK_EXEC_LOC=/home/colton/Downloads/hookey-master/apps//executables
+populate:20> vars_done[$key]=1
+populate:1> key=APP_MARK_EXEC
+populate:2> eval 'local this_deps=(APP_MARK_EXEC_LOC)'
+(eval):1> local this_deps=( APP_MARK_EXEC_LOC )
+populate:3> dep=APP_MARK_EXEC_LOC
+populate:4> [[ 1 != 1 ]]
+populate:8> local var_type=file
+populate:9> local var='"$APP_MARK_EXEC_LOC"'
+populate:10> [[ file == file ]]
+populate:11> eval 'local file="$APP_MARK_EXEC_LOC"'
+(eval):1> local file=/home/colton/Downloads/hookey-master/apps//executables
+populate:12> [[ -f /home/colton/Downloads/hookey-master/apps//executables ]]
+populate:16> export 'APP_MARK_EXEC='
+./common:74> [[ '' != ]]
+./common:84> echo 'Populated INSTALL_STR INSTALL INSTALLS APP_MARK_EXEC_LOC APP_ROOT APP'
Populated INSTALL_STR INSTALL INSTALLS APP_MARK_EXEC_LOC APP_ROOT APP
+./install:4> fail_if_not_populated APP APP_ROOT GOLDBERG_BUILD
+fail_if_not_populated:1> var=APP
+fail_if_not_populated:2> [[ 1 != 1 ]]
+fail_if_not_populated:1> var=APP_ROOT
+fail_if_not_populated:2> [[ 1 != 1 ]]
+fail_if_not_populated:1> var=GOLDBERG_BUILD
+fail_if_not_populated:2> [[ '' != 1 ]]
+fail_if_not_populated:3> echo 'Did not have GOLDBERG_BUILD'
Did not have GOLDBERG_BUILD
+fail_if_not_populated:4> exit 1

Help?

@sengokudaikon
Copy link

Try installing CLang? Unsure if it would help for long, but it worked for me

@jshaw29
Copy link

jshaw29 commented May 12, 2020

Did step 1 form the readme work correctly? Did you have your ssh keys setup correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants