**Änderungen:** - ✅ check_printer_ips.py und check_printers.py: Entfernt nicht mehr benötigte Skripte zur Überprüfung von Drucker-IP-Adressen. - ✅ DRUCKER_STATUS_REQUIREMENTS.md: Veraltete Anforderungen entfernt. - ✅ setup_standard_printers.py: Anpassungen zur Vereinheitlichung der Drucker-IP. - ✅ app.py: Logik zur Filterung offline/unreachable Drucker aktualisiert. **Ergebnis:** - Bereinigung des Codes durch Entfernen nicht mehr benötigter Dateien. - Optimierte Logik zur Handhabung von Druckerstatus in der Anwendung. 🤖 Generated with [Claude Code](https://claude.ai/code)
58 lines
9.2 KiB
Plaintext
58 lines
9.2 KiB
Plaintext
2025-06-12 07:25:28 - [guest] guest - [ERROR] ERROR - Fehler beim Erstellen der Gastanfrage: (sqlite3.OperationalError) no such column: users.theme_preference
|
|
[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 JOIN user_permissions ON users.id = user_permissions.user_id
|
|
WHERE user_permissions.can_approve_jobs = 1]
|
|
(Background on this error at: https://sqlalche.me/e/20/e3q8)
|
|
2025-06-12 08:33:21 - [guest] guest - [INFO] INFO - Neue Gastanfrage erstellt: ID 1, Name: Till Tomczak, OTP generiert
|
|
2025-06-12 15:08:55 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:08:57 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:09:11 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:09:16 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:09:19 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:09:50 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:10:20 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:10:50 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:11:19 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:11:49 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:12:20 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:12:50 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:13:29 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:14:29 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:15:29 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:16:29 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:17:29 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:18:29 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:19:29 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:20:29 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:22:29 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:24:33 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:24:36 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:24:59 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-12 15:25:29 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
|
|
2025-06-13 06:57:05 - [guest] guest - [INFO] INFO - Neue Gastanfrage erstellt: ID 1, Name: Till Tomczaktet, OTP generiert
|
|
2025-06-13 07:13:42 - [guest] guest - [ERROR] ERROR - Fehler beim Erstellen der Gastanfrage: (sqlite3.OperationalError) table notifications has no column named title
|
|
[SQL: INSERT INTO notifications (user_id, title, message, type, payload, created_at, is_read, read_at) VALUES (?, ?, ?, ?, ?, ?, ?, ?)]
|
|
[parameters: (1, None, None, 'guest_request', '{"request_id": 2, "name": "Till Tomczaktet", "created_at": "2025-06-13T07:13:42.749201", "status": "pending"}', '2025-06-13 07:13:42.954291', 0, None)]
|
|
(Background on this error at: https://sqlalche.me/e/20/e3q8)
|
|
2025-06-13 07:17:33 - [guest] guest - [INFO] INFO - Gastanfrage 2 genehmigt von Admin 1 (admin)
|
|
2025-06-15 22:01:50 - [guest] guest - [ERROR] ERROR - Fehler beim Erstellen der Gastanfrage: (sqlite3.OperationalError) table notifications has no column named title
|
|
[SQL: INSERT INTO notifications (user_id, title, message, type, payload, created_at, is_read, read_at) VALUES (?, ?, ?, ?, ?, ?, ?, ?)]
|
|
[parameters: (1, None, None, 'guest_request', '{"request_id": 1, "name": "teste", "created_at": "2025-06-15T22:01:49.940943", "status": "pending"}', '2025-06-15 22:01:50.180590', 0, None)]
|
|
(Background on this error at: https://sqlalche.me/e/20/e3q8)
|
|
2025-06-15 22:02:16 - [guest] guest - [INFO] INFO - Gastanfrage 1 genehmigt von Admin 1 (admin)
|
|
2025-06-15 22:19:56 - [guest] guest - [ERROR] ERROR - Fehler beim Erstellen der Gastanfrage: (sqlite3.OperationalError) table notifications has no column named title
|
|
[SQL: INSERT INTO notifications (user_id, title, message, type, payload, created_at, is_read, read_at) VALUES (?, ?, ?, ?, ?, ?, ?, ?)]
|
|
[parameters: (1, 'Neue Gastanfrage eingegangen', 'Gastanfrage von testeadmin@example.com wartet auf Ihre Genehmigung.', 'guest_request', '{"request_id": 2, "name": "testeadmin@example.com", "created_at": "2025-06-15T22:19:56.654964", "status": "pending"}', '2025-06-15 22:19:56.892143', 0, None)]
|
|
(Background on this error at: https://sqlalche.me/e/20/e3q8)
|
|
2025-06-15 22:30:45 - [guest] guest - [INFO] INFO - Neue Gastanfrage erstellt: ID 3, Name: testeadmin@example.com, OTP generiert
|
|
2025-06-15 23:20:59 - [guest] guest - [INFO] INFO - Neue Gastanfrage erstellt: ID 2, Name: testeadmin@example.com, OTP generiert
|
|
2025-06-15 23:21:28 - [guest] guest - [INFO] INFO - Automatisch Drucker 1 (Drucker 1) für Gastanfrage 2 zugewiesen
|
|
2025-06-15 23:21:28 - [guest] guest - [INFO] INFO - Gastanfrage 2 genehmigt von Admin 1 (admin), Drucker: Drucker 1
|
|
2025-06-15 23:30:27 - [guest] guest - [WARNING] WARNING - Fehler beim Einschalten des Druckers: Instance <Job at 0x7f33f1b0b750> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: https://sqlalche.me/e/20/bhk3)
|
|
2025-06-15 23:30:27 - [guest] guest - [ERROR] ERROR - Fehler beim Starten des Jobs mit Code: Instance <Job at 0x7f33f1b0b750> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: https://sqlalche.me/e/20/bhk3)
|
|
2025-06-15 23:55:30 - [guest] guest - [INFO] INFO - Neue Gastanfrage erstellt: ID 1, Name: testeadmin@example.com, OTP generiert
|
|
2025-06-15 23:55:56 - [guest] guest - [INFO] INFO - Automatisch Drucker 1 (Drucker 1) für Gastanfrage 1 zugewiesen
|
|
2025-06-15 23:55:56 - [guest] guest - [INFO] INFO - Gastanfrage 1 genehmigt von Admin 1 (admin), Drucker: Drucker 1
|
|
2025-06-15 23:56:30 - [guest] guest - [WARNING] WARNING - Fehler beim Einschalten des Druckers: Instance <Job at 0x7fc9a4747f90> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: https://sqlalche.me/e/20/bhk3)
|
|
2025-06-15 23:56:30 - [guest] guest - [ERROR] ERROR - Fehler beim Starten des Jobs mit Code: Instance <Job at 0x7fc9a4747f90> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: https://sqlalche.me/e/20/bhk3)
|