Bug 638496 - Unable to raise bug using bugzilla cmd-line
Summary: Unable to raise bug using bugzilla cmd-line
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-bugzilla
Version: el6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Will Woods
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-29 07:42 UTC by Kedar Bidarkar
Modified: 2013-03-25 18:50 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-25 18:50:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kedar Bidarkar 2010-09-29 07:42:12 UTC
Description of problem:  Unable to log bugs using bugzilla command


Version-Release number of selected component (if applicable):  

python-bugzilla-0.6.0-1.el6.noarch.rpm
python-2.6.5-3.el6.i686  and x86_64

How reproducible: while using bugzilla cmd-line interface, throws the below error.

bugzilla new -p"xxxxxx" -v "1.0" -c "xxx" -l"initial bug opening" -s"xxxx"

Username: 
> Password:
> Logging in... Authorization cookie received.
> Traceback (most recent call last):
>   File "/usr/bin/bugzilla", line 655, in <module>
>     main()
>   File "/usr/bin/bugzilla", line 493, in main
>     data[a] = i.split(',')
> AttributeError: 'NoneType' object has no attribute 'split'
>

Steps to Reproduce:
1. bugzilla new -p"xxxxxx" -v "1.0" -c "xxx" -l"initial bug opening" -s"xxxx xxx xxx"
2.
3.
  
Actual results: Unable to create a bug


Expected results: should log/create a bug and provide the bug id.


Additional info:


( bugzilla new -p"xxxxxx" -v "1.0" -c "xxx" -l"initial bug opening" -s"xxxx" )

Error:

Username: 
> Password:
> Logging in... Authorization cookie received.
> Traceback (most recent call last):
>   File "/usr/bin/bugzilla", line 655, in <module>
>     main()
>   File "/usr/bin/bugzilla", line 493, in main
>     data[a] = i.split(',')
> AttributeError: 'NoneType' object has no attribute 'split'
>

Comment 1 Ales Zelinka 2011-11-22 15:44:31 UTC
I suspect missing hasattr() before the getattr() call (on line 491) is to blame for this. Adding (an optional) --cc=email can be used as an workaround.

Comment 2 Cole Robinson 2012-12-30 21:42:49 UTC
This is fixed in current python-bugzilla git FYI

Comment 3 Fedora Update System 2013-02-16 15:28:35 UTC
python-bugzilla-0.8.0-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-bugzilla-0.8.0-1.el6

Comment 4 Fedora Update System 2013-03-04 22:20:31 UTC
python-bugzilla-0.8.0-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-bugzilla-0.8.0-2.el6

Comment 5 Fedora Update System 2013-03-09 19:21:19 UTC
Package python-bugzilla-0.8.0-2.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing python-bugzilla-0.8.0-2.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-0578/python-bugzilla-0.8.0-2.el6
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-03-25 18:50:33 UTC
python-bugzilla-0.8.0-2.el6 has been pushed to the Fedora EPEL 6 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.