Opened 9 years ago
Closed 9 years ago
#649 closed defect (fixed)
Importing large bibtex-file fails
| Reported by: | dstillman | Owned by: | simon |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0.4 |
| Component: | ingester | Version: | 1.0 |
| Keywords: | Cc: |
Description
Attachments (1)
Change History (10)
comment:1 Changed 9 years ago by simon
- Owner changed from dstillman to simon
- Status changed from new to assigned
comment:2 Changed 9 years ago by dstillman
comment:3 Changed 9 years ago by dstillman
Then again, the applications that are putting plaintext headers at the top without using comments are just broken, so maybe coding around it doesn't make sense.
comment:4 Changed 9 years ago by simon
BibTeX ignores any text not inside an entry, so we should be a bit more lenient about this, I guess.
comment:5 Changed 9 years ago by bbolker
Yes, please. Thanks, again, for responding to this (and for not scolding me
for mistaking the problem -- I did go back and find similar issues on the forum
with JabRef files). But it is true that the BibTeX definition says that anything
outside entries is ignored:
\item
For {\em Scribe\/} compatibility, the database files
allow an \hbox{\tt @COMMENT} command; it's not really
needed because \BibTeX\ allows in the database files
any comment that's not within an entry.
If you want to comment out an entry,
simply remove the `{\tt @}' character preceding the entry type.
comment:6 Changed 9 years ago by dstillman
Created #687 for header problem
More appropriate to this bug, the attached BibTeX file is causing a hang in Zotero on import. Venkman shows the hang at the "return string;" line in _importConfigureIO() in translate.js. The input stream code seems to be looping indefinitely.
Changed 9 years ago by dstillman
comment:7 Changed 9 years ago by dstillman
User for oss2.bib says that file imports fine if the following reference is excluded:
@INPROCEEDINGS{hunt2002,
AUTHOR = {Francis Hunt and Paul Johnson},
TITLE = {On the Pareto Distribution of Sourceforge Projects},
BOOKTITLE = {Proceedings of the Open Source Software Development Workshop},
ADDRESS = {Newcastle, UK},
PAGES = {122-129},
YEAR = {2002},
URL = {http://www-mmd.eng.cam.ac.uk/people/fhh10/Sourceforge/Sourceforge%20paper.pdf}
}
I can't reproduce this, however, and that single reference imports fine when I try.
comment:8 Changed 9 years ago by dstillman
We now have another sample file for this if necessary--let me know if you need it.
comment:9 Changed 9 years ago by simon
- Resolution set to fixed
- Status changed from accepted to closed
(In [2462]) - remove extraneous HTTP request from Time translator when handling single pages
- closes #943, processDocuments broken by Firefox 3 (should fix the specific issue the Time translator was having, if it's seen in other translators. reopen this ticket if there are other problems.)
- closes #649, Importing large BibTeX file fails
- closes #687, Ignore text outside entries in BibTeX files
- closes #951, Unquoted numbers in last field of record break BibTeX import
- closes #932, Support @STRING variables in BibTeX
See new comments on the thread. Looks like the latest issue wasn't related to file size at all, and we don't have sample bib files for the earlier ones.
Can probably close this bug, but maybe we need a separate ticket for ignoring headers in BibTeX files?