Open TraderStf opened 9 years ago
I realize this thread is very old, but I'm also experiencing this.
Looking at the debug console, it appears that this is when we use sed to perform a regex replace.
sed -e 's/.*"CAD":\([0-9]*.[0-9]*\).*$/\1/g'
is what I have, and I receive an error on the escaped \1
: ParseError: octal escape sequences are not allowed \1
Is there a way to use sed to perform regex replace like this?
unfortunately it is a known issue with coffeescript. You can circumvent it by using
command: "sed -e 's/.*\"CAD\":\([0-9]*.[0-9]*\).*$/\#{1}/g'"
i.e. interpolating the 1
by using #{1}
Try changing the regex, making mistakes... sometimes, the output will be just "s/...." correct/restore it, the news are updated. Sometimes UBS will be frozen, must quit and restart it.