ashwinvis / ashwinvis/apt-local
Unhandled exception
- Dominant language
- Python
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
* apt-local version: 0.0.2b1 (pypy latest)
* Python version: 3.8.16
* Operating System: Linux
### Description
apt-local install openssl-dev
(Note the is the wrong package name)
it should be openssl without the -dev but that should not fail badly.
Instread we get a very long backtrace and app exits ungracefully.
"subprocess.CalledProcessError: Command '['grep', '-e', ' *Depends']' returned non-zero exit status 1."
Looks like it's in need of a try/except
Contributor guide
Research direction
Reproduce the apt-local install openssl-dev command and inspect the traceback around subprocess.CalledProcessError from grep. The issue names no source file or test; done means an invalid package name exits gracefully without a long traceback or unhandled exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- debian, python
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100