Skip to content

AttributeError: 'NoneType' object has to attribute 'group' #38

@DeadlySquad13

Description

@DeadlySquad13

Hello! Thanks for cool and manly utility!
Unfortunately, I get this error on ArchLinux.

ds13@salt:.../Projects/--personal/Programming_dotfiles.bootstrap$ manly notify-send -it

Traceback (most recent call last):
  File "/usr/bin/manly", line 204, in <module>
    main()
  File "/usr/bin/manly", line 193, in main
    title, output = manly(args.command)
                    ^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/manly", line 164, in manly
    re.search(r"(?<=^NAME\n\s{5}).+", manpage, re.MULTILINE).group(0).strip()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'group'

ds13@salt:.../Projects/--personal/Programming_dotfiles.bootstrap$ manly --version

manly 0.4.1
Copyright (c) 2017 Carl Bordum Hansen.
MIT License: see LICENSE.

Written by Carl Bordum Hansen and Mark Jameson.

I tried installing it both via pipx and yay - the result is the same. I see that this issue was once resolved but what is the fix to problem?

Originally posted by @DeadlySquad13 in #30 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions