Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MTurk error #4

Open
amrapalijz opened this issue Sep 10, 2019 · 7 comments
Open

MTurk error #4

amrapalijz opened this issue Sep 10, 2019 · 7 comments

Comments

@amrapalijz
Copy link

When I paste the contents of annotation, config, annotate, style files in the Design Layout of MTurk, I get this error
Layout does not contain any fields that include a name attribute. Please include at least one field with the name attribute (input, select or textarea) that will appear in your results.

@Varal7
Copy link
Owner

Varal7 commented Sep 19, 2019

Sorry for the delay. It seems like Mturk has added this check recently.
Can you try adding a dummy field like <input name="dummy" style="visibility:hidden"/> somewhere in the HTML. It worked for me.

@amrapalijz
Copy link
Author

Thanks for your reply. I added this field and I don't get the error. But, now when I uploaded a file with descriptions (the one in your example https://raw.githubusercontent.com/Varal7/ieturk/master/example/output.csv), it doesn't render it correctly. Please see attached screenshot. I am testing it on MTurk Requester Sandbox. I pasted the contents of annotate.html, config.js, annotate.js and the CSS file style.css into the Design layout. Am I missing anything?
Screenshot 2019-09-19 at 08 17 45

@Varal7
Copy link
Owner

Varal7 commented Sep 19, 2019

This doesn't look good, indeed. I will try to fix it next week.
In the meantime, you can use the code here, from an earlier version of the repo:
https://gist.github.com/Varal7/01a241ec7aeab942f91287f697429d70

I have just tried on sandbox and it looks fine with input.csv (make sure you are using input.csv)

@amrapalijz
Copy link
Author

Perfect, the old code worked ! Thanks.

@marcglobality
Copy link

thanks for making this public @Varal7 . It's really cool. Did you ever finish to fix this? Or the only way to go is to use the old code?

@adwaitratnaparkhi
Copy link

This is a nice utility @Varal7. I had the same issue as the original poster with the most recent code. I am able to use the earlier version you posted. Let us know if you plan to update the code with the fix.

@Varal7
Copy link
Owner

Varal7 commented May 27, 2022

I don't have immediate plans to update the codebase. I might do a big refactor over the summer.

@Varal7 Varal7 closed this as completed May 27, 2022
@Varal7 Varal7 reopened this May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants