MTurk HIT Database Mk.II

Keep track of the HITs you've done (and more!). Cross browser compatible.

< Feedback on MTurk HIT Database Mk.II

Question/comment

§
Posted: 2015-10-24

Stuck on updating database.

So I'm not sure what info is needed here but here we go.

I was using the 'Goals Edition' for my database. Saw this and switched over. The initial update seemed to work okay, but then it got stuck and wouldn't move on. Now every time I update, I get stuck here:

Processing 2015-09-24 page 47 [ 3939/4582 ]

I've checked this date and there is nothing 'odd' about it. I do still have a few pending from that date but don't thing that would cause a problem.

Any ideas or need more info?

TIA

§
Posted: 2015-10-24

UPDATE: I installed this in Chrome and it updated just fine.

Went back to Firefox and still have the same issue on it freezing up. Tho I did notice when Chrome updated, that page I'm stuck on in FF is the end. After that page it 'updating database' and finished in Chrome.

So I guess my fix for now is to just use this in Chrome and not FF.

feihtalityAuthor
§
Posted: 2015-10-24

Does it always hang on the same date on the same page? Is page 47 the last page of HITs for that date?

§
Posted: 2015-10-28

I'm also having this issue in Chrome. It keeps sitting at page [3/16] and not moving, despite uninstalling and reinstalling the DB

feihtalityAuthor
§
Posted: 2015-10-29
Edited: 2015-10-29

I don't know what would be causing this, but I've included some troubleshooting assistance in the latest version (1.0.028). When it gets hung up, please open the console (ctrl+shift+I) and let me know what's reported there.

§
Posted: 2015-10-31

Here's what's in the console

feihtalityAuthor
§
Posted: 2015-10-31

I'm not sure where exactly it's failing. It's either not sending a fetch request for everything it should, or the page it's requesting fails to parse. I've released another update (1.0.029) to help rule out the latter. It will now display an error when it can't parse a page instead of failing silently.

If, however, you don't get an error, could you paste the following in the console:
JSON.parse(localStorage.getItem('hitdb_fetchData'))
Then expand it to look like this:

§
Posted: 2015-11-02

No error, but I pasted that code into the console and got this:

feihtalityAuthor
§
Posted: 2015-11-02

Oh, I see. It hangs for you because it's expecting a date that no longer appears on the status page. That's a really fringe case. I may push an update down the line to handle it, but for now it's easier to just remove that date. Paste this into the console

x=JSON.parse(localStorage.getItem('hitdb_fetchData'));delete x[09122015];localStorage.setItem('hitdb_fetchData',JSON.stringify(x))

Then refresh the dashboard and try updating.

§
Posted: 2015-11-02
Edited: 2015-11-02

I may be doing this wrong, but nothing's changing. It still hangs up on the same date. I'll try a couple things to see if I can get it to work. Will update

Update: Tried completely shutting down Chrome and rebooting, still no change.

Update again: I'm now getting this error after uninstalling it and reinstalling it (I'm getting desperate). If it helps at all, the old Hit DB isn't working for me now, either. Photo below

§
Posted: 2015-11-02

.

feihtalityAuthor
§
Posted: 2015-11-03

You're getting that error because either you've deleted the database and are starting over, or it has otherwise detected that it needs to upgrade the internal schema. It can't do that because the database is being accessed somewhere else, probably HIT Scraper. So just close out HIT Scraper if you have it running.

§
Posted: 2015-11-03

Okay, fixed that problem, but the original one still persists. The old DB doesn't work for me either (same problem)...any new leads? Sorry that it's causing such a problem.

feihtalityAuthor
§
Posted: 2015-11-04

What does your fetchData look like? Does it still have 09122015 in there?

§
Posted: 2015-11-04

I'm not entirely sure how to see that, but it just sticks on the most recent date that I've done hits.

feihtalityAuthor
§
Posted: 2015-11-05
I'm not entirely sure how to see that

Run this in the console: JSON.parse(localStorage.getItem('hitdb_fetchData'))

§
Posted: 2015-11-05

It seems to stick on the most recent day with HITs in them.

feihtalityAuthor
§
Posted: 2015-11-06

First of all, does Sep 12 actually appear in your status page? If it does, it seems something is causing it to not be parsed correctly. If not, did you run this from earlier?
x=JSON.parse(localStorage.getItem('hitdb_fetchData'));delete x['09122015'];localStorage.setItem('hitdb_fetchData',JSON.stringify(x))

Check to make sure it actually deleted the entry by entering JSON.parse(localStorage.getItem('hitdb_fetchData'))

§
Posted: 2015-11-11

I got it! Sep 12 wasn't causing it to stick anymore because it was gone, but Nov 03 was! I changed your code to delete the 3rd, and now it works! Woo!!!!

Post reply

Sign in to post a reply.