fedpkg bugzilla error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone, I'm getting an error (below) trying to request a repo for
a new package. I have my Bugzilla API key specified in
~/.config/python-bugzilla/bugzillarc (as well as in ~/.bugzillarc, and
I even tried adding it to ~/.config/rpkg/fedpkg.conf in a variety of
ways). I've confirmed that the API key works with other tools, so I'm
not sure what's going on here. Any suggestions?


bcotton@fpgm ~/f/p/z> fedpkg --verbose request-repo --monitor
monitoring z 1763261
Could not execute request_repo: The Bugzilla bug could not be
verified. The following error was encountered: __init__() missing 1
required positional argument: 'api_key'
Traceback (most recent call last):
 File "/usr/lib/python3.7/site-packages/fedpkg/bugzilla.py", line 39, in client
   self._client = bugzilla.Bugzilla(self.api_url, use_creds=False)
TypeError: __init__() got an unexpected keyword argument 'use_creds'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/usr/lib/python3.7/site-packages/fedpkg/bugzilla.py", line 57,
in get_review_bug
   bug = self.client.getbug(bug_id)
 File "/usr/lib/python3.7/site-packages/fedpkg/bugzilla.py", line 41, in client
   self._client = bugzilla.Bugzilla(self.api_url)
TypeError: __init__() missing 1 required positional argument: 'api_key'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/usr/bin/fedpkg", line 11, in <module>
   load_entry_point('fedpkg==1.37', 'console_scripts', 'fedpkg')()
 File "/usr/lib/python3.7/site-packages/fedpkg/__main__.py", line 86, in main
   sys.exit(client.args.command())
 File "/usr/lib/python3.7/site-packages/fedpkg/cli.py", line 729, in
request_repo
   initial_commit=not self.args.no_initial_commit,
 File "/usr/lib/python3.7/site-packages/fedpkg/cli.py", line 801, in
_request_repo
   bug_obj = bz_client.get_review_bug(bug, ns, repo_name)
 File "/usr/lib/python3.7/site-packages/fedpkg/bugzilla.py", line 61,
in get_review_bug
   'error was encountered: {0}'.format(str(error)))
pyrpkg.errors.rpkgError: The Bugzilla bug could not be verified. The
following error was encountered: __init__() missing 1 required
positional argument: 'api_key'


-- 
Ben Cotton
He / Him / His
Fedora Program Manager
Red Hat
TZ=America/Indiana/Indianapolis
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux