-
Notifications
You must be signed in to change notification settings - Fork 20
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
pdftotext windows continually opening in foreground #32
Comments
Hi sbaross, That sounds horrible. Could you let me know which version of win Menotexport did you use? And if you let it go flickering, does it terminate normally and give you the desired results? And if you are able to narrow it down a bit, for instance let it process only a folder that gives the problem and then some specific PDFs, that will be real helpful. Sorry for the trouble. |
Hi, I used Menotexport v1.4 with poppler v0.67.0. I let it run over the weekend and it worked fine, seems like the program is all running as it should apart from these windows opening. The window appearing & disappearing rapidly happens with every PDF. Now I've managed to run menotexport and import the .bib to Zotero, it doesn't seem to have extracted my notes as I'd want though. My notes from the "general notes" section in Mendeley have not been copied across, and every piece of text I've highlighted in the PDF has also been saved as individual notes which I do not want. I ran menotexport with every action ticked except "save separately". If I untick "extract highlights" will my highlights be preserved in the PDF but not saved as notes? And is it possible to also extract the general notes? Finally, menotexport has merged the author keywords from Mendeley with my own tags. Is it possible to avoid this? |
Hi, To group all highlighted texts into a single note, I think that's doable, one only needs to put them in a single Yes, even if you untick "extract highlights" the highlights will still be preserved in the PDFs, only the texts won't be saved as notes (which also makes the process a lot faster). Regarding the keywords being merged with tags, again I could compile a separate version for you if you don't want the tags. If that sounds OK I should be able to get back to you before Sat. |
Ah, I somehow missed v1.5! I don't need the highlights to be extracted to notes so I'll just untick extract highlights next time. A version where I can ignore the keywords would be amazing though, there doesn't seem to be any way to easily delete all the author keywords in Mendeley either. |
Hi sbaross, |
Yeah, I want it so my Zotero notes doesn't contain the highlighted text from the PDF, but does contain my notes from Mendeley. I very rarely use the sticky notes in Mendeley to be honest so as long as they're somewhere I'm not too bothered! Separate notes is fine, it was just tricky to find my actual notes when the section also had all my highlights. Seems like just unchecking the extract highlights will fix that for me though. Thanks so much for all your help! |
Alright here is a version that removes the keywords: https://drive.google.com/open?id=1yO_SG7DcO674nyD0siKo1K5ZXISEFUn4. |
The new version doesn't seem to work. I've left it running in the background for a few hours now but it hasn't got past the first line after I press start:
That folder only contains 13 articles so definitely shouldn't have taken that long. |
That's too bad, and I'm bit clueless as what's making it to hang up. Since you are not extracting highlight texts, the sqlite file should be the only input data. So if you feel comfortable sending me the sqlite database file, I could run the program for you, and send you back the .bib file (with the keywords from Mendeley removed), then you can use this bib file, in combination with the exported pdf files you got using the old version, to move on to do a zotero import. (I assume you are doing a zotero migration so it would be a one-time task, not something you would need to do on a regular basis.) And you also need to give me the path to the folder you chose to save the output using the old version (something like Alternatively you could maybe try some other tools. I found this one, it doesn't seem to give a GUI though so you have to do bit of command line. And you should be able to find some other tools that help zotero migration. |
Honestly I have no idea what's wrong, I packaged this python program in windows 7 running inside a virtual box, so it will be compatible with win 10 and 7. There was quite a gap between the 1.4 and 1.5 versions, I reinstalled the virtual machine, the tool used to package may have changed version. But it runs fine on my machine. It's beyond my knowledge. |
No worries, I'll email you the sqlite now. Thanks so much |
I'm running the GUI on Windows 10 but I'm basically unable to use my computer while it's running as there is almost continually opening terminal windows from pdftotext in the foreground. I'd estimate that 2 windows open & close a second so anything else I'm trying to use is flickering in and out of focus.
Most of the windows seem to be empty with no text, but occasionally some state "Syntax error: invalid font weight" (it's difficult to tell when they disappear so fast though!).
Is it possible to set these windows to open in the background or similar?
The text was updated successfully, but these errors were encountered: