Errors in WSL (WIndows 10)
First off I wanna say what you've written is pretty damn cool. Also please be gentle as I'm a Linux user but not a coder. I have a proper full Linux machine at home I plan on trying this on but here at work I have WSL. More info on WSL here: https://docs.microsoft.com/en-us/windows/wsl/install-win10
So ran through all the steps, pretty smoothly. I did end up with telegram-cli in my user dir. No problem. It runs fine from there without root, I copied the conf file to my home dir, and modified it. ASt the moment I basically have all the top options disabled. Notifications, images, etc to make it as compatible as possible.
I tried to run it and for the errors below. I eventually closed out of WSL, closing all it's windows. I tried to launch it again and it worked! I managed to send a message to a friend. I verified it worked and see the sent message on my phone's Telegram client. I used the arrows and moved over to the Telegram "friend" just to see the verification message, and it crashed again. BTW WSL uses Ubuntu.
It may be that this just can't work reliably or barely at all with WSL. It seems like it's some kind of connectivity issue in WSL, maybe a ipchains/firewall thing? Not sure. Anyway you may not bew interested in fixing something like this. Or it may not be your code at all it could easily be my setup. But I thought I would send it your way. Cheers and thanks.
`$ nctelegram Exception in thread Receiver (pytg): Traceback (most recent call last): File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner self.run() File "/usr/lib/python3.5/threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "/usr/local/lib/python3.5/dist-packages/pytg/receiver.py", line 125, in _receiver raise ConnectionError("Remote end closed.") pytg.exceptions.ConnectionError: Remote end closed.
Traceback (most recent call last):
File "/usr/local/bin/nctelegram", line 93, in