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

Could not find pdffile #17

Open
DerDuDa opened this issue Jun 12, 2019 · 1 comment
Open

Could not find pdffile #17

DerDuDa opened this issue Jun 12, 2019 · 1 comment

Comments

@DerDuDa
Copy link

DerDuDa commented Jun 12, 2019

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/myemail@mail.com@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 DerDuDa changed the title sqlite3.OperationalError: no such table: Files Could not find pdffile Jun 12, 2019
@cycomanic
Copy link
Owner

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).

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

No branches or pull requests

2 participants