Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error opening bib #650

Closed
icamps opened this issue Jan 7, 2016 · 12 comments
Closed

error opening bib #650

icamps opened this issue Jan 7, 2016 · 12 comments

Comments

@icamps
Copy link

icamps commented Jan 7, 2016

Hello,

I update my JabRef to v3.1

Now, opening my bibtex database (attached) I got an error message (attached) that I do not know how to solve.

Regards,

Camps

unifal.zip
error_jabref_camps

@oscargus
Copy link
Contributor

oscargus commented Jan 7, 2016

Open the file in a text editor. Go to line 1516. See if there's a strange looking line there (missing a comma between fields). If you cannot find it copy +/-5 five lines and paste here.

Look at the end of the file. Seems like the last entry is not ended correctly. Again, paste the last five lines or so here unless you figure out what to fix.

@icamps
Copy link
Author

icamps commented Jan 7, 2016

I did that: nothing out of normal.

Here there are:
Lines 1513 to 1525:

@Article{dock_compare2,
Title = {Evaluation of docking programs for predicting binding of Golgi $\alpha$-mannosidase {II} inhibitors: {A} comparison with crystallography},
Author = {Pablo Englebienne and H{'e}l\grave{e}ne Fiaux and Douglas A. Kuntz and Christopher R. Corbeil and Sandrine Gerber-Lemaire and David R. Rose and Nicolas Moitessier},
Journal = {Proteins},
Pages = {160--176},
Volume = {69},
Year = {2007},
File = {dock_compare2.pdf:dock_compare2.pdf:PDF},
Keywords = {docking},
Owner = {icamps},
Timestamp = {2008.11.03}
}

Last lines:
@comment{jabref-meta: selector_publisher:}

@comment{jabref-meta: selector_review:}

@comment{jabref-meta: groupsversion:3;}

@oscargus
Copy link
Contributor

oscargus commented Jan 7, 2016

The entry looks OK.

I think it might be the semi-colon at the end, but no idea really... Weird.

@icamps
Copy link
Author

icamps commented Jan 7, 2016

I remove the Latex code in H{'e}l\grave{e}ne, and I could open the file with the EOF error only.

@tobiasdiez
Copy link
Member

Did you tried removing the last line?

So just to understand you correctly: the file opened without any problems in a previous version of jabref (which one?) and after the upgrade you got these errors, without changing the file. Right?

@icamps
Copy link
Author

icamps commented Jan 8, 2016

@tobiasdiez:

Answer: Did you tried removing the last line?
Yes I removed various "last lines", unsuccessfully.

Answer: ...after the upgrade you got these errors, without changing the file. Right?
Yes, that's right.

Just now I fixed the problem manually: create an empty database, copy/paste all my entries, save the new database, and everything is ok.

@tobiasdiez
Copy link
Member

Could you pls send me the problematic bib file (and the working one) via email to [email protected] if it does not contain sensitive information? Then I can better investigate this problem.

@icamps
Copy link
Author

icamps commented Jan 8, 2016

@tobiasdiez I already sent the files to your email.

@tobiasdiez
Copy link
Member

There were two problems with the bib file (wrong format of the accent and not closed brackets in one entry). Thus it is correct that JabRef warns here.

Nonetheless, there is room for improvement: the second warning occurs 1000 lines below the faulty entry. Not sure though to implement a better warning message (it should remember when a field started and then also print this additional information). Track this here or in a new issue?

@icamps
Copy link
Author

icamps commented Jan 11, 2016

@tobiasdiez Thank you very much. I will be more careful :)

@tobiasdiez
Copy link
Member

@icamps You are welcome. Did you get my email with details how to fix the issues in the bib files?

@icamps
Copy link
Author

icamps commented Jan 12, 2016

Yes! I fixed and recovered the entries missed.

Thank you very much.

[]'s,

@mps

On Mon, Jan 11, 2016 at 8:39 PM, Tobias Diez [email protected]
wrote:

@icamps https://github.com/icamps You are welcome. Did you get my email
with details how to fix the issues in the bib files?


Reply to this email directly or view it on GitHub
#650 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants