Skip to content

Wrong key error when importing data from debian (using Docker while setup) #383

@Pushpit07

Description

@Pushpit07

I was setting up vulnerablecode using docker on macOS Big Sur. I ran DJANGO_DEV=1 python manage.py import --all to run all data importers as specified in the README and ran into this error-

File "/usr/local/lib/python3.8/site-packages/schema.py", line 396, in validate
    nvalue = Schema(svalue, error=e, ignore_extra_keys=i).validate(value)
File "/usr/local/lib/python3.8/site-packages/schema.py", line 417, in validate
    raise SchemaWrongKeyError(message, e.format(data) if e else None)
schema.SchemaWrongKeyError: Wrong key 'bullseye-security' in {'bullseye': '1.17.0+ds1-1.3', 'bullseye-security': '1.17.0+ds1-1.3~deb11u1'}

Screenshot 2021-03-18 at 09 50 38

Screenshot 2021-03-18 at 09 50 44

Screenshot 2021-03-18 at 09 50 49

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