Menu

#2 Example getting started code doesn't work

open
nobody
None
5
2009-08-19
2009-08-19
Anonymous
No

>>> from pyaws import ecs
>>> ecs.setLicenseKey('Your-AWS-License-Key')
>>> books = ecs.ItemSearch('python', SearchIndex='Books')

Traceback (most recent call last):
File "get_Book_Data_by_ISBNs.py", line 922, in <module>
books = ItemSearch('python', SearchIndex='Books')
File "get_Book_Data_by_ISBNs.py", line 340, in ItemSearch
return pagedIterator(XMLItemSearch, argv, "ItemPage", 'Items', plugins)
File "get_Book_Data_by_ISBNs.py", line 217, in __init__
dom = self.__search(** self.__arguments)
File "get_Book_Data_by_ISBNs.py", line 349, in XMLItemSearch
return query(buildRequest(argv))
File "get_Book_Data_by_ISBNs.py", line 175, in query
e = buildException(errors)
File "get_Book_Data_by_ISBNs.py", line 160, in buildException
e = globals()[ class_name ](msg)
KeyError: u'ingParameter'

Note: my line numbers may be different.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.