Bug 1866463

Summary: dulwich cli broken
Product: [Fedora] Fedora Reporter: Fabien Boucher <fboucher>
Component: python-dulwichAssignee: Fabian Affolter <mail>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: mail
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-dulwich-0.20.13-1.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-26 01:36:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fabien Boucher 2020-08-05 15:46:33 UTC
Description of problem: Unable to run the CLI.

Version-Release number of selected component (if applicable):
python3-dulwich-0.20.5-3.fc33.x86_64


How reproducible:
always

Steps to Reproduce:
1. dnf install -y python-dulwich
2. dulwich

Actual results:
Traceback (most recent call last):
  File "/usr/bin/dulwich", line 33, in <module>
    sys.exit(load_entry_point('dulwich==0.20.5', 'console_scripts', 'dulwich')())
  File "/usr/lib64/python3.9/site-packages/dulwich/cli.py", line 713, in main
    if len(argv) < 1:
TypeError: object of type 'NoneType' has no len()

Expected results:
No error

Comment 1 Ben Cotton 2020-08-11 15:17:33 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 2 Fabian Affolter 2020-10-31 09:10:51 UTC
This is an upstream issue -> https://github.com/dulwich/dulwich/issues/810

Comment 3 Fedora Update System 2020-11-23 08:03:40 UTC
FEDORA-2020-050845a033 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-050845a033

Comment 4 Fedora Update System 2020-11-24 01:26:05 UTC
FEDORA-2020-050845a033 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-050845a033`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-050845a033

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2020-12-26 01:36:17 UTC
FEDORA-2020-050845a033 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.