Dash multipage app, request flask return localproxy unbound

i have an application of dash, i moved from 2.5.1 way to do multipages to 2.6.1 register_pages , but now i have a problem with the flask request, before i moved, the request take the data correctly, but now i only got '< Localproxy unbound > ’

any suggestions!?



What does your app.py look like?

1 Like
import dash
#import os
#import sys
from dash import html, callback, dcc, Input, Output
import dash_bootstrap_components as dbc
import plotly.graph_objects as go
#import getpass
import pprint


external_stylesheets = [dbc.themes.BOOTSTRAP, 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css']
app = dash.Dash(__name__, use_pages=True, external_stylesheets=external_stylesheets)

app.layout = dbc.Container([
if __name__ == "__main__":                                             
    app.run(debug=True, host='',port=3004)

I think you need to put the print(request) inside of a def layout() function. It looks like your app is setup right.


@jinnyzor ,

that works! thanks a lot!