gdcc / dvwebloader

A web tool for uploading folders of files to a Dataverse dataset
Apache License 2.0
1 stars 6 forks source link

Fix sha512 async issue #29

Open qqmyers opened 4 weeks ago

qqmyers commented 4 weeks ago

When using SHA512 hashes in Dataverse, the DVWebloader occasionally threw an error related to the crypto libraries ('Word' or 'create' not found). It looks like this was a race condition in loading the x64-core and sha512 libraries (sha512 is the only one that requires x64-core in addition to the algorithm specific library.)

The fix has been tested at QDR where sha512 is in use. It solves the problem for both remote and local installs (see #28) of the libraries.