Problem w/ fish_config #621

Closed
chasingtheflow opened this Issue Mar 14, 2013 · 3 comments

Comments

Projects
None yet
3 participants
@chasingtheflow

I dunno if this is the "right" place for this, but need some guidance here ...

When I run fish_config I get the following traceback:

Web config started at 'http://localhost:8000/'. Hit enter to stop.
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 50142)
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 284, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 310, in process_request
    self.finish_request(request, client_address)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 639, in __init__
    self.handle()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 343, in handle
    self.handle_one_request()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 331, in handle_one_request
    method()
  File "/Users/Billy/.local/share/fish/tools/web_config/webconfig.py", line 483, in do_GET
    output = self.do_get_colors()
  File "/Users/Billy/.local/share/fish/tools/web_config/webconfig.py", line 306, in do_get_colors
    out, err = run_fish_cmd('set -L')
  File "/Users/Billy/.local/share/fish/tools/web_config/webconfig.py", line 28, in run_fish_cmd
    p = subprocess.Popen(["fish"], stdin=PIPE, stdout=PIPE, stderr=PIPE)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1228, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
----------------------------------------
1.0.0.127.in-addr.arpa - - [14/Mar/2013 16:14:09] code 404, message File not found
@xfix

This comment has been minimized.

Show comment
Hide comment
@xfix

xfix Mar 15, 2013

Member

It looks like it fails because fish isn't in PATH. Looks like actual bug however.

Member

xfix commented Mar 15, 2013

It looks like it fails because fish isn't in PATH. Looks like actual bug however.

@ridiculousfish

This comment has been minimized.

Show comment
Hide comment
@ridiculousfish

ridiculousfish Mar 15, 2013

Member

Good catch. fish shouldn't have to be in PATH. fish_config should be able to find fish via __fish_bin_dir

Member

ridiculousfish commented Mar 15, 2013

Good catch. fish shouldn't have to be in PATH. fish_config should be able to find fish via __fish_bin_dir

@ridiculousfish

This comment has been minimized.

Show comment
Hide comment
@ridiculousfish

ridiculousfish Apr 15, 2013

Member

Should be fixed here: 2517832
Thanks for reporting this!

Member

ridiculousfish commented Apr 15, 2013

Should be fixed here: 2517832
Thanks for reporting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment