- Frontend v4 accessible sur réseau local (192.168.1.40) - Ports ouverts: 3002 (frontend), 5001 (backend), 5004 (dashboard) - Ollama GPU fonctionnel - Self-healing interactif - Dashboard confiance Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
26 lines
815 B
Python
26 lines
815 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
Debug simple pour tester l'import du module de déchiffrement côté serveur.
|
|
"""
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
# Ajouter le répertoire parent au path comme le fait le serveur
|
|
sys.path.insert(0, str(Path(__file__).parent))
|
|
|
|
print("=== Debug import serveur ===")
|
|
print(f"Python path: {sys.path[:3]}")
|
|
|
|
try:
|
|
from agent_v0.storage_encrypted import decrypt_session_file
|
|
print("✅ Import agent_v0.storage_encrypted réussi")
|
|
print(f" Fonction decrypt_session_file: {decrypt_session_file}")
|
|
except ImportError as e:
|
|
print(f"❌ Erreur import agent_v0.storage_encrypted: {e}")
|
|
|
|
try:
|
|
from storage_encrypted import decrypt_session_file
|
|
print("✅ Import storage_encrypted réussi")
|
|
except ImportError as e:
|
|
print(f"❌ Erreur import storage_encrypted: {e}") |