Using version 2.10 from website. Running on linux. Right-click and "send as email" correctly creates email message (in Evolution) with bibtex entry or entries in body. Attaching the PDF fails, as the full pathname is mangled. For example, the pdf is at /home/XXX/Library/article.pdf, but I get an error:
Error stating file '/home/XXX"/home/XXX/Library/article.pdf'" (both single and double quotes are actually in error text". If I change the Main file directory from /home/XXX/Library to Library the error becomes
Error stating file '/home/XXX/"Library/article.pdf"'
Somewhere it appears that some extra quotes and my home directory are being prepended to the path. Attaching from other java programs (e.g., PDFstudio) works fine, so I don't think that my mail program is doing the prepending.
Thanks for an awesome program, and (once I get it working) an awesome new feature!
What do you mean by "Attaching the PDF fails"? I could not find an option to attach a PDF automatically to the new email from within JabRef. Can you please elaborate the steps you do to attach the PDF to your email?
From the citation list, if you right click on an entry, one of the options is "Send as email" (see attachment 1). If I select this option, it appropriately pops up a new message via my system-defined mail client, but with an error message saying that it couldn't attach the file (see attachment 2). However, the path it used to attempt the attachment is wrong - JabRef appears to have appended the filename as defined within the item entry (see attachment 3) to the "Main file directory" as defined in my preferences (see attachment 4) to my home directory, for the result:
/home/ivu/"/home/ivu/Library/Jabref_named/ar-bedogni-2015.pdf"'
the correct path (or at least the path that really does lead to the file) is
/home/ivu/Library/Jabref_named/ar-bedogni-2015.pdf
The files are correctly found in that "Main File Directory" when, for example, I have JabRef do the "automatically set file links" step from the Tools menu.
Apologies for the PDF attachment - it appears to be the only way to do "multiple" screenshots.