@@ -300,16 +300,14 @@ def _on_processing_complete(self, result):
300300 self .progress_display .update_progress (final_counts , result .processed_count , result .processed_count )
301301 # Clear the latest URL display when processing completes
302302 self .progress_display .clear_latest_url ()
303-
304- print (f"✅ Processing completed: { result .processed_count } URLs processed" )
305303
306304 # Show results table if we have results
307305 if hasattr (result , 'dataframe' ) and result .dataframe is not None :
308306 self ._populate_results_table (result .dataframe )
309307
310308 def _on_processing_error (self , error_message : str ):
311309 """Handle processing error."""
312- print ( f"❌ Processing error: { error_message } " )
310+ pass
313311
314312 def _on_processing_state_changed (self , is_processing : bool , is_paused : bool ):
315313 """Handle processing state changes."""
@@ -371,18 +369,11 @@ def _populate_results_table(self, results_df: pd.DataFrame):
371369 """Populate the results table with processed data."""
372370 self .results_df = results_df
373371
374- # Debug: Print DataFrame info
375- print (f"📊 Results DataFrame shape: { results_df .shape } " )
376- print (f"📊 Results DataFrame columns: { list (results_df .columns )} " )
377- print (f"📊 First few rows:\n { results_df .head ()} " )
378-
379372 # Get column mapping info
380373 if self .column_selector :
381374 columns_data = self .column_selector .get_all_selected_columns ()
382375 self .video_url_column = columns_data ['post_column' ]
383376 self .preserved_columns = columns_data ['preserve_columns' ]
384- print (f"📊 Video URL column: { self .video_url_column } " )
385- print (f"📊 Preserved columns: { self .preserved_columns } " )
386377
387378 # Clear existing table content
388379 if dpg .does_item_exist (self .results_table_id ):
@@ -396,13 +387,8 @@ def _populate_results_table(self, results_df: pd.DataFrame):
396387 # Define column order: Video URL, Status, then preserved columns
397388 table_columns = [self .video_url_column , 'status' ] + self .preserved_columns
398389
399- # Debug: Check which columns actually exist
400- available_columns = [col for col in table_columns if col in results_df .columns ]
401- missing_columns = [col for col in table_columns if col not in results_df .columns ]
402- print (f"📊 Available columns: { available_columns } " )
403- print (f"📊 Missing columns: { missing_columns } " )
404-
405390 # Use only available columns
391+ available_columns = [col for col in table_columns if col in results_df .columns ]
406392 table_columns = available_columns
407393
408394 # Add table columns
@@ -456,7 +442,6 @@ def _populate_results_table(self, results_df: pd.DataFrame):
456442 def _on_export_file_selected (self , file_path : str ):
457443 """Handle export file selection using our FilePicker component."""
458444 if self .results_df is None :
459- print ("❌ No results to export" )
460445 return
461446
462447 try :
@@ -473,10 +458,9 @@ def _on_export_file_selected(self, file_path: str):
473458 # Export only the selected columns
474459 export_df = self .results_df [available_export_columns ]
475460 export_df .to_csv (file_path , index = False )
476- print (f"✅ Results exported to: { file_path } " )
477461
478462 except Exception as e :
479- print ( f"❌ Export error: { e } " )
463+ pass
480464
481465 def _clear_results (self ):
482466 """Clear results table and data before starting new processing."""
0 commit comments