这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.
This repository was archived by the owner on Jul 26, 2022. It is now read-only.

listedeployments produces stack trace #3

@codebudo

Description

@codebudo
$ apigeetool listdeployments -o codebudo -e test -u codebudo -p (redacted)
Traceback (most recent call last):
  File "/usr/local/bin/apigeetool", line 26, in <module>
    listdeployments.run()
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ApigeePlatformTools/listdeployments.py", line 63, in run
    deploytools.getAndPrintEnvDeployments(Organization, Environment)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ApigeePlatformTools/deploytools.py", line 108, in getAndPrintEnvDeployments
    printDeployments(getAndParseEnvDeployments(org, env))
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ApigeePlatformTools/deploytools.py", line 105, in getAndParseEnvDeployments
    return parseEnvDeployments(org, response, env)   
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ApigeePlatformTools/deploytools.py", line 41, in parseEnvDeployments
    deployments = json.load(resp)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 290, in load
    **kw)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 365, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 383, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

The values of the -o, -u and -p don't seem to matter. I get this same stack trace no matter what values I choose. I'm entering what I believe to be my correct credentials, but I can't be sure with this tool. Is there a verbose or debug option?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions