jonathansick / ads_bibdesk

(Unmaintained) Mac OS X service for frictionless import of NASA ADS and arXiv publications into BibDesk.
GNU General Public License v3.0
37 stars 20 forks source link

adsbibdesk not working for me. Am I missing something? #27

Closed soares-santos closed 11 years ago

soares-santos commented 11 years ago

I am trying adsbibdesk for the first time. Installation seemed to go well, but I can't run it (see details below). As an attempt to solve the problem, I have also installed pyobjc and pdf2json. Am I missing something?


When I try to use the "add to bibdesk" Service, I get this error: The action “Run Shell Script” encountered an error.

When I try the command line, I get this error: marcelle@ppd-116559:~$ adsbibdesk -d -o 0911.4956 Starting ADS to BibDesk ADS to BibDesk version 3.1 Python: 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) [GCC 4.2.1 (Apple Inc. build 5646)] process_token found article token 0911.4956 ADSConnector found arXiv ID 0911.4956 Traceback (most recent call last): File "/usr/local/bin/adsbibdesk", line 8, in load_entry_point('adsbibdesk==3.1', 'console_scripts', 'adsbibdesk')() File "build/bdist.macosx-10.6-universal/egg/adsbibdesk.py", line 171, in main File "build/bdist.macosx-10.6-universal/egg/adsbibdesk.py", line 208, in process_token File "build/bdist.macosx-10.6-universal/egg/adsbibdesk.py", line 582, in init File "build/bdist.macosx-10.6-universal/egg/adsbibdesk.py", line 665, in _read TypeError: sub() got an unexpected keyword argument 'flags'

jonathansick commented 11 years ago

I've merged in a PR from Rui that should fix your problem, which seems to be related to Python 2.6.1 (I test only against 2.7.x). You can get new command line edition with

pip install -u adsbibdesk

The Service edition can also be downloaded from my page..

Let me know this new version fixes your problems.

jonathansick commented 11 years ago

The upgrade command should be:

pip install -U adsbibdesk
soares-santos commented 11 years ago

Yes. It works now. Thanks!

On Sun, May 5, 2013 at 4:38 PM, Jonathan Sick notifications@github.comwrote:

The upgrade command should be:

pip install -U adsbibdesk

— Reply to this email directly or view it on GitHubhttps://github.com/jonathansick/ads_bibdesk/issues/27#issuecomment-17459780 .

Marcelle Soares-Santos http://home.fnal.gov/~marcelle/ http://www.darkenergysurvey.org/ http://darkenergysurvey.org/

jonathansick commented 11 years ago

Great.