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

dynamics reports crashing with bokeh 3.4.0 #1063

Closed
handwerkerd opened this issue Mar 20, 2024 · 2 comments · Fixed by #1068
Closed

dynamics reports crashing with bokeh 3.4.0 #1063

handwerkerd opened this issue Mar 20, 2024 · 2 comments · Fixed by #1068
Labels
bug issues describing a bug or error found in the project good first issue issues that we think are good for new contributors. Equivalent to "very low" effort. reports issues related to boilerplate generation or visual reports

Comments

@handwerkerd
Copy link
Member

Summary

A user just sent me a crashed run and I think the issue is that they are using bokeh=3.4.0, which was released in March 2024.

Additional Detail

The log contains

INFO.   tedana:tedana_workflow:903 Generating dynamic report
BokehDeprecationWarning: 'circle() method with size value' was deprecated in Bokeh 3.4.0 and will be removed, use 'scatter(size=...) instead' instead.

The trackback crashes here:

circle = models.Circle(x=0, y=1, size=150, fill_color="white", line_color="white")

The bokeh 3.4.0 version release includes Deprecated figure.circle(size=10) in favour of figure.scatter(size=10) API (pull request 13283)

Next Steps

  • Confirm this really is causing a full crash with the newest version of Bokeh
  • Figure out, if we switch from circle to scatter if that affects our visualizations or if we'll need to update the minimum acceptable version of bokeh
@handwerkerd handwerkerd added bug issues describing a bug or error found in the project good first issue issues that we think are good for new contributors. Equivalent to "very low" effort. reports issues related to boilerplate generation or visual reports labels Mar 20, 2024
@gottss
Copy link

gottss commented Mar 21, 2024

Summary

A user just sent me a crashed run and I think the issue is that they are using bokeh=3.4.0, which was released in March 2024.

Additional Detail

The log contains

INFO.   tedana:tedana_workflow:903 Generating dynamic report
BokehDeprecationWarning: 'circle() method with size value' was deprecated in Bokeh 3.4.0 and will be removed, use 'scatter(size=...) instead' instead.

The trackback crashes here:

circle = models.Circle(x=0, y=1, size=150, fill_color="white", line_color="white")

The bokeh 3.4.0 version release includes Deprecated figure.circle(size=10) in favour of figure.scatter(size=10) API (pull request 13283)

Next Steps

  • Confirm this really is causing a full crash with the newest version of Bokeh
  • Figure out, if we switch from circle to scatter if that affects our visualizations or if we'll need to update the minimum acceptable version of bokeh

A follow-up: Uninstalling Bokeh 3.4.0 and installing Bokeh 3.3.0 fixed this issue.

@eurunuela
Copy link
Collaborator

I would say let's limit the version of Bokeh to a maximum of <3.4.0. We can update this later in the future if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issues describing a bug or error found in the project good first issue issues that we think are good for new contributors. Equivalent to "very low" effort. reports issues related to boilerplate generation or visual reports
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants