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

Problem w/ fish_config #621

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

Problem w/ fish_config #621

chasingtheflow opened this issue Mar 14, 2013 · 3 comments
Milestone

Comments

@chasingtheflow
Copy link

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
@KamilaBorowska
Copy link
Contributor

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

@ridiculousfish
Copy link
Member

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

@ridiculousfish
Copy link
Member

Should be fixed here: 2517832
Thanks for reporting this!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2020
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

3 participants