pi@Sky2:~/SDL_Pi_SkyWeather2/dash_app $ sudo python3 index.py
index.py:5: UserWarning:
The dash_core_components package is deprecated. Please replace
`import dash_core_components as dcc` with `from dash import dcc`
import dash_core_components as dcc
index.py:6: UserWarning:
The dash_html_components package is deprecated. Please replace
`import dash_html_components as html` with `from dash import html`
pi@Sky2:~/SDL_Pi_SkyWeather2/dash_app $ sudo python3 index.py
index.py:5: UserWarning:
The dash_core_components package is deprecated. Please replace
`import dash_core_components as dcc` with `from dash import dcc`
import dash_core_components as dcc
index.py:6: UserWarning:
The dash_html_components package is deprecated. Please replace
`import dash_html_components as html` with `from dash import html`
import dash_html_components as html
SkyWeather2.JSON File does not exist
../SkyWeather2.JSON File exists
../SkyWeather2.JSON File exists
../SkyWeather2.JSON File exists
../SkyWeather2.JSON File exists
../SkyWeather2.JSON File exists
../SkyWeather2.JSON File exists
/home/pi/SDL_Pi_SkyWeather2/dash_app/static
dash_app running on port 8050
Dash is running on
* Serving Flask app 'index' (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off [2022-05-26 01:01:14,315] ERROR in app: Exception on /_dash-update-component [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2073, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1518, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1516, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1502, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/usr/local/lib/python3.7/dist-packages/dash/dash.py", line 1345, in dispatch
response.set_data(func(*args, outputs_list=outputs_list))
File "/usr/local/lib/python3.7/dist-packages/dash/_callback.py", line 151, in add_context
output_value = func(*func_args, **func_kwargs) # %% callback invoked %%
File "index.py", line 138, in display_page
myLayout = status_page.StatusPage()
File "/home/pi/SDL_Pi_SkyWeather2/dash_app/status_page.py", line 802, in StatusPage
no_gutters=True,
File "/usr/local/lib/python3.7/dist-packages/dash/development/base_component.py", line 425, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/dash_bootstrap_components/_components/Row.py", line 76, in __init__
super(Row, self).__init__(children=children, **args)
File "/usr/local/lib/python3.7/dist-packages/dash/development/base_component.py", line 138, in __init__
", ".join(sorted(self._prop_names))
TypeError: The `dash_bootstrap_components.Row` component (version 1.0.3) received an unexpected keyword argument: `no_gutters`
Allowed arguments: align, children, className, class_name, id, justify, key, loading_state, style