Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Dashboard update fails from Python API #43

@rdarie

Description

@rdarie

I encounter the following bug when trying to update an existing dashboard that has already been uploaded to the web once. Or perhaps is there an 'overwrite' flag that I need to set like there is for plots?

I am using the Python API (Python 3.4.5 from Anaconda 4.3.1 64 bit) on a Windows 10 machine and Plotly 2.0.11. Any ideas as to why this might be?

File "evaluatePerformance.py", line 88, in <module>     dboardURL = py.dashboard_ops.upload(dboard, filename = fileName + '_dashboard', auto_open = False)   File "D:\Anaconda3\lib\site-packages\plotly\plotly\plotly.py", line 1445, in upload     matching_file = json.loads(lookup_res.content)   File "D:\Anaconda3\lib\json\__init__.py", line 312, in loads     s.__class__.__name__)) TypeError: the JSON object must be str, not 'bytes'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions