CrowdForge
CrowdForge copied to clipboard
Problem with creating hits
Hi, I am working now on the survey paper about crowdsourcing tools/platforms supporting execution of complex tasks. I plan to put the TurKit inside.
I have followed the instructions: 2. Add a new Problem instance. Give it a name and these parameters
- flow: SimpleFlow,
- partition: create article
- map: collect a fact
- reduce: write a paragraph
- Run
./manage.py poll
manually, and a HIT should be created (check the MTurk server) Here is what I have:
- Run
(crowdforge)Pavels-MacBook-Pro-4:CrowdForge pavelk$ ./manage.py poll
Traceback (most recent call last):
File "./manage.py", line 11, in <module>
execute_manager(settings)
File "/opt/crowdforge/lib/python2.7/site-packages/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/opt/crowdforge/lib/python2.7/site-packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/crowdforge/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/opt/crowdforge/lib/python2.7/site-packages/django/core/management/base.py", line 220, in execute
output = self.handle(*args, **options)
File "/Users/pavelk/Code/Research/CrowdForge/crowdforge/management/commands/poll.py", line 15, in handle
self.post_notifications()
File "/Users/pavelk/Code/Research/CrowdForge/crowdforge/management/commands/poll.py", line 30, in post_notifications
results = fetch_results(hit)
File "/Users/pavelk/Code/Research/CrowdForge/crowdforge/utils.py", line 40, in fetch_results
assignments = conn.get_assignments(hit.hit_id)
File "/opt/crowdforge/lib/python2.7/site-packages/boto/mturk/connection.py", line 417, in get_assignments
[('Assignment', Assignment)])
File "/opt/crowdforge/lib/python2.7/site-packages/boto/mturk/connection.py", line 838, in _process_request
return self._process_response(response, marker_elems)
File "/opt/crowdforge/lib/python2.7/site-packages/boto/mturk/connection.py", line 853, in _process_response
raise MTurkRequestError(response.status, response.reason, body)
boto.mturk.connection.MTurkRequestError: MTurkRequestError: 200 OK
<?xml version="1.0" ?>
<GetAssignmentsForHITResponse>
<OperationRequest>
<RequestId>40e54627-976d-40cf-af0e-3327e1fe520a</RequestId>
</OperationRequest>
<GetAssignmentsForHITResult>
<Request>
<IsValid>False</IsValid>
<Errors>
<Error>
<Code>AWS.MechanicalTurk.HITDoesNotExist</Code>
<Message>Hit ? does not exist. (1417442689721 s)</Message>
<Data>
<Key>HITId</Key>
<Value>?</Value>
</Data>
<Data>
<Key>HITId</Key>
<Value>?</Value>
</Data>
</Error>
</Errors>
</Request>
</GetAssignmentsForHITResult>
</GetAssignmentsForHITResponse>
Initially I used the boto version suggested in the instruction - but then i had https error (i think that version sent requests via http, rather than the current AWS requires to have https only). So I decided to upgrade to the final version of the Boto.