It appears you've shared a list of files that have been modified or created in various directories within a project structure. Here's how I'd interpret and categorize this information using Gitmoji emojis:

This commit is contained in:
2025-06-19 11:59:52 +02:00
parent 9bf89f8ddb
commit 0b9f3596bb
120 changed files with 569 additions and 4 deletions

View File

@ -47168,3 +47168,302 @@ werkzeug.routing.exceptions.BuildError: Could not build url for endpoint 'admin.
2025-06-19 11:25:39 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:26:09 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:26:09 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:48:46 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-19 11:48:48 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-19 11:48:48 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-19 11:48:48 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-19 11:48:48 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-19 11:48:48 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-19 11:48:48 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-19 11:48:48 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-19 11:48:48 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-19 11:48:48 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-19 11:48:48 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-19 11:48:48 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-19 11:48:48 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-19 11:48:48 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-19 11:48:48 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-19 11:48:50 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-19 11:48:52 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-19 11:48:52 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-19 11:48:52 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-19 11:48:52 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-19 11:48:52 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-19 11:48:52 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-19 11:48:52 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-19 11:48:52 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-19 11:48:52 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-19 11:48:52 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-19 11:48:52 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-19 11:48:52 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-19 11:48:52 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-19 11:48:52 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-19 11:48:54 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse
[SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout
FROM users
WHERE users.id = ?
LIMIT ? OFFSET ?]
[parameters: (1, 1, 0)]
(Background on this error at: https://sqlalche.me/e/20/rvf5)
2025-06-19 11:48:55 - [app] app - [INFO] INFO - Locating template 'dashboard.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\dashboard.html')
2025-06-19 11:48:55 - [app] app - [INFO] INFO - Locating template 'base.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\base.html')
2025-06-19 11:48:55 - [app] app - [INFO] INFO - Locating template 'macros/ui_components.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\macros\\ui_components.html')
2025-06-19 11:48:55 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:48:55 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-19 11:48:55 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:48:55 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:48:55 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:48:57 - [app] app - [DEBUG] DEBUG - Request: GET /printers
2025-06-19 11:48:57 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system
2025-06-19 11:48:57 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 1 -> off
2025-06-19 11:48:57 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 2, Status: off, Quelle: system
2025-06-19 11:48:57 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 2 -> off
2025-06-19 11:48:58 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 3, Status: off, Quelle: system
2025-06-19 11:48:58 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 3 -> off
2025-06-19 11:48:58 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 4, Status: off, Quelle: system
2025-06-19 11:48:58 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 4 -> off
2025-06-19 11:49:00 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system
2025-06-19 11:49:00 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 5 -> disconnected
2025-06-19 11:49:00 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system
2025-06-19 11:49:00 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 6 -> off
2025-06-19 11:49:00 - [app] app - [DEBUG] DEBUG - ✅ Status-Updates für 6 Drucker erfolgreich gespeichert
2025-06-19 11:49:00 - [app] app - [INFO] INFO - Locating template 'printers.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\printers.html')
2025-06-19 11:49:00 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:49:00 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:49:00 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:49:03 - [app] app - [DEBUG] DEBUG - Request: POST /printers/control
2025-06-19 11:49:03 - [app] app - [ERROR] ERROR - Unerwarteter Fehler bei Drucker-Steuerung: 'TapoController' object has no attribute 'is_plug_reachable'
2025-06-19 11:49:03 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-19 11:49:03 - [app] app - [DEBUG] DEBUG - Request: GET /printers
2025-06-19 11:49:04 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system
2025-06-19 11:49:04 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 1 -> off
2025-06-19 11:49:04 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 2, Status: off, Quelle: system
2025-06-19 11:49:04 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 2 -> off
2025-06-19 11:49:04 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 3, Status: off, Quelle: system
2025-06-19 11:49:04 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 3 -> off
2025-06-19 11:49:04 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 4, Status: off, Quelle: system
2025-06-19 11:49:04 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 4 -> off
2025-06-19 11:49:06 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system
2025-06-19 11:49:06 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 5 -> disconnected
2025-06-19 11:49:06 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system
2025-06-19 11:49:06 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 6 -> off
2025-06-19 11:49:06 - [app] app - [DEBUG] DEBUG - ✅ Status-Updates für 6 Drucker erfolgreich gespeichert
2025-06-19 11:49:06 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:49:07 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:49:07 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:49:10 - [app] app - [DEBUG] DEBUG - Request: POST /printers/control
2025-06-19 11:49:10 - [app] app - [ERROR] ERROR - Unerwarteter Fehler bei Drucker-Steuerung: 'TapoController' object has no attribute 'is_plug_reachable'
2025-06-19 11:49:10 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-19 11:49:10 - [app] app - [DEBUG] DEBUG - Request: GET /printers
2025-06-19 11:49:11 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system
2025-06-19 11:49:11 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 1 -> off
2025-06-19 11:49:11 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 2, Status: off, Quelle: system
2025-06-19 11:49:11 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 2 -> off
2025-06-19 11:49:11 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 3, Status: off, Quelle: system
2025-06-19 11:49:11 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 3 -> off
2025-06-19 11:49:11 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 4, Status: off, Quelle: system
2025-06-19 11:49:11 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 4 -> off
2025-06-19 11:49:14 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system
2025-06-19 11:49:14 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 5 -> disconnected
2025-06-19 11:49:14 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system
2025-06-19 11:49:14 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 6 -> off
2025-06-19 11:49:14 - [app] app - [DEBUG] DEBUG - ✅ Status-Updates für 6 Drucker erfolgreich gespeichert
2025-06-19 11:49:14 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:49:14 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:49:14 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:49:19 - [app] app - [DEBUG] DEBUG - Request: POST /printers/control
2025-06-19 11:49:19 - [app] app - [ERROR] ERROR - Unerwarteter Fehler bei Drucker-Steuerung: 'TapoController' object has no attribute 'is_plug_reachable'
2025-06-19 11:49:19 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-19 11:49:19 - [app] app - [DEBUG] DEBUG - Request: GET /printers
2025-06-19 11:49:20 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system
2025-06-19 11:49:20 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 1 -> off
2025-06-19 11:49:20 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 2, Status: off, Quelle: system
2025-06-19 11:49:20 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 2 -> off
2025-06-19 11:49:20 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 3, Status: off, Quelle: system
2025-06-19 11:49:20 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 3 -> off
2025-06-19 11:49:21 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 4, Status: off, Quelle: system
2025-06-19 11:49:21 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 4 -> off
2025-06-19 11:49:23 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system
2025-06-19 11:49:23 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 5 -> disconnected
2025-06-19 11:49:23 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system
2025-06-19 11:49:23 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 6 -> off
2025-06-19 11:49:23 - [app] app - [DEBUG] DEBUG - ✅ Status-Updates für 6 Drucker erfolgreich gespeichert
2025-06-19 11:49:23 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:49:23 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:49:23 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:49:27 - [app] app - [DEBUG] DEBUG - Request: POST /printers/control
2025-06-19 11:49:27 - [app] app - [ERROR] ERROR - Unerwarteter Fehler bei Drucker-Steuerung: 'TapoController' object has no attribute 'is_plug_reachable'
2025-06-19 11:49:27 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-19 11:49:27 - [app] app - [DEBUG] DEBUG - Request: GET /printers
2025-06-19 11:49:27 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system
2025-06-19 11:49:27 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 1 -> off
2025-06-19 11:49:27 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 2, Status: off, Quelle: system
2025-06-19 11:49:27 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 2 -> off
2025-06-19 11:49:27 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 3, Status: off, Quelle: system
2025-06-19 11:49:27 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 3 -> off
2025-06-19 11:49:27 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 4, Status: off, Quelle: system
2025-06-19 11:49:27 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 4 -> off
2025-06-19 11:49:29 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system
2025-06-19 11:49:29 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 5 -> disconnected
2025-06-19 11:49:30 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system
2025-06-19 11:49:30 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 6 -> off
2025-06-19 11:49:30 - [app] app - [DEBUG] DEBUG - ✅ Status-Updates für 6 Drucker erfolgreich gespeichert
2025-06-19 11:49:30 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:49:30 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:49:30 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:49:38 - [app] app - [DEBUG] DEBUG - Request: GET /admin/
2025-06-19 11:49:38 - [app] app - [INFO] INFO - Locating template 'admin.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\admin.html')
2025-06-19 11:49:38 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:49:38 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:49:38 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:49:41 - [app] app - [DEBUG] DEBUG - Request: GET /admin/users
2025-06-19 11:49:41 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:49:41 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:49:41 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:49:43 - [app] app - [DEBUG] DEBUG - Request: GET /admin/users/add
2025-06-19 11:49:43 - [app] app - [INFO] INFO - Locating template 'admin_add_user.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\admin_add_user.html')
2025-06-19 11:49:43 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:49:43 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:49:43 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:49:54 - [app] app - [DEBUG] DEBUG - Request: POST /api/admin/users
2025-06-19 11:49:54 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-19 11:50:27 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:50:27 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse
[SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout
FROM users
WHERE users.id = ?
LIMIT ? OFFSET ?]
[parameters: (1, 1, 0)]
(Background on this error at: https://sqlalche.me/e/20/rvf5)
2025-06-19 11:50:27 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-19 11:50:27 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login
2025-06-19 11:50:27 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-19 11:50:27 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-19 11:50:27 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-19 11:50:27 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-19 11:50:27 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:50:28 - [app] app - [DEBUG] DEBUG - Request: GET /admin/
2025-06-19 11:50:28 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:50:28 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:50:28 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:50:32 - [app] app - [DEBUG] DEBUG - Request: GET /admin/system-health
2025-06-19 11:50:32 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:50:32 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:50:32 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:50:33 - [app] app - [DEBUG] DEBUG - Request: GET /admin/system-health
2025-06-19 11:50:33 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:50:33 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:50:33 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:50:37 - [app] app - [DEBUG] DEBUG - Request: GET /jobs
2025-06-19 11:50:37 - [app] app - [INFO] INFO - Locating template 'jobs.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\jobs.html')
2025-06-19 11:50:37 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:50:37 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:50:37 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-19 11:50:37 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:50:37 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:50:37 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-19 11:50:37 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-19 11:50:37 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:50:41 - [app] app - [DEBUG] DEBUG - Request: GET /admin/printers
2025-06-19 11:50:41 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:50:41 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:50:41 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:51:11 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:51:11 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:51:41 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:51:41 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:52:11 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:52:11 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 11:52:41 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 11:52:41 - [app] app - [DEBUG] DEBUG - Response: 200