Import from bib file fails
Hi
I'm trying to import a bib file with approximately 1000 entries. However it fails after about 10% of the entries, reporting that there was an error with the file. Is there any way to get more information about which entry failed and why?
cheers - Barry
I'm trying to import a bib file with approximately 1000 entries. However it fails after about 10% of the entries, reporting that there was an error with the file. Is there any way to get more information about which entry failed and why?
cheers - Barry
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.
http://www.zotero.org/support/reporting_bugs
Best way to find out why import fails is to split the file in chunks
The error report id is 166366548. I tried to imported my entire citeulike file (id: bhaddow).
I guess what you're suggesting is that I do something like a binary search to find the offending record(s). I was hoping that zotero would be able to provide a helpful debug message somewhere to avoid such a tedious search,
cheers - Barry
instead of submitting to Zotero server, you can view output.
Thanks, I found the error log. However it doesn't appear to report the problem entry. Do you want me to post the log?
cheers - Barry
So after having a better look at the logs, I discovered that zotero was objecting to invalid url fields in my bibtex file. After several rounds of delete url / rerun / examines logs, I eventually go zotero to process the complete file without errors. This took about 4-5 hours, and resulted in 188 out of about 950 entries being loaded into my zotero account. Not very successful.
cheers - Barry
I did not check them all, but I think the URLs failed because the documents they pointed to had moved. When I removed the offending URLs, the file appeared to process to completion - although most of the entries were lost.
I tried bibcheck, but it just reported lots of spurious errors then segfaulted. Using the file in a latex document through bibtex works fine,
cheers - Barry
By 'URL' field, do you then mean either 'file' or 'pdf' (or 'sentelink')? Yes, Zotero will try to import and attach a file associated with these links & missing files may prove problematic.
bibcheck is a reasonably robust program. If it is segfaulting, I can imagine there might be a reasonably significant problem with your file. You might also try using 'bibutils' to convert it. If that also fails, I'm not sure if it will be reasonable to expect Zotero to ever handle it.
latex+bibtex doesn't usually check all references and fields the way that importing into other bibliographic software or conversion of bibcheck. Unless you have created a tex and bst file to thoroughly test everything, that's fairly anecdotal & doesn't surprise me terribly.
The offending fields are 'pdf' fields. It's reasonable for Zotero to object to dangling pdf links if it wants to import them, but a more specific error message would be nice. I've no idea why it still failed when I removed these links, but since it tied up my browser for a couple of hours, I'm reluctant to try again.
The errors that bibcheck reports are mainly non-standard fields and formatting errors in the 'comments' field.
Since importing a bib file is proving problematic, is there any other way to get data from citeulike?
cheers - Barry
But the RIS export is probably better for this.