Your message dated Tue, 3 Mar 2020 10:42:10 +0100
with message-id 
<CAOO6c=wbxv2zlkg_qzkab2hptbgtrqfdcuyivaye67yb3gd...@mail.gmail.com>
and subject line Please read man page :)
has caused the Debian Bug report #951506,
regarding No such file or directory: '/.../tldr/pages/index.json'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
951506: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951506
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tldr-py
Version: 0.7.0-3
Severity: important

$ cd /tmp
$ git clone [email protected]: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

--- End Message ---
--- Begin Message ---
Tags: wontfix

Hi,

from man page:

EXAMPLES
       Download tldr pages and init config
       $ git clone [email protected]:tldr-pages/tldr.git ~/.tldr
       $ tldr init
       Input the tldr repo path(absolute path): /home/<user>/.tldr
       Input your platform(linux, osx or sunos): linux
       $ tldr reindex <<< this is important :)

       Update tldr pages
       $ tldr update

       Show tar tldr page
       $ tldr find tar

-- 
Best regards
 Ondřej Nový

--- End Message ---

Reply via email to