Comments (4)
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/
from pprof.
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
from pprof.
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.
from pprof.
I'm going to close this as I suspect it is a configuration issue. Please reopen if necessary.
from pprof.
Related Issues (20)
- SVG heap graph inconvenient for color blind HOT 3
- Proposal: add Discriminator field to Line message HOT 6
- quotes in CPU profile tags not escaped properly HOT 1
- Jsjdj
- Switch to the new flame graph implementation by default and remove d3 dependency HOT 3
- Hash-pin workflow Actions
- Module did not self-register: Worker Threads HOT 1
- disasm: no matches found for regexp HOT 2
- Add tests for javascript code HOT 3
- Error & Troubleshooting HOT 1
- Support code coverage in javascript test HOT 1
- Add elf type and load segment information to mapping HOT 1
- pprof on MacOS can't find dot? HOT 3
- UI Support for tag commands: tagfocus, tagignore, tagshow, tagroot, etc HOT 1
- -tagroot and -tagleaf in UI aren't including the tag name? HOT 4
- New flame graph appears to reset the profile state in an unexpected way HOT 1
- If the file under the current path contains a colon, go tool pprof will parse it into a url and will not work properly.
- Compatibility guarantees for Profile-Guided Optimization (PGO) purposes with Go HOT 2
- Set Function.start_line when symbolizing HOT 3
- Patch CVE for d3-color HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pprof.