Unable to import RIS files from Ref Manager in latest 2.0b
trying to import from reference manager - I get dialog box "Improting" but it never ends, and then I see zotero has an error and wants Firefox restarted. Several beta2 versions ago I successfully imported hunders of entries. Same methods, cleaning characters out of the file, and fixing PDF locations, doesnt work this time.
Report ID 1787988770
debug output emailed in...
thanks
Report ID 1787988770
debug output emailed in...
thanks
It seems to work with the data imported from clipboard but hangs when importing the same data in the file "foo.txt".
As best I can tell through some debugging, when importing from the file, both the RDF and RIS translators say they can handle it (detectImport = true). Then control seems to be given to the RDF translator, which then generates an error. When imported from the clipboard, the RDF translator doesn't seem to be given a chance to evaluate the data, so it is handled successfully by the RIS translator.
Questions:
(1) Shouldn't import from clipboard and file function identically?
(2) Perhaps the RDF.detectImport needs to be more discriminating?
To the original poster, could you try importing your data via the clipboard and see if that works?
Hope this helps and look forward to getting some feedback from the developers.
Thanks for a great product.
--Rob
FWIW, I think in RIS.js, the while scanner in detectImport should be checking for the boolean value false rather than the string "false". If it gets to the end of file before determining if it's valid RIS or not, it throws an uncaught exception by trying to do line.replace(...) on an empty object.
--Rob