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

Error while passing middleware to eel #228

@RahulBadenkal

Description

@RahulBadenkal

Hi, I was just trying to pass a beaker middleware to eel (related to #199 ) but got the following error:

Traceback (most recent call last):
File "//run.py", line 52, in start_app
eel.start(start_html_page, mode='chrome', port=0, app=app)
File "//venv/lib/python3.6/site-packages/eel/init.py", line 161, in start
run_lambda()
File "//venv/lib/python3.6/site-packages/eel/init.py", line 151, in run_lambda
app.route(path=route_path, callback=route_func, **route_kwargs)
AttributeError: 'SessionMiddleware' object has no attribute 'route'

Code is same as in the linked issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions