obstschale/NSC

convert operation hangs if the 3rd number starts with "1"

kevinlsw opened this issue · 2 comments

If the 3rd argument of the "convert" operation starts with 1, the python script seems to hang.

For example,

"convert 10 16 12" will trigger the following processes:

python convertNumber.py 10 16 1
/bin/bash -c python convertNumber.py 10 16 1 2>&1 | tee nsc.log

Notice the 3rd argument "12" is truncated and gets recognized as "1" instead, and the script just hangs there forever.

I noticed this when the fan on my macbook went crazy loud :)

I already know about this bug but couldn't solve it so far, because I'm pretty new to Python. But thx for your input I hope it helps me to solve the problem.

Thx @kevinlsw that was the problem and is solved within v2.01