Viewing: dashBarreiras.log
nohup: ignoring input Collecting usage statistics. To deactivate, set browser.gatherUsageStats to false. You can now view your Streamlit app in your browser. URL: http://0.0.0.0:8507 /home/grupo692/appstigrupobig/dashFSA.py:48: AltairDeprecationWarning: Deprecated since `altair=5.5.0`. Use altair.theme instead. Most cases require only the following change: # Deprecated alt.themes.enable('quartz') # Updated alt.theme.enable('quartz') If your code registers a theme, make the following change: # Deprecated def custom_theme(): return {'height': 400, 'width': 700} alt.themes.register('theme_name', custom_theme) alt.themes.enable('theme_name') # Updated @alt.theme.register('theme_name', enable=True) def custom_theme(): return alt.theme.ThemeConfig( {'height': 400, 'width': 700} ) See the updated User Guide for further details: https://altair-viz.github.io/user_guide/api.html#theme https://altair-viz.github.io/user_guide/customization.html#chart-themes alt.themes.enable("dark") dar2025-04-01 16:56:04.792 Uncaught app exception Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling result = func() File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec exec(code, module.__dict__) File "/home/grupo692/appstigrupobig/dashSFilho.py", line 1021, in <module> main() File "/home/grupo692/appstigrupobig/dashSFilho.py", line 492, in main df_selected_year_sorted['mta_meta_formatado'] = df_selected_year_sorted['mta_meta'].apply(formatar_moeda) File "/usr/local/lib64/python3.9/site-packages/pandas/core/series.py", line 4917, in apply return SeriesApply( File "/usr/local/lib64/python3.9/site-packages/pandas/core/apply.py", line 1427, in apply return self.apply_standard() File "/usr/local/lib64/python3.9/site-packages/pandas/core/apply.py", line 1507, in apply_standard mapped = obj._map_values( File "/usr/local/lib64/python3.9/site-packages/pandas/core/base.py", line 921, in _map_values return algorithms.map_array(arr, mapper, na_action=na_action, convert=convert) File "/usr/local/lib64/python3.9/site-packages/pandas/core/algorithms.py", line 1743, in map_array return lib.map_infer(values, mapper, convert=convert) File "lib.pyx", line 2972, in pandas._libs.lib.map_infer File "/home/grupo692/appstigrupobig/dashSFilho.py", line 36, in formatar_moeda valor_formatado = "{:,.2f}".format(valor) TypeError: unsupported format string passed to NoneType.__format__
Return