Giter Club home page Giter Club logo

fish's People

Contributors

njr0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fish's Issues

fish 4.34 not recognizing abouttag?

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.

Can't connect to FluidInfo from fish?

This is probably a newbie error, but in running fish from a vanilla git clone + credentials, I get a 404 error reported:

This is fish version 4.29.
Synchronizing . . . Fish failure:
  Bad status 404 (expected 200)
synchronized.

> ```
> ```

Environment is OS X Lion, X11, Python 2.7.1, fish github commit "3396f4b3585bcda6e8712638920496c2c7ac4221
". 

Similar error obtains when running fish test:

bash-3.2$ ./fish test
................E.......

ERROR: testValuesAPISetGet (testfish.TestFluidinfo)

Traceback (most recent call last):
File "/Users/rodrigo/workspace/fish/testfish.py", line 96, in testValuesAPISetGet
db.tag_by_query(query, tagsToSet)
File "/Users/rodrigo/workspace/fish/fishlib.py", line 1086, in tag_by_query
(v, r) = self.call(u'PUT', u'/values', strHash, {u'query': query})
File "/Users/rodrigo/workspace/fish/fishlib.py", line 518, in call
% (len(url), url))
Exception: URL Fetch failure (URL len 104): http://fluiddb.fluidinfo.com/values?query=fluiddb%2Fabout+%3D+%22%CE%94%CE%91%CE%94%CE%93%CE%91%CE%94%22


Ran 24 tests in 40.026s

File upload fails for images

In the latest version of Fish, I can use the -f flag to upload text files as the content of tags, but I can't get it to work with images. I tried to follow the example code as closely as possible.

The following command works:

fish tag -f 'r&s records' comment=randscomment.txt

But these all fail:

fish tag -f -M image/gif 'r&s records' image=randslogo.gif
fish tag -f -M image/jpg 'r&s records' image=randslogo.jpg
fish tag -f -M image/png 'r&s records' image=randslogo.png

The output is:

'Fish failure:'
'ascii' codec can't decode byte 0x89 in position 0: ordinal not in range(128)

It doesn't matter whether I specify the MIME type or not.

I'm using bash and Python 2.7.2 in OS X 10.7, if that matters.

Thanks in advance for looking into this.

setup.py fails to run with python33

Dear Nicholas,

I have Python 3.3.0:

C:\Documents and Settings\robertsand\My Documents\GitHub\fish>python
Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (In
tel)] on win32

when I run either ">setup.py install" or ">python setup.py install " I get the following:

"C:\Documents and Settings\robertsand\My Documents\GitHub\fish>python setup.py install
C:\Python33\lib\distutils\dist.py:257: UserWarning: Unknown distribution option:
'install_requires'
warnings.warn(msg)
running install
running build
running build_py
running build_scripts
running install_lib
byte-compiling C:\Python33\Lib\site-packages\fish\cli.py to cli.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\cli.py", line 332
print args[0]
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\delicious.py to delicious.cpython-33.pyc
Sorry: TabError: inconsistent use of tabs and spaces in indentation (delicious.py, line 43)
byte-compiling C:\Python33\Lib\site-packages\fish\delicious2fluiddb.py to delicious2fluiddb.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\delicious2fluiddb.py", line 16
print 'You need the abouttag library on your PYTHONPATH.'
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\example.py to example.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\example.py", line 12
print value
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\fish.py to fish.cpython-33.pyc

File "C:\Python33\Lib\site-packages\fish\fish.py", line 46
print 'Readline not available; no command history'
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\fishlib.py to fishlib.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\fishlib.py", line 133
INTEGER_RE = re.compile(ur'^[+-]{0,1}[0-9]+$')
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\flags.py to flags.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\flags.py", line 128
print self.help
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\repl.py to repl.cpython-33.pyc

File "C:\Python33\Lib\site-packages\fish\repl.py", line 5
print 'Readline not available; no command history'
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\testfish.py to testfish.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\testfish.py", line 351
print 'one'
^
SyntaxError: invalid syntax

byte-compiling C:\Python33\Lib\site-packages\fish\values.py to values.cpython-33.pyc
File "C:\Python33\Lib\site-packages\fish\values.py", line 42
print tag_by_about_values(db, objs)
^
SyntaxError: invalid syntax

running install_scripts
running install_egg_info
Removing C:\Python33\Lib\site-packages\fish-4.34-py3.3.egg-info
Writing C:\Python33\Lib\site-packages\fish-4.34-py3.3.egg-info"

What have I done wrong??

Andrew

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.