You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've reinstalled Windows 10 and as a result am reploying an algo server I've had for a few years.
I've installed Ubuntu 20.04 (WSL), Python 3.8, and all the dependencies without an issue.
The problem comes when I try to start deployment.
(.env) cmealings@DESKTOP-2OEIIN0:/mnt/c/Users/charl/algo$ ./algo ./algo: line 2: $'\r': command not found : invalid optionset: - set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...] ./algo: line 4: $'\r': command not found ./algo: line 18: syntax error near unexpected token ``$'in\r'' '/algo: line 18: ``case "$1" in``
I feel like this is a really simple problem, the contents of the 'algo' file or another script it call just aren't being read properly, as if it's being read by the wrong application. Help?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've reinstalled Windows 10 and as a result am reploying an algo server I've had for a few years.
I've installed Ubuntu 20.04 (WSL), Python 3.8, and all the dependencies without an issue.
The problem comes when I try to start deployment.
(.env) cmealings@DESKTOP-2OEIIN0:/mnt/c/Users/charl/algo$ ./algo
./algo: line 2: $'\r': command not found
: invalid optionset: -
set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
./algo: line 4: $'\r': command not found
./algo: line 18: syntax error near unexpected token ``$'in\r''
'/algo: line 18: ``case "$1" in``
I feel like this is a really simple problem, the contents of the 'algo' file or another script it call just aren't being read properly, as if it's being read by the wrong application. Help?
Beta Was this translation helpful? Give feedback.
All reactions