Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR:ForemanAPIClient:zero length field name in format #6

Open
agit05 opened this issue Aug 24, 2017 · 0 comments
Open

ERROR:ForemanAPIClient:zero length field name in format #6

agit05 opened this issue Aug 24, 2017 · 0 comments

Comments

@agit05
Copy link

agit05 commented Aug 24, 2017

./check_katello_currency.py -a repoauthfile -y -P
/usr/lib/python2.6/site-packages/argparse.py:1575: DeprecationWarning: The "version" argument to ArgumentParser is deprecated. Please use "add_argument(..., action='version', version="N", ...)" instead
"""instead""", DeprecationWarning)
ERROR:ForemanAPIClient:zero length field name in format
Traceback (most recent call last):
File "./check_katello_currency.py", line 600, in
main(options)
File "./check_katello_currency.py", line 576, in main
options.server, sat_user, sat_pass, options.ssl_verify
File "/root/scripts/satellite/check_katello_currency/ForemanAPIClient.py", line 87, in init
self.validate_api_support()
File "/root/scripts/satellite/check_katello_currency/ForemanAPIClient.py", line 244, in validate_api_support
self.api_get("/status")
File "/usr/lib64/python2.6/json/init.py", line 307, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.6/json/decoder.py", line 319, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer

System facts:
OS: RHEL 6
Satellite API v2
Python 2.6.6

Any hints/workarounds for this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant