Package: grip
Version: 4.2.0-3

I wanted to clear the cache, but that failed unexpectedly:

    $ grip --clear
    Traceback (most recent call last):
      File "/usr/bin/grip", line 9, in <module>
        load_entry_point('grip==4.2.0', 'console_scripts', 'grip')()
      File "/usr/share/grip/grip/command.py", line 94, in main
        clear_cache()
      File "/usr/share/grip/grip/api.py", line 69, in clear_cache
        grip_class().clear_cache()
      File "/usr/share/grip/grip/app.py", line 48, in __init__
        source = DirectoryReader(source)
      File "/usr/share/grip/grip/readers.py", line 90, in __init__
        root_filename = os.path.abspath(self._resolve_readme(path, silent))
      File "/usr/share/grip/grip/readers.py", line 132, in _resolve_readme
        return self._find_file(path, silent)
      File "/usr/share/grip/grip/readers.py", line 108, in _find_file
        raise ReadmeNotFoundError(path)
    grip.exceptions.ReadmeNotFoundError: No README found at .

I don't think README should be needed to clear the cache...


-- System Information:
Architecture: i386

Versions of packages grip depends on:
ii  python3-docopt            0.6.2-4
ii  python3-flask             2.0.3-1
ii  python3-markdown          3.4.1-2
ii  python3-path-and-address  2.0.1-3
ii  python3-pygments          2.12.0+dfsg-2
ii  python3-requests          2.27.1+dfsg-1
ii  python3                   3.10.6-1

--
Jakub Wilk

Reply via email to