Red Hat Bugzilla – Bug 889150
[patch] python-bugzilla: traceback with certain arguments trying to split None
Last modified: 2016-04-26 15:57:18 EDT
Created attachment 666584 [details]
Patch to verify we are not splitting None
Description of problem:
python-bugzilla fails with certain arguments when trying to split None
for p in `repoquery --repoid rawhide -s --whatrequires maven-doxia | sed 's|-[^-]*-[^-]*$||' | sort -u`; do bugzilla new -p Fedora -v rawhide -c $p --cc email@example.com -s "$p: Migrate from maven-doxia to doxia subpackages" -l "maven-doxia was split into multiple subpackages. Your package currently requires or build-requires maven-doxia. Please fix your requires or build requires of your package $p so that it requires proper subpackages of doxia."; done
This results in
Traceback (most recent call last):
File "/usr/bin/bugzilla", line 808, in <module>
File "/usr/bin/bugzilla", line 588, in main
data[a] = i.split(',')
AttributeError: 'NoneType' object has no attribute 'split'
I've attached an upstream patch to verify we have valid variable before trying to split it
Version-Release number of selected component (if applicable):
python-bugzilla-0.7.0-2.fc18.noarch and master branch upstream
Thanks for the patch Stanislav, this was inadvertently fixed upstream a few days ago. Update coming soon.
*** Bug 850121 has been marked as a duplicate of this bug. ***
*** Bug 895254 has been marked as a duplicate of this bug. ***
*** Bug 902426 has been marked as a duplicate of this bug. ***
python-bugzilla-0.8.0-1.fc18 has been submitted as an update for Fedora 18.
*** Bug 914780 has been marked as a duplicate of this bug. ***
python-bugzilla-0.8.0-2.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-bugzilla-0.8.0-2.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
python-bugzilla-0.8.0-2.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.