Greasy Fork is available in English.

MTurk HIT Database Mk.II

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

< Feedback op MTurk HIT Database Mk.II

Vraag/Reactie

§
Geplaatst: 01-05-2016

Cannot update DB since latest update

Running on Firefox, windows8 and keep getting the following error.

TypeError: (AccessViolation) Database is not definedHITdb probably needs to run an internal update. Please close all tabs running HITdb to complete the process. This includes all other MTurk pages and all tabs running HIT Scraper.

I cannot get this to update even with all other mturk windows closed. Not sure if it matters, but I think part of my data is in the legacy HITDB format.

I am able to update using chrome, but my chrome data is all in the HITDB MK II format. I only installed scripts in chrome recently and never had data from the legacy HITDB on this browser.

Any help or direction would be appreciated.

feihtalityMaker
§
Geplaatst: 01-05-2016

There's no reason the legacy format would interfere with the internal upgrade process. That error can only occur when HITdb is being accessed from another source. That's why I advised closing everything using the www.mturk.com domain other than the dashboard. Are you running any other scripts on the dashboard that accesses HITdb? If so, temporarily disable those and refresh.

If you still don't have success, open Firefox's browser console with ctrl+shift+J to see if there are any meaningful error messages.

§
Geplaatst: 01-05-2016

Hello,

Thanks for the reply.

I turned off all scripts and extensions with the exception of GreaseMonkey and HitDB MK II. Also have no other windows or browsers opened, nothing but the mturk dashboard.

Here is a copy of what is in the Firefox console, I don't know how to interpret this information.

---------------------------------------------------------------------------

Could not read chrome manifest 'file:///C:/Program%20Files%20(x86)/Mozilla%20Firefox/chrome.manifest'.
While creating services from category 'profile-after-change', could not create service for entry 'Sapi Speech Synth', contract ID '@mozilla.org/synthsapi;1'
IndexedDB UnknownErr: ActorsParent.cpp:592
IndexedDB UnknownErr: ActorsParent.cpp:13095
"AppMeasurement Debug: https://amazonwebservices.d2.sc.omtrdc.net/b/ss/awsmturk/1/H.26/s06820242657171?AQB=1&ndh=1&t=1%2F4%2F2016%2010%3A5%3A16%200%20240&fid=63ABEC94F93977D5-1AD65E6A0FAB7CA5&ns=amazonwebservices&g=https%3A%2F%2Fwww.mturk.com%2Fmturk%2Fdashboard&c13=Repeat&v13=D%3Dc13&c48=34&v48=D%3Dc48&c50=D%3Ds_vi&v50=D%3Ds_vi&c61=https%3A%2F%2Fwww.mturk.com%2Fmturk%2Fdashboard&v61=D%3Dc61&s=1920x1080&c=24&j=1.8.5&v=N&k=Y&bw=1920&bh=969&p=Adobe%20Acrobat%3BGoogle%20Update%3BIntel%C2%AE%20Identity%20Protection%20Technology%3BMicrosoft%20Office%202016%3BNVIDIA%203D%20VISION%3BNVIDIA%203D%20Vision%3BPhoto%20Gallery%3BShockwave%20Flash%3BSilverlight%20Plug-In%3BVLC%20Web%20Plugin%3BiTunes%20Application%20Detector%3B&AQE=1
https://amazonwebservices.d2.sc.omtrdc.net/b/ss/awsmturk/1/H.26/s06820242657171?AQB=1
ndh=1
t=1/4/2016 10:5:16 0 240
fid=63ABEC94F93977D5-1AD65E6A0FAB7CA5
ns=amazonwebservices
g=https://www.mturk.com/mturk/dashboard
c13=Repeat
v13=D=c13
c48=34
v48=D=c48
c50=D=s_vi
v50=D=s_vi
c61=https://www.mturk.com/mturk/dashboard
v61=D=c61
s=1920x1080
c=24
j=1.8.5
v=N
k=Y
bw=1920
bh=969
p=Adobe Acrobat;Google Update;Intel® Identity Protection Technology;Microsoft Office 2016;NVIDIA 3D VISION;NVIDIA 3D Vision;Photo Gallery;Shockwave Flash;Silverlight Plug-In;VLC Web Plugin;iTunes Application Detector;
AQE=1" s_code.js line 459 > Function line 1 > Function:1:11
hdb hook MTurk_HIT_Database_MkII.user.js:1354:3
HITStorage.versionChange::onupgradeneeded MTurk_HIT_Database_MkII.user.js:73
IndexedDB UnknownErr: ActorsParent.cpp:592
IndexedDB UnknownErr: ActorsParent.cpp:13095
UnknownError
DOMError { name: "UnknownError", message: "The operation failed for reasons un…" } MTurk_HIT_Database_MkII.user.js:536:9

Empty string passed to getElementById(). tooltip.js:43:25
TypeError: (AccessViolation) Database is not defined
Stack trace:
DashboardUI.initClickables/updateBtn.onclick@chrome://greasemonkey-modules/content/sandbox.js -> file:///C:/Users/wrobbins/AppData/Roaming/Mozilla/Firefox/Profiles/09jt8tvi.default/gm_scripts/MTurk_HIT_Database_Mk.II/MTurk_HIT_Database_MkII.user.js:977:57
MTurk_HIT_Database_MkII.user.js:536:9

HITdb probably needs to run an internal update.
Please close all tabs running HITdb to complete the process. This includes all other MTurk pages and all tabs running HIT Scraper. MTurk_HIT_Database_MkII.user.js:541:11
Key event not available on some keyboard layouts: key="c" modifiers="accel,alt" browser.xul
Key event not available on some keyboard layouts: key="i" modifiers="accel,alt,shift" browser.xul
'mozHidden' and 'mozVisibilityState' are deprecated. Please use the unprefixed 'hidden' and 'visibilityState' instead. show_ads_impl.js:202:216
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead jquery.min.js:1:0
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery.min.js:5:17117

---------------------------------------------------------------------------

Regards

feihtalityMaker
§
Geplaatst: 01-05-2016

Ugh Firefox... I've had someone report an UnknownError before, but it's caused by Firefox's underlying code and configuration. I've never personally run into the problem before and Mozilla's bugtracker is unhelpful so I'm really not sure what to suggest.

IndexedDB UnknownErr:    ActorsParent.cpp:592 
IndexedDB UnknownErr:    ActorsParent.cpp:13095
UnknownError 
DOMError { name: "UnknownError", message: "The operation failed for reasons un…" } 

These are the relevant lines. The problem is "fixed" when you create a new profile, but there's no guarantee it won't come back. This means something in your profile is causing a conflict with the IndexedDB implementation.

Since the upgrade event was never successfully completed, downgrade HITdb into a version prior to 1.1 and create a backup of your database. If you're willing to start a new profile, you can just import the backup into the latest version of HITdb without issues. Otherwise, try deleting stuff in your profile directory to see what helps.

§
Geplaatst: 05-05-2016

Hello feihtality,

Thank you for the help.

Here is an update in case someone else has this issue. I reset my FireFox profile to defaults. This allowed book marks and other files to be saved, but blew away extensions and scripts. So I had to reload greasemonkey and all scripts as well as some other extensions I use. After doing this everything is working fine. Just a warning this process took several hours.


Regards,

Reactie plaatsen

Log in om antwoord te geven.