Skip to content
This repository has been archived by the owner on May 10, 2020. It is now read-only.

Downloading schema /xdsl.json seems produce a KeyError #15

Open
Sylvain303 opened this issue Jan 21, 2019 · 0 comments
Open

Downloading schema /xdsl.json seems produce a KeyError #15

Sylvain303 opened this issue Jan 21, 2019 · 0 comments

Comments

@Sylvain303
Copy link

Hi,

I was used to use your code back in 2017

git clone https://github.com/yadutaf/ovh-cli.git
cd ovh-cli/
pip install wheel
pip install setuptools
pip install -r requirements.txt
# downloads json for API
./ovh-eu

But now it fails with:

[...]
Downloading schema /vrack.json
Downloading schema /xdsl.json

Traceback (most recent call last):
  File "./ovh-eu", line 181, in <module>
    parser = init_arg_parser(endpoint, options['refresh'])
  File "./ovh-eu", line 135, in init_arg_parser
    operation['description']
KeyError: 'description'

Hacking around the code, I managed to skip the faulty record.
It seems still working after that. :)

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

No branches or pull requests

1 participant