Menextract2pdf icon indicating copy to clipboard operation
Menextract2pdf copied to clipboard

Could not find pdffile

Open DerDuDa opened this issue 5 years ago • 1 comments

Hi, I'm immensely grateful for this project! However, so far I wasn't able to get it to work - It may well be an error on my side, as I'm not too proficient with python. But maybe it's a general issue.

I've copied all my Mendeley files (1.18 on Windows 10) on my Linux machine and there I'm running:

~/Desktop/mendeley_transfer/Menextract2pdf-master/src$ python menextract2pdf.py "/home/myname/Desktop/mendeley_transfer/Mendeley Desktop/[email protected]@www.mendeley.com.sqlite" "/home/myname/Desktop/mendeley_transfer/Paper_Literatur/"

an as an error message I'm getting Could not find pdffile /C:/Users/_myusername_/Documents/Mendeley Desktop/PaperName.pdf

I have a hard time interpreting this error message, as the folder, containing the PDF-files is /home/myname/Desktop/mendeley_transfer/Paper_Literatur/ and not the folder, where my sqlite DB is stored - could anybody shade some light on what this error message means and what how to circumvent it?

As a note: I tried on my Windows 10 machine before, but I had issues with the Issue 16 also mentioned here, but the proposed workarounds there did not work for me. So I tried on my Linux maschine and got stuck a bit later in the process.

If I can provide further useful information on this issue I would be glad to do so.

DerDuDa avatar Jun 12 '19 00:06 DerDuDa

The issue is that the paths in your database correspond to your windows paths. If you want to use linux instead, don't copy your files but instead do a Mendeley install on linux and sync all files (I don't remember if you have to do something special for syncing the pdfs).

cycomanic avatar Jun 28 '19 07:06 cycomanic