IBM / dse-do-dashboard

Plotly/Dash dashboard for Decision Optimization projects in IBM Cloud Pak for Data
Apache License 2.0
4 stars 3 forks source link

Fix the Stop the Dash server button #31

Closed victorterpstra closed 2 years ago

victorterpstra commented 2 years ago

Home -> Stop Server -> Stop button fails with recent versions of Dash: 'RuntimeError: Not running with the Werkzeug Server'

This method was already deprecated. Find an alternative way.

victorterpstra commented 2 years ago

Fixed in v0.1.2.2b using os.kill(os.getpid(), signal.SIGTERM)