Bug 889150 - [patch] python-bugzilla: traceback with certain arguments trying to split None
Summary: [patch] python-bugzilla: traceback with certain arguments trying to split None
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-bugzilla
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Will Woods
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 850121 895254 902426 914780 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-20 10:46 UTC by Stanislav Ochotnicky
Modified: 2016-04-26 19:57 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-22 21:01:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to verify we are not splitting None (730 bytes, patch)
2012-12-20 10:46 UTC, Stanislav Ochotnicky
no flags Details | Diff

Description Stanislav Ochotnicky 2012-12-20 10:46:13 UTC
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 msrb -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>
    main()
  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

Comment 1 Cole Robinson 2012-12-27 22:27:32 UTC
Thanks for the patch Stanislav, this was inadvertently fixed upstream a few days ago. Update coming soon.

Comment 2 Cole Robinson 2012-12-28 03:10:06 UTC
*** Bug 850121 has been marked as a duplicate of this bug. ***

Comment 3 Cole Robinson 2013-01-14 23:55:51 UTC
*** Bug 895254 has been marked as a duplicate of this bug. ***

Comment 4 Cole Robinson 2013-01-24 19:28:54 UTC
*** Bug 902426 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2013-02-16 15:21:23 UTC
python-bugzilla-0.8.0-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/python-bugzilla-0.8.0-1.fc18

Comment 6 Cole Robinson 2013-02-26 23:58:48 UTC
*** Bug 914780 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Update System 2013-03-04 22:13:19 UTC
python-bugzilla-0.8.0-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/python-bugzilla-0.8.0-2.fc18

Comment 8 Fedora Update System 2013-03-05 23:25:18 UTC
Package python-bugzilla-0.8.0-2.fc18:
* 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:
https://admin.fedoraproject.org/updates/FEDORA-2013-3447/python-bugzilla-0.8.0-2.fc18
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2013-03-22 21:01:08 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.