Hi,
I would like to start using python-bugzilla to search for bugzillas based on a search url (bugzilla.redhat.com <http://bugzilla.redhat.com/> and partner-bugzilla.redhat.com <http://partner-bugzilla.redhat.com/>).
It works for me for some sample query. Like this:
bzapi = bugzilla.Bugzilla('bugzilla.redhat.com')
simpleq = 'https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&…'
query = bzapi.url_to_query(simpleq)
bugs = bzapi.query(query)
This works nicely. But my real query returns this when called without login:
xmlrpc.client.Fault: <Fault 108: "Can't use cf_internal_whiteboard as a field name.">
So I tried to login:
bzapi.login(user=...,password=...)
Unfortunately that returns:
bugzilla.transport.BugzillaError: Login failed: The username or password you entered is not valid.
I am pretty sure that the credentials are valid - I used them elsewhere. Does anybody have any idea what could be wrong?
Thanks,
Martin
--
Martin Malina
Software Engineer, PnT DevOps Automation
Red Hat Czech s.r.o.