Error

cannot access local variable 'timestamp_start_golden1' where it is not associated with a value

Details

    Traceback (most recent call last):
  File "/opt/acc-bpt/release_2025_05/jinja/build_static_plots.py", line 85, in _create_static_html_content
    output_html_file_path = driver.build(abs_plot_dest_file_html)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/acc-bpt/release_2025_05/acc_bpt/shared/BptV2.py", line 319, in build
    raise ex
  File "/opt/acc-bpt/release_2025_05/acc_bpt/shared/BptV2.py", line 298, in build
    name, content = self.bptStatic.create_bokeh_model(analyzed_data)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/acc-bpt/release_2025_05/acc_bpt/ps/shared/script_ps_position_v.py", line 1229, in create_bokeh_model
    timestamp_start_golden1 = pd.to_datetime(timestamp_start_golden1).tz_localize('UTC')
                                             ^^^^^^^^^^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'timestamp_start_golden1' where it is not associated with a value

    

Generated 2025-05-28 19:37:12.901966+02:00