On 2016-02-16 at 22:18, Jan David Hauck <[email protected]> wrote: > The only problem is that every time it also tries to open a google > scholar and an academia.edu page in the browser. Any idea how to get > rid of that behavior?
I have some vague recollection that it uses either Firefox or your default browser as a proxy, and you need to manually go to those pages and make sure cookies are accepted or something. But I can't recall any details. > When the DOI Field is already present, it gets the other fields, but I > always shows a dialog box before it runs, with: > cd /tmp; /usr/bin/python /usr/local/bin/doi2bib.py > "10.1111/j.1548-1395.2012.01134.x" | /usr/bin/iconv -c > When I hit OK it works fine. Any way how to avoid that? Comment out the line in the AppleScript that prints that message. > If DOI is not present, I was unable to extract the doi from the pdf. DOI extraction only works on some PDFs. > It shows the following dialog: > /usr/bin/python /usr/local/bin/doi_from_pdf.py /Users/jdh/Google > Drive/Academic Papers Import/A R T I C L E S & B O O K S/ * 1st Lg > Meta-Aware */First Language-2005-Farrar-157-72.pdf | /usr/bin/iconv -c Spaces in path names are likely to cause problems. You could update the script so that it wraps the path/to/file in quotes. > And then the dialog box to manually enter the DOI pops up, so it looks like > it doesn't try to extract it from the PDF. Running doi_from_pdf.py from > the command line I get: > File "/usr/local/bin/doi_from_pdf.py", line 8, in <module> > pdf_file = sys.argv[1] > IndexError: list index out of range > I assume that's part of the problem? Try putting ""'s around the file. -k. ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Bibdesk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bibdesk-users
