Skip to content

The debug endpoint (/debugz) is not working #5083

@whitphx

Description

@whitphx

Summary

When accessing /debugz, it returns 500.

2022-08-03 23:50:35.658 Uncaught exception GET /debugz (::1)
HTTPServerRequest(protocol='http', host='localhost:8501', method='GET', uri='/debugz', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
  File "/workspace/.venv/lib/python3.8/site-packages/tornado/web.py", line 1702, in _execute
    result = method(*self.path_args, **self.path_kwargs)
  File "/workspace/.venv/lib/python3.8/site-packages/streamlit/server/routes.py", line 276, in get
    "<code><pre>%s</pre><code>" % json.dumps(self._server.get_debug(), indent=2)
AttributeError: 'Server' object has no attribute 'get_debug'
2022-08-03 23:50:35.660 500 GET /debugz (::1) 14.13ms

It uses an undefined method Server.get_debug().

Is this a regression?

I don't know

Debug info

  • Streamlit version: 1.10.0
  • Python version: Python 3.8.7
  • Using Conda? PipEnv? PyEnv? Pex?: venv
  • OS version: macOS

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions