import sys
import os

# Add the src directory to the path
sys.path.append(os.path.join(os.path.dirname(__file__), 'excel_filter', 'src'))

print("Python path:", sys.path)
print("Current directory:", os.getcwd())

try:
    from excel_filter.gui_components.config_tab import ConfigTab
    print("SUCCESS: ConfigTab imported")
    
    # Try to instantiate
    import tkinter as tk
    root = tk.Tk()
    
    config_tab = ConfigTab(root, {}, {}, {})
    print("SUCCESS: ConfigTab instantiated")
    
    root.destroy()
    
except Exception as e:
    print(f"ERROR: {e}")
    import traceback
    traceback.print_exc()