Hi Martin!
Most Bugzilla implementations are heavily modified to suit local needs.
The error suggests that your query is trying to access an undefined field.
Which is weird because that query does not mention the field. But, you
might have better luck communicating with the administrators of that
bugzilla instance. It doesn't look like this relates to being logged in or
not (but I could be wrong..).
Dustin
On Mon, Sep 10, 2018 at 11:41 AM, Martin Malina <mmalina(a)redhat.com> wrote:
Hi,
I would like to start using python-bugzilla to search for bugzillas based
on a search url (
bugzilla.redhat.com and
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&classification=Red%20Hat&product=Cloud%20Image%
20Validation&query_format=advanced'
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.
_______________________________________________
python-bugzilla mailing list -- python-bugzilla(a)lists.fedorahosted.org
To unsubscribe send an email to python-bugzilla-leave@lists.
fedorahosted.org
Fedora Code of Conduct:
https://getfedora.org/code-of-conduct.html
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/python-
bugzilla(a)lists.fedorahosted.org