You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
manage.py mturk_pending_queue is incompatible with the version of boto in the requirements file #1
After running ./manage.py mturk_pending_queue I get the following error:
Traceback (most recent call last):
File "./manage.py", line 28, in
execute_from_command_line()
File "/Users/ccb/.virtualenvs/wt.dev/lib/python2.6/site-packages/django/core/management/__init__.py", line 352, in execute_from_command_line
utility.execute()
File "/Users/ccb/.virtualenvs/wt.dev/lib/python2.6/site-packages/django/core/management/__init__.py", line 306, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/ccb/.virtualenvs/wt.dev/lib/python2.6/site-packages/django/core/management/base.py", line 192, in run_from_argv
self.execute(*args, **options.__dict__)
File "/Users/ccb/.virtualenvs/wt.dev/lib/python2.6/site-packages/django/core/management/base.py", line 219, in execute
output = self.handle(*args, **options)
File "/Users/ccb/.virtualenvs/wt.dev/lib/python2.6/site-packages/django/core/management/base.py", line 348, in handle
return self.handle_noargs(**options)
File "/Users/ccb/Code/wikitrans/wt-app/apps/mturk_manager/management/commands/mturk_pending_queue.py", line 15, in handle_noargs
handle_pending_task(task_item)
File "/Users/ccb/Code/wikitrans/wt-app/apps/mturk_manager/workflow.py", line 248, in handle_pending_task
handle_task(task_item, PENDING_FUNCTIONS)
File "/Users/ccb/Code/wikitrans/wt-app/apps/mturk_manager/workflow.py", line 240, in handle_task
retval = function(task_item, retval=retval)
File "/Users/ccb/Code/wikitrans/wt-app/apps/wt_articles/mturk.py", line 168, in generate_question_forms
qf = QuestionForm()
File "/Users/ccb/.virtualenvs/wt.dev/lib/python2.6/site-packages/boto/mturk/question.py", line 145, in __init__
raise ValueError("Must pass a list of Question instances to QuestionForm constructor")
ValueError: Must pass a list of Question instances to QuestionForm constructor
This appears to be because the version of boto that gets downloaded as part of the requirements does not incorporate James's patch.
Activity
callison-burch commentedon Jan 29, 2010
This can be fixed by directly downloading the current version of boto (for some reason pip isn't getting the current version).
svn checkout http://boto.googlecode.com/svn/trunk/ boto-read-only
cd wikitrans/wt-app
ln -s ~/Code/boto-read-only/boto
We will close this issue once we verify that this version gets downloaded with pip and the requirements file.