Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

works in sierra? #65

Open
fxt44 opened this issue Nov 15, 2016 · 8 comments
Open

works in sierra? #65

fxt44 opened this issue Nov 15, 2016 · 8 comments

Comments

@fxt44
Copy link

fxt44 commented Nov 15, 2016

does adsbibdesk.py work for you in sierra 10.12.1?
if yes, then its just me. if no, any suggestions?

fxt

@Morisset
Copy link

I found that adsbibdesk does not work anymore on my 10.10 OSX since a few days.
Looking for ArXiv papers is ok, but no access to ADS.
Ch.

@fxt44
Copy link
Author

fxt44 commented Nov 16, 2016

i resolved mine. it appeared to be a combination of either rebooting and/or ads being down for a few days. maybe the latter since you also mention the last few days.

fxt

@Morisset
Copy link

Seems the bibtex information starts again, but no PDF download.

@fxt44
Copy link
Author

fxt44 commented Nov 19, 2016

maybe check or reset your ~/.adsbibdesk .

i prefer to handle the pdf files by-hand myself (i'm adamant about no arxiv stuff in my bibdesk master library) so i run with download_pdf=False . however, as a singular test, i ran with download_pdf=True on a recent mnras article and the appropriate arxiv pdf was inserted into bibdesk.

if you post the doi or ads string of the specific article you are trying, i'll give a whirl to see if it works for me.

i've found it can be useful to insert various logging.info statements into adsbibdesk.py and invoking the local modified copy ./adsbibdesk.py directly to get a better sense of what its doing under various circumstances.

fxt

@hoiting
Copy link

hoiting commented Jun 4, 2017

I installed on sierra 10.12.5 and kept getting the following error message. Any idea where the problem is? Thanks


Starting ADS to BibDesk
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/adsbibdesk", line 11, in
load_entry_point('adsbibdesk==3.2.0', 'console_scripts', 'adsbibdesk')()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/adsbibdesk.py", line 189, in main
process_articles(args, prefs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/adsbibdesk.py", line 209, in process_articles
process_token(article_token, prefs, bibdesk)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/adsbibdesk.py", line 239, in process_token
ads_parser.parse(connector.ads_read)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/adsbibdesk.py", line 1091, in parse
get_redirect(self.links['preprint'])).netloc
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/adsbibdesk.py", line 624, in get_redirect
return out.geturl()
AttributeError: 'URLError' object has no attribute 'geturl'

@fxt44
Copy link
Author

fxt44 commented Jun 4, 2017

my 10.12.5 adsbibdesk is at /usr/local/bin/adsbibdesk and uses /usr/bin/python.

appears you have adsbibdesk within a macports framework. maybe try the above.

good luck!

fxt

@hoiting
Copy link

hoiting commented Jun 4, 2017

Excellent. Work like a charm now. Thanks.

@fxt44
Copy link
Author

fxt44 commented Jun 4, 2017

super!

fxt

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

No branches or pull requests

3 participants