molnard / WasabiCoinGraph

MIT License
2 stars 0 forks source link

Doesn't work #1

Closed nopara73 closed 2 years ago

nopara73 commented 2 years ago
/mnt/c/Users/user/Desktop/WasabiCoinGraph$ ./wcli.sh selectwallet Wallet
./wcli.sh: line 2: $'\r': command not found
./wcli.sh: line 3: syntax error near unexpected token `$'{\r''
'/wcli.sh: line 3: `function config_extract() {
molnard commented 2 years ago

https://github.com/molnard/WasabiCoinGraph/commit/f1fc9ee324437801054cefee8ee9713e45189b25

molnard commented 2 years ago

Solved?

nopara73 commented 2 years ago

Nope

./wcli.sh: line 2: $'\r': command not found
./wcli.sh: line 3: syntax error near unexpected token `$'{\r''
'/wcli.sh: line 3: `function config_extract() {
molnard commented 2 years ago

Sorry, my bad try it now. https://github.com/molnard/WasabiCoinGraph/commit/a7870f824524ce354cfae2a057116a47977bd125

nopara73 commented 2 years ago

Still not :*(

./wcli.sh: line 2: $'\r': command not found
./wcli.sh: line 3: syntax error near unexpected token `$'{\r''
'/wcli.sh: line 3: `function config_extract() {
molnard commented 2 years ago

The end of the line should be LF. If it is CRLF it will fail like above. I did a fresh clone and it is working for me.

https://www.atechtown.com/notepad-eol-conversion/

TLDR

Go to Edit-> EOL Conversion – > Unix(LF)

nopara73 commented 2 years ago

Did a fresh clone and this works.