fish-shell icon indicating copy to clipboard operation
fish-shell copied to clipboard

fish_config broken in Ubuntu

Open ghost opened this issue 11 years ago • 5 comments

Hi all,

Thanks for writing this amazing shell, I'm really enjoying it so far ;-)

One minor issue though, fish_config isn't working. When I run it, it gives this output in the terminal:

$ fish_config 
Web config started at 'http://localhost:8000/'. Hit enter to stop.
Created new window in existing browser session.
127.0.0.1 - - [21/Dec/2014 11:45:33] code 404, message File not found
127.0.0.1 - - [21/Dec/2014 11:45:33] code 404, message File not found

The page opened in the browser does display the general structure of the config interface, but it's missing some stuff. Here's a picture:

Broken web interface

Also none of the buttons are responsive, nothing happens when I click anywhere in there.

My first thought was that maybe ubuntu packagers split some files out into a separate package that I didn't install, but I wasn't able to discover the name of that package. Since the ubuntu package is called fish I would expect such a package to be named fish-web or similar, but the only package that matches ^fish-.* is fish-dbg which is of course just the debug symbols and doesn't help.

$ apt-cache policy fish
fish:
  Installed: 2.1.0-1
  Candidate: 2.1.0-1
  Version table:
 *** 2.1.0-1 0
        500 http://ca.archive.ubuntu.com/ubuntu/ utopic/universe amd64 Packages
        100 /var/lib/dpkg/status

Any help is appreciated! Thanks!

ghost avatar Dec 21 '14 20:12 ghost

I have the same issue when installing fish with the package manager on debian sid. Compiling from git fixed the issue for me.

ChriPiv avatar Dec 23 '14 16:12 ChriPiv

I just wanna know what files are missing so I can replace them manually ;-)

ghost avatar Dec 23 '14 20:12 ghost

This is a downstream problem - see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770973 and #1847.

Installing the packages from fishshell.com will work, or you can manually add the symlink: ln -s /usr/share/javascript/jquery/jquery.js /usr/share/fish/tools/web_config/jquery.js or so should do the job. Make sure you remove it before upgrading the package.

Closing as dupe of #1847 for now.

zanchey avatar Dec 24 '14 00:12 zanchey

Hmmmmmmm i tried searching bugs and didn't find that one. Dfsg strikes again!

OK thanks. On Dec 23, 2014 4:05 PM, "David Adam" [email protected] wrote:

This is a downstream problem - see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770973 and #1847 https://github.com/fish-shell/fish-shell/issues/1847.

Installing the packages from fishshell.com will work, or you can manually add the symlink: ln -s /usr/share/javascript/jquery/jquery.js /usr/share/fish/tools/web_config/jquery.js or so should do the job. Make sure you remove it before upgrading the package.

Closing as dupe of #1847 https://github.com/fish-shell/fish-shell/issues/1847 for now.

— Reply to this email directly or view it on GitHub https://github.com/fish-shell/fish-shell/issues/1860#issuecomment-68012543 .

ghost avatar Dec 24 '14 00:12 ghost

pasting this from @zanchey 's comment into the terminal using root

ln -s /usr/share/javascript/jquery/jquery.js /usr/share/fish/tools/web_config/jquery.js

does fixes the issue on the ubuntu repo package so it's not that bad

spider623 avatar Jul 26 '15 14:07 spider623