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

Cannot add one particular paper/bibtex to bibdesk: 'The action “Run Shell Script” encountered an error.' #52

Open
nuanda999 opened this issue Oct 15, 2014 · 0 comments

Comments

@nuanda999
Copy link

Hi,

First, thanks for this amazing tool, it's great! ;-)

Although it works fine 99% of the time, I recently had an issue with one bibliographic entry, which can't be added to my Bibdesk library. I don't know if the problem comes from the bibtex entry itself or from adsbibdesk. I downloaded the latest git version of adsbibdesk but I still have the same problem.

I type the following command, and here is what I get:
'adsbibdesk 2014MNRAS.440.3309D'

Starting ADS to BibDesk
ADS to BibDesk version 3.2.0
Python: 2.7.2 |EPD 7.2-2 (64-bit)| (default, Sep 7 2011, 16:31:15)
[GCC 4.0.1 (Apple Inc. build 5493)]
process_token found article token 2014MNRAS.440.3309D
Traceback (most recent call last):
File "/Library/Frameworks/EPD64.framework/Versions/Current/bin/adsbibdesk", line 9, in
load_entry_point('adsbibdesk==3.2.0', 'console_scripts', 'adsbibdesk')()
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/adsbibdesk-3.2.0-py2.7.egg/adsbibdesk.py", line 189, in main
process_articles(args, prefs)
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/adsbibdesk-3.2.0-py2.7.egg/adsbibdesk.py", line 209, in process_articles
process_token(article_token, prefs, bibdesk)
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/adsbibdesk-3.2.0-py2.7.egg/adsbibdesk.py", line 234, in process_token
connector = ADSConnector(article_token, prefs)
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/adsbibdesk-3.2.0-py2.7.egg/adsbibdesk.py", line 700, in init
elif not self.url_parts.scheme and self._is_bibcode():
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/adsbibdesk-3.2.0-py2.7.egg/adsbibdesk.py", line 742, in _is_bibcode
read = self._read(self.ads_url)
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/adsbibdesk-3.2.0-py2.7.egg/adsbibdesk.py", line 772, in _read
urllib2.urlopen(ads_url).read())
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/urllib2.py", line 394, in open
response = self._open(req, data)
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/urllib2.py", line 412, in _open
'_open', req)
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/urllib2.py", line 372, in _call_chain
result = func(*args)
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/urllib2.py", line 1199, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/urllib2.py", line 1174, in do_open
raise URLError(err)
urllib2.URLError:

(using manual way: Safari->Services->'Add to bibdesk' gives me 'The action “Run Shell Script” encountered an error.')

Any idea?

Thanks !
Nuanda

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

1 participant