Import fails

Report ID: 1905819481

When I import a RIS file, Zotero either displays the error message "An error occurred while trying to import the selected file. Please ensure that the file is valid and try again.", or silently fails and imports 0 items if I check the checkbox "Place imported collections and items into new collection." In case of BibLaTeX files, it always throws the following error message: "The selected file is not in a supported format." The input files are supposed to be correct as I exported them from Zotero...

Example RIS file:
TY - JOUR
TI - 3D Cartesian MRI with compressed sensing and variable view sharing using complementary poisson-disc sampling: 3D Cartesian MRI with Compressed Sensing and Variable View Sharing
AU - Levine, Evan
AU - Daniel, Bruce
AU - Vasanawala, Shreyas
AU - Hargreaves, Brian
AU - Saranathan, Manojkumar
T2 - Magnetic Resonance in Medicine
DA - 2017/05//
PY - 2017
DO - 10.1002/mrm.26254
DP - DOI.org (Crossref)
VL - 77
IS - 5
SP - 1774
EP - 1785
J2 - Magn. Reson. Med.
LA - en
SN - 07403194
ST - 3D Cartesian MRI with compressed sensing and variable view sharing using complementary poisson-disc sampling
UR - http://doi.wiley.com/10.1002/mrm.26254
Y2 - 2020/02/03/14:04:28
L1 - https://europepmc.org/articles/pmc5074926?pdf=render
ER -

Example BibLaTeX file:
@article{adams_iterative_2020,
title = {An Iterative Method for Structured Matrix Completion},
url = {http://arxiv.org/abs/2002.02041},
abstract = {The task of filling-in or predicting missing entries of a matrix, from a subset of known entries, is known as \${\textbackslash}textit\{matrix completion\}\$. In today's data-driven world, data completion is essential whether it is the main goal or a pre-processing step. In recent work, a modification to the standard nuclear norm minimization for matrix completion has been made to take into account \${\textbackslash}textit\{structural differences\}\$ between observed and unobserved entries. One example of such structural difference is when the probability that an entry is observed or not depends mainly on the value of the entry. We propose adjusting an Iteratively Reweighted Least Squares ({IRLS}) algorithm for low-rank matrix completion to take into account \${\textbackslash}textit\{sparsity-based\}\$ structure in the missing entries. We also present an iterative gradient-projection-based implementation of the algorithm, and present numerical experiments showing that the proposed method often outperforms the {IRLS} algorithm in structured settings.},
journaltitle = {{arXiv}:2002.02041 [cs, math]},
author = {Adams, Henry and Kassab, Lara and Needell, Deanna},
urldate = {2020-02-27},
date = {2020-02-05},
eprinttype = {arxiv},
eprint = {2002.02041},
keywords = {Mathematics - Numerical Analysis, {IRLS}, to-read},
file = {arXiv Fulltext PDF:/home/hakta/Zotero/storage/BYILCY23/Adams et al. - 2020 - An Iterative Method for Structured Matrix Completi.pdf:application/pdf;arXiv.org Snapshot:/home/hakta/Zotero/storage/4EB6XXI7/2002.html:text/html}
}

In the bug report, the message that shows up after each attempt is the following:
'Javascript Error: XML Parsing Error: syntax error ... line 2: column 1: source: 1 "TY - JOUR" ' (in case of RIS files) and 'Javascript Error: XML Parsing Error: not well-formed ... line 2: column 1: source: 1 "@article{adams_iterative_2020," ' (for BibLaTeX files).

Finally, the strange thing that everything works fine on a Debian 10 computer, but not my laptop with Arch Linux. The environment and the software version appears to be same on both machines (Zotero 5.0.89 and Linux x86_64).

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.