Bug 1215982 - Server error: not well-formed (invalid token): line 1, column 0
Summary: Server error: not well-formed (invalid token): line 1, column 0
Keywords:
Status: CLOSED DUPLICATE of bug 1215439
Alias: None
Product: Fedora
Classification: Fedora
Component: python-bugzilla
Version: 22
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-28 09:39 UTC by Michal Kovarik
Modified: 2015-04-28 13:27 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-04-28 13:27:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michal Kovarik 2015-04-28 09:39:30 UTC
Description of problem:
Unable to run bugzilla commands.

Version-Release number of selected component (if applicable):
python-bugzilla-1.2.0-1.fc22.noarch

How reproducible:
Always

Steps to Reproduce:
1. run eg. bugzilla --debug info -p
2.
3.

Actual results:
[11:36:27] INFO (bugzilla:1149) Connecting to https://bugzilla.redhat.com/xmlrpc.cgi
[11:36:27] INFO (bugzilla:1152) Autodetecting Bugzilla type
[11:36:27] DEBUG (__init__:39) Detecting subclass for https://bugzilla.redhat.com/xmlrpc.cgi
[11:36:27] INFO (__init__:46) Using RHBugzilla for URL containing bugzilla.redhat.com
[11:36:27] INFO (__init__:114) Chose subclass RHBugzilla v0.1
[11:36:27] DEBUG (base:420) Using tokenfile=/home/mkovarik/.bugzillatoken
[11:36:27] DEBUG (base:537) Using cookiefile=/home/mkovarik/.bugzillacookies
[11:36:27] INFO (base:672) Using cookies in /home/mkovarik/.bugzillacookies for authentication
[11:36:28] DEBUG (bugzilla:1272) 
Traceback (most recent call last):
  File "/usr/bin/bugzilla", line 1260, in <module>
    main()
  File "/usr/bin/bugzilla", line 1219, in main
    _do_info(bz, opt)
  File "/usr/bin/bugzilla", line 732, in _do_info
    products = bz.getproducts(include_fields=include_fields)
  File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 780, in getproducts
    self._products = self._getproducts(**kwargs)
  File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 914, in _getproducts
    product_ids = self._proxy.Product.get_accessible_products()
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 168, in _ServerProxy__request
    ret = ServerProxy._ServerProxy__request(self, methodname, params)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1591, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 263, in request
    return self._request_helper(url, request_body)
  File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 250, in _request_helper
    raise e
BugzillaError: not well-formed (invalid token): line 1, column 0

Server error: not well-formed (invalid token): line 1, column 0

Expected results:
no error

Additional info:
no issues on fedora21

Comment 1 Cole Robinson 2015-04-28 13:27:21 UTC
You need to downgrade to python-urllib3

koji download-build python-urllib3-1.10.2-1.fc22
yum downgrade ./python-urllib3-1.10.2-1.fc22.noarch

*** This bug has been marked as a duplicate of bug 1215439 ***


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