- 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>
1.1 KiB
1.1 KiB
Capture d'Élément Cible VWB - Diagnostic
Auteur : Dom, Alice, Kiro - 09 janvier 2026
Problème identifié
La capture d'élément cible ne fonctionne pas via l'API Flask mais fonctionne en direct.
Fichiers clés
- visual_workflow_builder/backend/app_lightweight.py : Backend Flask principal
- visual_workflow_builder/frontend/src/components/VisualSelector/index.tsx : Composant frontend
- tests/integration/test_capture_element_cible_vwb_09jan2026.py : Test principal
- tests/integration/test_backend_vwb_simple_09jan2026.py : Test direct backend
Tests à exécuter
- Test direct : python3 tests/integration/test_backend_vwb_simple_09jan2026.py
- Test complet : python3 tests/integration/test_capture_element_cible_vwb_09jan2026.py
Environnement requis
- Environnement virtuel venv_v3 avec mss, pyautogui, torch, open_clip_torch
- Python 3.8+
- Écran disponible pour capture
Symptômes
- ✅ Fonctions backend directes : OK
- ❌ Endpoints Flask /api/screen-capture : Erreur 500
- ✅ ScreenCapturer avec venv : OK
- ❌ ScreenCapturer via serveur Flask : Échec