File tree Expand file tree Collapse file tree
executor_manager/src/shims Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -283,8 +283,10 @@ impl HostShim {
283283 if let Ok ( flame_home) = env:: var ( FLAME_HOME ) {
284284 let lib_path = Path :: new ( & flame_home) . join ( "lib" ) ;
285285 if let Some ( site_packages) = Self :: find_site_packages ( & lib_path) {
286+ let site_packages_str = site_packages. to_string_lossy ( ) . to_string ( ) ;
286287 envs. entry ( "PYTHONPATH" . to_string ( ) )
287- . or_insert ( site_packages. to_string_lossy ( ) . to_string ( ) ) ;
288+ . and_modify ( |e| * e = format ! ( "{}:{}" , site_packages_str, e) )
289+ . or_insert ( site_packages_str) ;
288290
289291 // Set LD_LIBRARY_PATH for all packages with native extensions (.so files)
290292 let ld_paths = Self :: find_native_lib_paths ( & site_packages) ;
Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ def collect_task_lifecycles(
277277 except Exception as e :
278278 print (f"Warning: Failed to collect tasks from session { session_id } : { e } " )
279279
280- if debug or True :
280+ if debug :
281281 print (f"Events found: { events_found } " )
282282 tasks_with_start = sum (1 for lc in lifecycles if lc .start_time )
283283 print (f"Tasks with start_time: { tasks_with_start } /{ len (lifecycles )} " )
You can’t perform that action at this time.
0 commit comments