[Python-apps-team] Bug#951506: No such file or directory: '/.../tldr/pages/index.json'

Tomas Pospisek tpo_deb at sourcepole.ch
Mon Feb 17 15:12:32 GMT 2020


Package: tldr-py
Version: 0.7.0-3
Severity: important

$ cd /tmp
$ git clone git at github.com:tldr-pages/tldr.git
[...]
$ tldr-py init
Input the tldr repo path(absolute path): /tmp/tldr
Input your platform(linux, osx or sunos): linux
Initializing the config file at $HOME/.tldrrc
$ ------------------------------^ I've my $HOME here and below, evindentyl...
$ tldr-py find at
Traceback (most recent call last):
  File "/usr/bin/tldr-py", line 11, in <module>
    load_entry_point('tldr.py==0.7.0', 'console_scripts', 'tldr')()
  File "$HOME/.local/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "$HOME/.local/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "$HOME/.local/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "$HOME/.local/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "$HOME/.local/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/tldr/cli.py", line 103, in find
    output_lines = parse_man_page(command, on)
  File "/usr/lib/python3/dist-packages/tldr/cli.py", line 24, in parse_man_page
    page_path = find_page_location(command, platform)
  File "/usr/lib/python3/dist-packages/tldr/cli.py", line 37, in find_page_location
    encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tldr/pages/index.json'


-- System Information:
Debian Release: 10.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_CH.utf8, LC_CTYPE=de_CH.utf8 (charmap=UTF-8), LANGUAGE=de_CH:de (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tldr-py depends on:
ii  python3                3.7.3-1
ii  python3-click          7.0-1
ii  python3-pkg-resources  40.8.0-1
ii  python3-yaml           3.13-2

Versions of packages tldr-py recommends:
ii  git  1:2.20.1-2+deb10u1

tldr-py suggests no packages.

-- no debconf information



More information about the Python-apps-team mailing list