[GH-ISSUE #1171] [Bug Report] Print started without confirming Clear Plate #849

Closed
opened 2026-05-06 12:33:23 +02:00 by BreizhHardware · 4 comments

Originally created by @maziggy on GitHub (Apr 30, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/1171

Originally assigned to: @maziggy on GitHub.

Print started without confirming Clear Plate

System Information
{
  "generated_at": "2026-04-30T08:20:32.511416",
  "app": {
    "version": "0.2.3b3",
    "debug_mode": false
  },
  "system": {
    "platform": "Linux",
    "platform_release": "6.8.0-106-generic",
    "platform_version": "#106-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar  6 07:58:08 UTC 2026",
    "architecture": "x86_64",
    "python_version": "3.13.13"
  },
  "environment": {
    "docker": true,
    "data_dir": "/app/data",
    "log_dir": "/app/logs",
    "timezone": "Europe/Berlin"
  },
  "database": {
    "archives_total": 144,
    "archives_completed": 83,
    "printers_total": 3,
    "filaments_total": 0,
    "projects_total": 1,
    "smart_plugs_total": 0
  },
  "printers": [
    {
      "index": 1,
      "model": "P1S",
      "nozzle_count": 1,
      "is_active": true,
      "mqtt_connected": true,
      "state": "FAILED",
      "firmware_version": "01.10.00.00",
      "wifi_signal": -58,
      "reachable": true,
      "ams_unit_count": 1,
      "ams_tray_count": 4,
      "has_vt_tray": true,
      "external_camera_configured": false,
      "plate_detection_enabled": false,
      "hms_error_count": 1,
      "developer_mode": true,
      "nozzle_rack_count": 0
    },
    {
      "index": 2,
      "model": "P1P",
      "nozzle_count": 1,
      "is_active": true,
      "mqtt_connected": true,
      "state": "FAILED",
      "firmware_version": "01.10.00.00",
      "wifi_signal": -44,
      "reachable": true,
      "ams_unit_count": 1,
      "ams_tray_count": 4,
      "has_vt_tray": true,
      "external_camera_configured": false,
      "plate_detection_enabled": false,
      "hms_error_count": 0,
      "developer_mode": true,
      "nozzle_rack_count": 0
    },
    {
      "index": 3,
      "model": "P1S",
      "nozzle_count": 1,
      "is_active": true,
      "mqtt_connected": true,
      "state": "FINISH",
      "firmware_version": "01.10.00.00",
      "wifi_signal": -43,
      "reachable": true,
      "ams_unit_count": 1,
      "ams_tray_count": 4,
      "has_vt_tray": true,
      "external_camera_configured": false,
      "plate_detection_enabled": false,
      "hms_error_count": 0,
      "developer_mode": true,
      "nozzle_rack_count": 0
    }
  ],
  "settings": {
    "advanced_auth_enabled": "false",
    "smtp_auth_enabled": "true",
    "auth_enabled": "true",
    "setup_completed": "true",
    "auto_archive": "true",
    "save_thumbnails": "true",
    "capture_finish_photo": "true",
    "default_filament_cost": "25.0",
    "currency": "EUR",
    "energy_cost_per_kwh": "0.15",
    "energy_tracking_mode": "total",
    "disable_filament_warnings": "false",
    "check_updates": "true",
    "check_printer_firmware": "true",
    "include_beta_updates": "true",
    "notification_language": "en",
    "bed_cooled_threshold": "35.0",
    "ams_humidity_good": "40",
    "ams_humidity_fair": "60",
    "ams_temp_good": "28.0",
    "ams_temp_fair": "35.0",
    "ams_history_retention_days": "30",
    "queue_drying_enabled": "false",
    "queue_drying_block": "false",
    "ambient_drying_enabled": "false",
    "drying_presets": "",
    "per_printer_mapping_expanded": "true",
    "date_format": "system",
    "time_format": "system",
    "default_printer_id": "None",
    "ftp_retry_enabled": "true",
    "ftp_retry_count": "3",
    "ftp_retry_delay": "2",
    "ftp_timeout": "30",
    "mqtt_enabled": "false",
    "mqtt_broker": "",
    "mqtt_port": "1883",
    "mqtt_topic_prefix": "bambuddy",
    "mqtt_use_tls": "false",
    "ha_enabled": "false",
    "library_archive_mode": "ask",
    "library_disk_warning_gb": "5.0",
    "camera_view_mode": "embedded",
    "preferred_slicer": "bambu_studio",
    "prometheus_enabled": "false",
    "user_notifications_enabled": "true",
    "language": "en",
    "debug_logging_enabled": "false",
    "debug_logging_enabled_at": "",
    "prefer_lowest_filament": "false",
    "default_bed_levelling": "true",
    "default_flow_cali": "false",
    "default_vibration_cali": "true",
    "default_layer_inspect": "false",
    "default_timelapse": "false",
    "stagger_group_size": "2",
    "stagger_interval_minutes": "5",
    "require_plate_clear": "true"
  },
  "docker": {
    "container_memory_limit_bytes": null,
    "container_memory_limit_formatted": null,
    "network_mode_hint": "host"
  },
  "virtual_printers": [],
  "integrations": {
    "notification_providers": [],
    "spoolman": {
      "enabled": false,
      "reachable": false
    },
    "mqtt_relay": {
      "enabled": false,
      "connected": false,
      "broker": "",
      "port": 0,
      "topic_prefix": "bambuddy"
    },
    "homeassistant": {
      "enabled": false
    }
  },
  "database_health": {
    "backend": "sqlite",
    "journal_mode": "wal",
    "quick_check": "ok",
    "db_size_bytes": 2699264,
    "wal_size_bytes": 4152992
  },
  "dependencies": {
    "fastapi": "0.135.3",
    "uvicorn": "0.44.0",
    "pydantic": "2.12.5",
    "sqlalchemy": "2.0.49",
    "paho-mqtt": "2.1.0",
    "psutil": "7.2.2",
    "httpx": "0.28.1",
    "aiofiles": "25.1.0",
    "cryptography": "46.0.7",
    "opencv-python-headless": "4.13.0.92",
    "numpy": "2.4.4"
  },
  "log_file": {
    "size_bytes": 3066162,
    "size_formatted": "2.9 MB"
  },
  "network": {
    "interface_count": 2,
    "interfaces": [
      {
        "name": "eno1",
        "subnet": "x.x.0.0/24"
      },
      {
        "name": "tailscale0",
        "subnet": "x.x.22.121/32"
      }
    ]
  },
  "websockets": {
    "active_connections": 1
  }
}

Logs (sanitized): bambuddy.log


Submitted via BamBuddy Bug Report

Originally created by @maziggy on GitHub (Apr 30, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/1171 Originally assigned to: @maziggy on GitHub. Print started without confirming Clear Plate <details> <summary>System Information</summary> ```json { "generated_at": "2026-04-30T08:20:32.511416", "app": { "version": "0.2.3b3", "debug_mode": false }, "system": { "platform": "Linux", "platform_release": "6.8.0-106-generic", "platform_version": "#106-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 6 07:58:08 UTC 2026", "architecture": "x86_64", "python_version": "3.13.13" }, "environment": { "docker": true, "data_dir": "/app/data", "log_dir": "/app/logs", "timezone": "Europe/Berlin" }, "database": { "archives_total": 144, "archives_completed": 83, "printers_total": 3, "filaments_total": 0, "projects_total": 1, "smart_plugs_total": 0 }, "printers": [ { "index": 1, "model": "P1S", "nozzle_count": 1, "is_active": true, "mqtt_connected": true, "state": "FAILED", "firmware_version": "01.10.00.00", "wifi_signal": -58, "reachable": true, "ams_unit_count": 1, "ams_tray_count": 4, "has_vt_tray": true, "external_camera_configured": false, "plate_detection_enabled": false, "hms_error_count": 1, "developer_mode": true, "nozzle_rack_count": 0 }, { "index": 2, "model": "P1P", "nozzle_count": 1, "is_active": true, "mqtt_connected": true, "state": "FAILED", "firmware_version": "01.10.00.00", "wifi_signal": -44, "reachable": true, "ams_unit_count": 1, "ams_tray_count": 4, "has_vt_tray": true, "external_camera_configured": false, "plate_detection_enabled": false, "hms_error_count": 0, "developer_mode": true, "nozzle_rack_count": 0 }, { "index": 3, "model": "P1S", "nozzle_count": 1, "is_active": true, "mqtt_connected": true, "state": "FINISH", "firmware_version": "01.10.00.00", "wifi_signal": -43, "reachable": true, "ams_unit_count": 1, "ams_tray_count": 4, "has_vt_tray": true, "external_camera_configured": false, "plate_detection_enabled": false, "hms_error_count": 0, "developer_mode": true, "nozzle_rack_count": 0 } ], "settings": { "advanced_auth_enabled": "false", "smtp_auth_enabled": "true", "auth_enabled": "true", "setup_completed": "true", "auto_archive": "true", "save_thumbnails": "true", "capture_finish_photo": "true", "default_filament_cost": "25.0", "currency": "EUR", "energy_cost_per_kwh": "0.15", "energy_tracking_mode": "total", "disable_filament_warnings": "false", "check_updates": "true", "check_printer_firmware": "true", "include_beta_updates": "true", "notification_language": "en", "bed_cooled_threshold": "35.0", "ams_humidity_good": "40", "ams_humidity_fair": "60", "ams_temp_good": "28.0", "ams_temp_fair": "35.0", "ams_history_retention_days": "30", "queue_drying_enabled": "false", "queue_drying_block": "false", "ambient_drying_enabled": "false", "drying_presets": "", "per_printer_mapping_expanded": "true", "date_format": "system", "time_format": "system", "default_printer_id": "None", "ftp_retry_enabled": "true", "ftp_retry_count": "3", "ftp_retry_delay": "2", "ftp_timeout": "30", "mqtt_enabled": "false", "mqtt_broker": "", "mqtt_port": "1883", "mqtt_topic_prefix": "bambuddy", "mqtt_use_tls": "false", "ha_enabled": "false", "library_archive_mode": "ask", "library_disk_warning_gb": "5.0", "camera_view_mode": "embedded", "preferred_slicer": "bambu_studio", "prometheus_enabled": "false", "user_notifications_enabled": "true", "language": "en", "debug_logging_enabled": "false", "debug_logging_enabled_at": "", "prefer_lowest_filament": "false", "default_bed_levelling": "true", "default_flow_cali": "false", "default_vibration_cali": "true", "default_layer_inspect": "false", "default_timelapse": "false", "stagger_group_size": "2", "stagger_interval_minutes": "5", "require_plate_clear": "true" }, "docker": { "container_memory_limit_bytes": null, "container_memory_limit_formatted": null, "network_mode_hint": "host" }, "virtual_printers": [], "integrations": { "notification_providers": [], "spoolman": { "enabled": false, "reachable": false }, "mqtt_relay": { "enabled": false, "connected": false, "broker": "", "port": 0, "topic_prefix": "bambuddy" }, "homeassistant": { "enabled": false } }, "database_health": { "backend": "sqlite", "journal_mode": "wal", "quick_check": "ok", "db_size_bytes": 2699264, "wal_size_bytes": 4152992 }, "dependencies": { "fastapi": "0.135.3", "uvicorn": "0.44.0", "pydantic": "2.12.5", "sqlalchemy": "2.0.49", "paho-mqtt": "2.1.0", "psutil": "7.2.2", "httpx": "0.28.1", "aiofiles": "25.1.0", "cryptography": "46.0.7", "opencv-python-headless": "4.13.0.92", "numpy": "2.4.4" }, "log_file": { "size_bytes": 3066162, "size_formatted": "2.9 MB" }, "network": { "interface_count": 2, "interfaces": [ { "name": "eno1", "subnet": "x.x.0.0/24" }, { "name": "tailscale0", "subnet": "x.x.22.121/32" } ] }, "websockets": { "active_connections": 1 } } ``` </details> **Logs (sanitized):** [bambuddy.log](https://raw.githubusercontent.com/maziggy/bambuddy/bug-report-assets/logs/f56608a8d8694bcbbb91e688f1a991e3.log) --- *Submitted via BamBuddy Bug Report*
BreizhHardware 2026-05-06 12:33:23 +02:00
Author
Owner

@tom5677 commented on GitHub (Apr 30, 2026):

Dear Bambuddy team,

in general everything is working fine and Bambuddy is really very useful for my project.

here are some details about the issue:

Today in the morning I was realizing, that the next print in the queue was started without confirming "Clear Plate & Start Next" in the Printer tab.
This caused a fail of two prints and possible damages to the printer. It happened with my P1P and one P1S.
After stopping the print (directly on the printer), now the "Clear Plate" message is showing up for the next print. So this looks OK.
Interstingly the other P1S (2_P1S) is showing the "Clear Plate" message and did not start the next print.

What's the reson(s) for this and how can I avoid it in the future?

Thanks,Tom

<!-- gh-comment-id:4350166284 --> @tom5677 commented on GitHub (Apr 30, 2026): Dear Bambuddy team, in general everything is working fine and Bambuddy is really very useful for my project. here are some details about the issue: Today in the morning I was realizing, that the next print in the queue was started without confirming "Clear Plate & Start Next" in the Printer tab. This caused a fail of two prints and possible damages to the printer. It happened with my P1P and one P1S. After stopping the print (directly on the printer), now the "Clear Plate" message is showing up for the next print. So this looks OK. Interstingly the other P1S (2_P1S) is showing the "Clear Plate" message and did not start the next print. What's the reson(s) for this and how can I avoid it in the future? Thanks,Tom
Author
Owner

@maziggy commented on GitHub (Apr 30, 2026):

Please upload a support package -> https://wiki.bambuddy.cool/features/system-info/?h=debug#enable-debug-logging

<!-- gh-comment-id:4351203626 --> @maziggy commented on GitHub (Apr 30, 2026): Please upload a support package -> https://wiki.bambuddy.cool/features/system-info/?h=debug#enable-debug-logging
Author
Owner

@tom5677 commented on GitHub (Apr 30, 2026):

bambuddy-support-20260430-175833.zip

<!-- gh-comment-id:4354026278 --> @tom5677 commented on GitHub (Apr 30, 2026): [bambuddy-support-20260430-175833.zip](https://github.com/user-attachments/files/27250018/bambuddy-support-20260430-175833.zip)
Author
Owner

@maziggy commented on GitHub (May 1, 2026):

Thanks for the support bundle and the careful description — both were enough to find the root cause precisely.

What happened: when a print ends with status aborted (which is what gets reported when you stop a print from the printer's own touchscreen) or cancelled (when stopped from the Bambuddy queue UI), Bambuddy's "Clear Plate" gate that's supposed to block the next queued print was not being raised. Only prints that ended as completed or failed raised it. So the queue scheduler saw your P1P/P1S as available and started the next item about two seconds after the abort — exactly what your log shows:

09:07:33  Print on printer 2 ended with status 'aborted'
09:07:35  Starting queue item 106
09:07:35  Queue item 106: FTP upload starting

Your second P1S behaved correctly because its previous print had ended completed, which did raise the gate — that asymmetry you noticed is the bug exactly.

Fix: the gate now fires for all four terminal statuses (completed / failed / aborted / cancelled), matching the safety
contract you'd reasonably expect.

Sorry about the close call with your printers — this one should never have gotten past the gate that was put in specifically to prevent it.

Available/Fixed in branch dev and available with the next release or daily build. Please let me know if it works for you.


If you find Bambuddy useful, please consider giving it a on GitHub — it helps others discover the project!

<!-- gh-comment-id:4358115846 --> @maziggy commented on GitHub (May 1, 2026): Thanks for the support bundle and the careful description — both were enough to find the root cause precisely. What happened: when a print ends with status `aborted` (which is what gets reported when you stop a print from the printer's own touchscreen) or `cancelled` (when stopped from the Bambuddy queue UI), Bambuddy's "Clear Plate" gate that's supposed to block the next queued print was not being raised. Only prints that ended as `completed` or `failed` raised it. So the queue scheduler saw your P1P/P1S as available and started the next item about two seconds after the abort — exactly what your log shows: 09:07:33 Print on printer 2 ended with status 'aborted' 09:07:35 Starting queue item 106 09:07:35 Queue item 106: FTP upload starting Your second P1S behaved correctly because its previous print had ended `completed`, which did raise the gate — that asymmetry you noticed is the bug exactly. Fix: the gate now fires for all four terminal statuses (completed / failed / aborted / cancelled), matching the safety contract you'd reasonably expect. Sorry about the close call with your printers — this one should never have gotten past the gate that was put in specifically to prevent it. Available/Fixed in branch dev and available with the next release or daily build. Please let me know if it works for you. ----- If you find Bambuddy useful, please consider giving it a ⭐ on [GitHub](https://github.com/maziggy/bambuddy) — it helps others discover the project!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#849
No description provided.