Open Aayush-Ankit opened 4 years ago
Is this on a local machine? If it is you do not need ssh, you can directly run this on your local machine. Also it would be great if you could list some steps to reproduce this bug
I am connecting to a remote machine over ssh and then running main.py. The issue can be reproduced with 1) ssh
The output of python -v shows the run being stuck at import 'encodings.idna' # <_frozen_importlib_external.SourceFileLoader object at 0x7f9085cad5d0>
for long time - screenshot attached.
Ok, I think I understand what is happening. For now a workaround is you can run it directly from you local machine. 1) Open terminal on local machine (no ssh needed) 2) On you local machine clone the repo 3) pip install -r requirements.txt 4) python main.py --u 'username on cbric machine'
As far as I understand, the issue is because it is trying to do something 'weird' with 'bringing' the UI back to from the 'host' of the ssh. will look into it.
It does work fine with the workaround. Thanks!
The usage report opens instantly on thinlinc, but takes much longer (~5mins) to open up on a terminal over ssh.