-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Filepath saved on Windows does not open on Linux #3311
Comments
@Siedlerchr You have recently modified the file path serialization, right? Can you comment on this? |
I will look into this, first guess is that the relative path is passed as
String to the open method
Am 17.10.2017 2:24 nachm. schrieb "Jörg Lenhard" <notifications@github.com>:
… @Siedlerchr <https://github.com/siedlerchr> You have recently modified
the file path serialization, right? Can you comment on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3311 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AATi5DMB-ywN5Xe5hFN5nLL69DggN50dks5stJxjgaJpZM4P6kZ8>
.
|
@JoKalliauer We think we have a fix for this. Can you please try out the version that includes the fix, which is available here: http://builds.jabref.org/linuxlink/ and let us know if it works for you. |
Thanks now JabRef4.1LinuxLink on Windows adds forward slashes, but the file-references from my JabRef3.8-Win.bib file can still not be opened on JabRef4.1LinuxLink on Linux, therefore I had to use the terminal-command to change the old JabRef-file:
Therefore old JabRef3.8-files are not update-able to JabRef4.1. (only by hand or the command above) In linuxlink seems some translation missing (see Error-Log below). Error-Log
|
Thanks for your feedback! Regarding the translations: |
@lenhard: Please remove the |
@JoKalliauer Nope, I've removed the label. |
Steps to reproduce:
The problem is that Windows saves:
But Linux saves as:
With JabRef 3.8.2 neither Windows nor Linux had problems using different File-Structures, but now with JabRef 4 on Linux it does (JabRef can't find the file). :-(
On Windows with JabRef4.0 it still works also with Linux-Filepathes.
This bib-file has developed over some time with JabRef 3.x and it always worked to open with JabRef 3.8.2 on Windows and on Linux, also both added file-paths in a different form.
I would stay with JabRef 3.8.2, but due to bug #2879 I prefer JabRef 4.
Otherwise I might have to use sed to correct the path-mistakes.
bib-file with filepath saved on Windows
``` % Encoding: UTF-8@Article{bai2012cryo,
Title = {{Cryo-EM} structure of a {3D} {DNA-origami} object},
Author = {Bai, Xiao-chen and Martin, Thomas
G and Scheres, SjorsHW and Dietz, Hendrik},Journal = {Proceedings of the National Academy of Sciences},
Year = {2012},
Month = dec,
Number = {49},
Pages = {20012--20017},
Volume = {109},
Adsnote = {Provided by the SAO/NASA Astrophysics Data System},
Adsurl = {http://adsabs.harvard.edu/abs/2012PNAS..10920012B },
Doi = {10.1073/pnas.1215713109},
File = {:..\..\Literature\DNA\Weitere\Bai_Martin_Scheres_Dietz_2012_PNAS.pdf:PDF},
Groups = {DNA},
Keywords = {rank2},
Publisher = {National Acad Sciences}
}
@Article{case2017amber,
author = {Case, David A and Walker, Ross C and Cheatham III, Thomas E and Simmerling, Carlos LI and Roitberg, Adrian and Merz, Kenneth M and Luo, Ray and Darden, Tom A and Wang, Junmei and Duke, Robert E and Daniel R. Roe and Scott LeGrand and Jason Swails and Andreas W. Götz and David Cerutti and Tyler Luchko and Gérald Monard and Celeste Sagui and Feng Pan and Charles Lin and Daniel Mermelstein and Pengfei Li and Alexey Onufriev and Saeed Izadi and Romain M. Wolf and Xiongwu Wu and Holger Gohlke and Nadine Homeyer and Ruxi Qi and Wesley M. Botello-Smith and Li Xiao and D’Artagnan Greene and Tim Giese and Taisung Lee and Darrin York and Jian Liu and Hai Nguyen and Igor Omelyan and Andriy Kovalenko and Peter A. Kollman and Zhang, W and others},
title = {Amber 2017 Reference Manual (Covers Amber16 and AmberTools17)},
journal = {University of California, San Francisco},
year = {2017},
month = may,
day = {29},
file = {:PhDJK\Literature\MD\Amber17.pdf:PDF},
url = {http://ambermd.org/doc12/Amber17.pdf},
}
@comment{jabref-meta: databaseType:bibtex;}
@comment{jabref-meta: grouping:
0 AllEntriesGroup:;
1 StaticGroup:DNA;0;1;;;;;
}
The text was updated successfully, but these errors were encountered: