plotly / plotly/dash

Django-plotly-dash with dash 1.11.0 throws TypeError when trying to render app

Open
#1,198 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug P3
Dominant language
Python
Stars
24.4k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
13

Description

Describe your context
I have been using Django-plotly-dash to create dashboard with Ploty/Dash/Bootstrap4 components. The app was working fine until I upgraded from dash 1.10.0 -> 1.11.0. In 1.11.0, I am getting a TypeError exception. Unfortunately, I can't figure out if the Django-plotly-dash plugin would need an update (due to some breaking change in Dash) or there is some bug in 1.11.0.

Another user has filed a ticket with django-plotly-dash experiencing the same, and I added some information there which describes the packages that were updated that is causing this issue. Please see https://github.com/GibbsConsulting/django-plotly-dash/issues/237

Describe the bug
Getting a TypeError exception. Please see https://github.com/GibbsConsulting/django-plotly-dash/issues/237

Exception Type: TypeError at /dashboard/
Exception Value: expected string or bytes-like object

Expected behavior

A nice dashboard should load 😃, just like it did with dash v1.10.0.

Screenshots

N/A.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the dashboard request at /dashboard/ with Dash 1.11.0 and compare it with Dash 1.10.0. Read the linked django-plotly-dash issue 237 for the package versions and traceback details; done means the dashboard loads without the expected string or bytes-like object TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend, data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.