question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] bokeh (html|png|svg) commands all broken

See original GitHub issue

Trying to use any of them:

bokeh html iris.py
ERROR: OutputDocumentFor expects a sequence of Models

I tried several mods to get working (e.g. passing a list to show in the script) but nothing got it running. AFAIK these have been broken a fairly long time and no one noticed until just now. I’d like to propose just removing them for 2.0. This direction of usage was never promoted and never took off. I’d personally support jettisoning dead code now for 2.0, sooner rather than later.

Thoughts @bokeh/dev

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
bryevdvcommented, Apr 28, 2021

@numeric-lee This is a different issue concerning old command line tools (that have since been entirely removed). The export functions including export_png are maintained under continuous test, so if you are having some issue, I would suggest first asking a detailed, complete question (i.e. substantially more information than you have given here) on the discourse: https://discourse.bokeh.org If some actual bug can be replicated we will ask you to open a new issue.

0reactions
numeric-leecommented, Apr 28, 2021

@bokeh/dev @bryevdv any luck fixing #9687? Still getting the same result bokeh = 2.2.1. export_png(plot, filename=“x.png”)

ValueError: OutputDocumentFor expects a sequence of Models

As a workaround I am saving as html using

    renderer = hv.renderer()
    renderer.save(plot, "x")
Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating issues — Bokeh 3.0.2 Documentation
Creating issues#. Bug reports and feature requests in Bokeh's issue tracker are the foundation of almost all improvements implemented in Bokeh.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found