Issue #36 resolved

Error on example code

Anonymous created an issue

{{{

!python

from django.conf import settings from amazonproduct import API api = API(settings.AWS_KEY, settings.SECRET_KEY, 'us') <string>:1: DeprecationWarning: Please use a config file! node = api.item_search('Books', Publisher='Galileo Press') Traceback (most recent call last): File "<console>", line 1, in <module> File "/Users/cccccaaa/Desktop/django_projects/motloh/.env/lib/python2.6/site-packages/amazonproduct/api.py", line 431, in item_search return paginator(self.call, operators) File "/Users/cccccaaa/Desktop/django_projects/motloh/.env/lib/python2.6/site-packages/amazonproduct/processors/__init__.py", line 93, in __init__ self._first_page = self.page(1) File "/Users/cccccaaa/Desktop/django_projects/motloh/.env/lib/python2.6/site-packages/amazonproduct/processors/__init__.py", line 122, in page root = self.fun(*self.args, self.kwargs) File "/Users/cccccaaa/Desktop/django_projects/motloh/.env/lib/python2.6/site-packages/amazonproduct/api.py", line 321, in call return self._parse(fp) File "/Users/cccccaaa/Desktop/django_projects/motloh/.env/lib/python2.6/site-packages/amazonproduct/api.py", line 274, in _parse raise MissingParameters(m.group('parameter')) MissingParameters: AssociateTag }}}

Comments (2)

  1. Log in to comment