Skip to content

Error testing the example code  #18

Description

@masuta16

amzsear 'Harry Potter' -p 2 -i 35 --output json

Traceback (most recent call last):
File "/home/osboxes/.local/bin/amzsear", line 11, in
sys.exit(run())
File "/home/osboxes/.local/lib/python3.5/site-packages/amzsear/cli/cli.py", line 26, in run
prod = out[args['item']]
File "/home/osboxes/.local/lib/python3.5/site-packages/amzsear/core/AmzSear.py", line 113, in getitem
return self.get(key, default=None, raise_error=True)
File "/home/osboxes/.local/lib/python3.5/site-packages/amzsear/core/AmzSear.py", line 144, in get
raise KeyError('The key %s is not a know index' % (repr(key)) )
KeyError: "The key '35' is not a know index"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions