#80 — EndNote Import Fails

by Andreas Schiweck last modified Jan 31, 2010 12:26 PM
State Resolved
Version: 1.0
Area Functionality
Issue type Bug
Severity Medium
Submitted by Andreas Schiweck
Submitted on Dec 18, 2009
Responsible
Target release:
Via EndNote X3 (Bld 4094) exported "EndNote Export" fails to import to 1.0.0a4.

Error (Portal) Message:

EndNote Parser's 'checkFormat' and guessing the format from the file name 'Diplomarbeit Copy EndNoteExport.txt' failed.

The problem seems to be an unhandled prefix in the export

00000000: efbb bf25 3020 4a6f 7572 6e61 6c20 4172 ...%0 Journal Ar

that makes bibliograph.parsing.parsers.endnote.checkFormat failing at
tag recognition by

pattern = re.compile('^%[0-9|A-Z] ', re.M)

The import works fine by simply ignoring the prefix.

Steps to reproduce:
- Export Bibliography from EndNote X3 as *.txt with Output Style "EndNote Export"
- Import resulting file to BibliographyFolder
Added by Andreas Schiweck on Dec 18, 2009 03:45 PM
Sorry for the confusion, guys. Today's lession for me: "Byte Order Mark". Import fails anyway.
Added by Andreas Jung on Jan 22, 2010 03:49 PM
Please provide the related input file
Added by Andreas Jung on Jan 31, 2010 12:26 PM
Issue state: UnconfirmedResolved
Fixed a bunch of encoding issues on the import side including BOM handling.

No responses can be added.