NYUCCL / psiTurk

An open platform for science on Amazon Mechanical Turk.
https://psiturk.org
MIT License
277 stars 140 forks source link

AMT SyntaxError #373

Closed swj0418 closed 5 years ago

swj0418 commented 5 years ago

Congratulations on supporting python3! I was looking forward to this. However, when trying to turn on psiTurk CLI, this error message pops up. I tried on Ubuntu 16 and 18.

Traceback (most recent call last): File "/usr/local/bin/psiturk", line 11, in load_entry_point('PsiTurk==2.3.2', 'console_scripts', 'psiturk')() File "/usr/local/lib/python2.7/dist-packages/PsiTurk-2.3.2-py2.7.egg/psiturk/command_line.py", line 16, in process launch_shell() File "/usr/local/lib/python2.7/dist-packages/PsiTurk-2.3.2-py2.7.egg/psiturk/command_line.py", line 110, in launch_shell import psiturk.psiturk_shell as ps File "/usr/local/lib/python2.7/dist-packages/PsiTurk-2.3.2-py2.7.egg/psiturk/psiturk_shell.py", line 21, in from psiturk.amt_services_wrapper import MTurkServicesWrapper File "/usr/local/lib/python2.7/dist-packages/PsiTurk-2.3.2-py2.7.egg/psiturk/amt_services_wrapper.py", line 765 raise AmtServicesWrapperError('Error expiring hit {}'.format(hit_id)) from response.exception ^ SyntaxError: invalid syntax

If there is any more information needed, please tell me. Thanks in advance!

deargle commented 5 years ago

Use a virtualenv. And use psiturk 2.3.3

On Fri, Aug 9, 2019, 10:08 AM Sangwon Jeong notifications@github.com wrote:

Congratulations on supporting python3! I was looking forward to this. However, when trying to turn on psiTurk CLI, this error message pops up. I tried on Ubuntu 16 and 18.

Traceback (most recent call last): File "/usr/local/bin/psiturk", line 11, in load_entry_point('PsiTurk==2.3.2', 'console_scripts', 'psiturk')() File "/usr/local/lib/python2.7/dist-packages/PsiTurk-2.3.2-py2.7.egg/psiturk/command_line.py", line 16, in process launch_shell() File "/usr/local/lib/python2.7/dist-packages/PsiTurk-2.3.2-py2.7.egg/psiturk/command_line.py", line 110, in launch_shell import psiturk.psiturk_shell as ps File "/usr/local/lib/python2.7/dist-packages/PsiTurk-2.3.2-py2.7.egg/psiturk/psiturk_shell.py", line 21, in from psiturk.amt_services_wrapper import MTurkServicesWrapper File "/usr/local/lib/python2.7/dist-packages/PsiTurk-2.3.2-py2.7.egg/psiturk/amt_services_wrapper.py", line 765 raise AmtServicesWrapperError('Error expiring hit {}'.format(hit_id)) from response.exception ^ SyntaxError: invalid syntax

If there is any more information needed, please tell me. Thanks in advance!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NYUCCL/psiTurk/issues/373?email_source=notifications&email_token=AAI6Y7ORTOIAQWLUEEQE54LQDWI6NA5CNFSM4IKVM7KKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HEN462Q, or mute the thread https://github.com/notifications/unsubscribe-auth/AAI6Y7IIOLS4MP7QRSBTO5TQDWI6NANCNFSM4IKVM7KA .

swj0418 commented 5 years ago

I will try it thank you very much.