tldr-python-client: Bash on Ubuntu on Windows - Internet connection error

Reproduction Rate

I could reproduce the issue each time I tried to print any TLDR page.

Steps to Reproduce

  1. Install Windows Subsystem for Linux.
  2. Install Ubuntu on Windows.
  3. Run Bash on Ubuntu on Windows.
  4. Install linuxbrew. There is installation instruction on http://linuxbrew.sh.
  5. Install Python3: brew update and brew install python3.
  6. Install TLDR Python client: pip3 install tldr.
  7. Try to print any TLDR page.

Result

$ tldr tldr
No internet connection detected. Please reconnect and try again.
$ tldr apt
No internet connection detected. Please reconnect and try again.

Expected Result

TLDR pages

Additional Information

Windows Subsystem for Linux, Bash on Ubuntu on Windows

I have reproduced the issue on AIX 7.1, Python 2.7.12.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 16 (4 by maintainers)

Most upvoted comments

$ python3
Python 3.6.4 (default, Feb 26 2018, 11:13:22)
[GCC 5.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> print(requests.get('http://google.com'))
<Response [200]>