Skip to content
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

fish 4.34 not recognizing abouttag? #4

Open
mmadsen opened this issue Apr 4, 2012 · 4 comments
Open

fish 4.34 not recognizing abouttag? #4

mmadsen opened this issue Apr 4, 2012 · 4 comments

Comments

@mmadsen
Copy link

mmadsen commented Apr 4, 2012

Sorry to file another issue, but I have abouttag installed on python 2.6 on OS X, and just installed your new fish 4.34 commit. I get the following when I attempt to query an about tag with fish. Note that current versions of fish, abouttag, requests, and httplib2 are present in the site-packages directory after seemingly successful installations using each package's setup.py.

Do I need to do something to make fish use abouttag that isn't mentioned in documentation?

bash-3.2$ cd /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/
bash-3.2$ ls
README easy-install.pth gdata-2.0.10-py2.6.egg-info httplib2-0.7.4-py2.6.egg-info requests setuptools-0.6c11-py2.6.egg
abouttag fish googlecl numpy requests-0.11.1-py2.6.egg-info setuptools.pth
abouttag-0.7-py2.6.egg-info fish-4.34-py2.6.egg-info googlecl-0.9.5-py2.6.egg-info numpy-1.4.1-py2.6.egg-info scipy
atom gdata httplib2 pip-1.1-py2.6.egg scipy-0.7.2-py2.6.egg-info

bash-3.2$ fish about /mmadsensji
Fish failure:
You need the abouttag library to use the abouttag command.
This is available from http://github.com/njr0/abouttag.

@njr0
Copy link
Owner

njr0 commented Apr 4, 2012

Hi Mark

Sorry you're having trouble. I'm not sure what's wrong in this case.

Could you try the following:

$ python
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import abouttag
import abouttag.amazon
import abouttag.generic

and let me know whether there are any errors?

Your command should fail, but with a different error:

$ fish about /mmadsensji
Fish failure:
Object type /mmadsensji not known.
Supported object types are:
album
isrc-recording
fi-tag
artist
fi-namespace
author
url
fi-user
db-table
uri
URI
planet
URL
book
track
db-field
twitter-user
fi-ns
element

I will try a clean install somewhere tomorrow and see if I can reproduce your problem. It's always possible that I have something extra set, but you shouldn't need anything expect those packages.

@njr0
Copy link
Owner

njr0 commented Apr 4, 2012

Hi again, Mark

I've just realised what it could be. My guess is that you don't have the urlnorm package installed, which is a fairly new dependency for abouttag. It get sucked in if you install abouttag from PyPI with

pip install -U abouttag

but you need to install it yourself if you install abouttag from GitHub. It may not actually say that anywhere.

It looks like you have pip installed, so I think if you use that install abouttag, everything will probably work.

Obviously, if that is the case, I should update the instructions.

Nick

@mmadsen
Copy link
Author

mmadsen commented Apr 4, 2012

Nick -

That fixed it - I now get exactly the response you describe in the previous email. I had installed abouttag directly from Github, not with PIP. Definitely worth a mention in the docs.

Thanks for the help on this one -- now I can start working my way through the new Fluidinfo book!

Mark Madsen

On Apr 4, 2012, at 3:45 PM, njr0 wrote:

Hi again, Mark

I've just realised what it could be. My guess is that you don't have the urlnorm package installed, which is a fairly new dependency for abouttag. It get sucked in if you install abouttag from PyPI with

pip install -U abouttag

but you need to install it yourself if you install abouttag from GitHub. It may not actually say that anywhere.

It looks like you have pip installed, so I think if you use that install abouttag, everything will probably work.

Obviously, if that is the case, I should update the instructions.

Nick


Reply to this email directly or view it on GitHub:
#4 (comment)

@njr0
Copy link
Owner

njr0 commented Apr 5, 2012

Mark

Glad it fixed it. Apologies for the pain. I'll add a note and perhaps try to diagnose the issue and make the error more specific (in a day or two).

Regards

Nick

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

No branches or pull requests

2 participants