v1.0 - Version stable: multi-PC, détection UI-DETR-1, 3 modes exécution
- 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>
This commit is contained in:
26
debug_server_import.py
Normal file
26
debug_server_import.py
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/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}")
|
||||
Reference in New Issue
Block a user