[python-bugzilla] Expat Error Bug --Bugzilla 4.4.1, bugwarrior 0.6.3, python-bugzilla 0.9.0
Cole Robinson
crobinso at redhat.com
Sat Dec 14 17:12:19 UTC 2013
On 12/09/2013 07:37 PM, Michael Schmitt wrote:
> TRACE Traceback (most recent call last):
> TRACE File
> "/usr/local/lib/python2.7/dist-packages/bugwarrior-0.6.3-py2.7.egg/bugwarrior/services/__init__.py",
> line 197, in _aggregate_issues
> TRACE service = SERVICES[conf.get(target, 'service')](conf, target, shorten)
> TRACE File
> "/usr/local/lib/python2.7/dist-packages/bugwarrior-0.6.3-py2.7.egg/bugwarrior/services/bz.py",
> line 63, in __init__
> TRACE self.bz <http://self.bz> = bugzilla.Bugzilla(url=url)
> TRACE File "/usr/local/lib/python2.7/dist-packages/bugzilla/__init__.py",
> line 105, in __init__
> TRACE c = getBugzillaClassForURL(kwargs['url'])
> TRACE File "/usr/local/lib/python2.7/dist-packages/bugzilla/__init__.py",
> line 50, in getBugzillaClassForURL
> TRACE extensions = s.Bugzilla.extensions()
> TRACE File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
> TRACE return self.__send(self.__name, args)
> TRACE File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
> TRACE verbose=self.__verbose
> TRACE File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
> TRACE return self.single_request(host, handler, request_body, verbose)
> TRACE File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
> TRACE return self.parse_response(response)
> TRACE File "/usr/lib/python2.7/xmlrpclib.py", line 1467, in parse_response
> TRACE p.feed(data)
> TRACE File "/usr/lib/python2.7/xmlrpclib.py", line 557, in feed
> TRACE self._parser.Parse(data, 0)
> TRACE ExpatError: mismatched tag: line 91, column 4
>
> I've tried to debug, but I can't seem to figure it out. Please help!
>
As Don said, could be that your URL is wrong, not pointing to the correct
xmlrpc.cgi path.
That said, the git version has some error reporting fixes in this area that
might pinpoint the problem. If you aren't comfortable with git, you can try
python-bugzilla-0.8.0 and see if it gives a better error message.
- Cole
More information about the python-bugzilla
mailing list