OpenNeuroOrg / openneuro

A free and open platform for analyzing and sharing neuroimaging data
https://openneuro.org/
MIT License
112 stars 40 forks source link

Conflict between web download and Chrome Zotero connector #2846

Open effigies opened 1 year ago

effigies commented 1 year ago

What went wrong?

I cannot reproduce this reliably, but installing Zotero and the Zotero Connector can result in an failure to download.

I suspect this is because they use the filesystem API to save items to be picked up by the application.

This was reported by @vislab with the following screenshot:

ChromeDownloadscreenShot

I did also see this error when I activated the Zotero Connector while downloading the dataset. This ended up freezing the entire tab. Opening a new tab and resuming the download worked, even with Zotero still active.

This could also be a Chrome or Zotero bug.

Expected behavior

Downloads despite presence of well-behaved extensions.

How to reproduce

  1. Install Zotero
  2. Install Zotero connector
  3. Attempt to download a dataset through the web UI
  4. Activate Zotero connector.

Maybe reproduces?

Desktop

Respectively for me and Kay:

Phone

No response

Additional information

This might just end up being an issue to point people to. "Try disabling Zotero and retrying."

VisLab commented 1 year ago

An additional note: After closing the zotero and clearing my browser cache, the download appeared to work. I didn't spot any problems but there was still an uncaught exception at the end (see attached). This always makes me nervous... downloadInChrome2

nellh commented 1 year ago

The Chrome API used here has evolved some since this was implemented, it may need to be updated to avoid conflicts with other users in the same page context.