Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DeadlySquad13 opened this issue Apr 30, 2024 · 0 comments
Open

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

DeadlySquad13 opened this issue Apr 30, 2024 · 0 comments

Comments

@DeadlySquad13
Copy link

DeadlySquad13 commented Apr 30, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant