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

Visualization not visible #205

Closed
physicalattraction opened this issue Aug 3, 2017 · 3 comments
Closed

Visualization not visible #205

physicalattraction opened this issue Aug 3, 2017 · 3 comments

Comments

@physicalattraction
Copy link

When creating a profile, the visualization is not shown in the browser. I have installed graphviz using HomeBrew.

screen shot 2017-08-03 at 15 54 25

@danielbradburn
Copy link
Contributor

danielbradburn commented Aug 3, 2017

A couple of things you can check:

  • Are you using the latest version from github? The pypi version doesn't contain the graph visualization.
  • Do you set SILKY_PYTHON_PROFILER_BINARY = True?
  • Is your MEDIA_ROOT set to a valid path? This is where the cprofile dumps will be stored.

BTW - You don't need graphviz installed locally, the visualization is rendered using viz.js in the browser.

@physicalattraction
Copy link
Author

Thanks for your quick feedback. In fact, I did not use the latest version from github, but used pip to install version 1.0.0. I did set SILKY_PYTHON_PROFILER_BINARY = True and I also manually changed the profile path: SILKY_PYTHON_PROFILER_RESULT_PATH = BASE_DIR.child('tmp', 'profiles').

When can the latest version be expected in pip?

@danielbradburn
Copy link
Contributor

There is another issue about making a new release #187. Perhaps you could ask there what the status is.

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