void-linux / void-linux/void-packages
`httpie` crash
Open
Nobody has claimed this yet.
bug
needs-testing
- Dominant language
- Shell
- Stars
- 3.4k
- Forks
- 2.8k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 299
Description
Is this a new report?
Yes
System Info
Void 6.1.6_1 x86_64-musl GenuineIntel uptodate rFFF
Package(s) Affected
httpie
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No.
Expected behaviour
Running http, https, or httpie returns actual response.
Actual behaviour
user@host$ https voidlinux.org
Traceback (most recent call last):
File "/bin/https", line 33, in <module>
sys.exit(load_entry_point('httpie==3.2.1', 'console_scripts', 'https')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/httpie/__main__.py", line 9, in main
exit_status = main()
^^^^^^
File "/usr/lib/python3.11/site-packages/httpie/core.py", line 160, in main
from .cli.definition import parser
File "/usr/lib/python3.11/site-packages/httpie/cli/definition.py", line 27, in <module>
description=f'{__doc__.strip()} <https://httpie.io>',
^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'strip'
Steps to reproduce
- Install
httpie - Run
https voidlinux.org
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with https voidlinux.org after installing the httpie package, then inspect the package's entry-point setup and the traceback locations in /usr/lib/python3.11/site-packages/httpie/cli/definition.py and httpie/core.py. Done means http, https, and httpie return an actual response instead of raising the shown AttributeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100