-
Notifications
You must be signed in to change notification settings - Fork 13
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 no attribute 'group' #30
Comments
Sorry about that, I've set it up to pass the full environment again so the issue should be resolved in the current master branch! |
It's resolved. Thanks! |
for the sake of building testcases to avoid this in the future, if you have the time available, could you post the outputs of |
When I run
And nothing is in the resulting file. I tested commands other than I searched a bit and read that the error could be an issue with groff files. I tried:
All looks good. I'm not sure where to go from there, but I'll keep searching. With
I don't believe any of the above info is sensitive information, but correct me if I'm wrong. |
Hello! Thanks for cool and manly utility! 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 is resolved but what is the fix to problem? P.S. Sorry for reviving old issue, haven't noticed that it was created 5 years ago - created separate issue. |
I'm getting an
AttributeError
with certain commands (rm -r
andmkdir -m
for example). Same error with thepy.test
commands. I found that If I removeenv={"MANWIDTH": "80"}
, the error disappears.So far I have tested this on 2 laptops. Unfortunately, they're both Arch Linux, so I haven't had a chance to test another distro yet.
I'm not sure if there's any other information I should provide. I don't know where to begin troubleshooting because I don't fully understand all of the changes in the new version yet.
If it's an Arch specific issue, this can probably be closed, and I'll attempt to find a workaround so I can update my AUR package fork to 0.4.0 (which is currently working with version 0.3.4). I can just remove
env={"MANWIDTH": "80"}
, but I agree that setting it to 80 greatly improves readability, especially in large or full screen terminals.The text was updated successfully, but these errors were encountered: