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

(pprof) web #21

Closed
ehsanmostajeran opened this issue May 27, 2016 · 4 comments
Closed

(pprof) web #21

ehsanmostajeran opened this issue May 27, 2016 · 4 comments

Comments

@ehsanmostajeran
Copy link

Hi
I am trying to project profile on web. When I use "web" command I get this error.

(pprof) web
(pprof) Cannot open display:
Run '/usr/bin/eog --help' to see a full list of available command line options.
Error: no "view" rule for type "image/svg+xml" passed its test case
(for more information, add "--debug=1" on the command line)
Can't call method "get_value" on an undefined value at /usr/bin/mimeopen line 162.
/usr/bin/xdg-open: line 563: links2: not found
/usr/bin/xdg-open: line 563: links: not found

@rauls5382
Copy link
Contributor

What platform are you running it on? If this is on Linux, make sure your DISPLAY variable is properly set, and that xdg-utils are properly configured to open a web browser.

Some relevant links:
https://www.freedesktop.org/wiki/Software/xdg-utils/

@ehsanmostajeran
Copy link
Author

ehsanmostajeran commented Jun 1, 2016

Thanks for info.
I set DISPLAY, and I have xdg-open. Now I get different error.

(pprof) web
(pprof)
** (eog:5392): WARNING **: Could not open X display
Cannot open display:
Run '/usr/bin/eog --help' to see a full list of available command line options.

** (eog:5397): WARNING **: Could not open X display
Cannot open display:
Run 'eog --help' to see a full list of available command line options.
Warning: program returned non-zero exit code #1
Can't call method "get_value" on an undefined value at /usr/bin/mimeopen line 162.
/usr/bin/xdg-open: line 563: x-www-browser: not found
/usr/bin/xdg-open: line 563: firefox: not found
/usr/bin/xdg-open: line 563: mozilla: not found
/usr/bin/xdg-open: line 563: epiphany: not found
/usr/bin/xdg-open: line 563: konqueror: not found
/usr/bin/xdg-open: line 563: chromium-browser: not found
/usr/bin/xdg-open: line 563: google-chrome: not found
/usr/bin/xdg-open: line 563: links2: not found
/usr/bin/xdg-open: line 563: links: not found

@rauls5382
Copy link
Contributor

eog is set as your svg viewer and it is unable to open the X DISPLAY. Try running eog by itself to see if it works. If you're using a remote terminal connection to a linux box from a laptop or another workstation this will not work.

What I recommend is you save the .svg file using the "svg" command, transfer it to your workstation via FTP or a network filesystem, and open it manually from your browser.

@rauls5382
Copy link
Contributor

I'm going to close this as I suspect it is a configuration issue. Please reopen if necessary.

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