[GH-ISSUE #1190] [Bug Report] After i put one time file in queue, it starts this print every time when i turn #860

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

Originally created by @maziggy on GitHub (May 2, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/1190

Originally assigned to: @maziggy on GitHub.

After i put one time file in queue, it starts this print every time when i turn on the printer, i already deleted it from que, deleted files from backup folder on the printer, but it's still trying to start the print every time i turn on printer.

Reporter Contact

Email:

System Information
{
  "generated_at": "2026-05-02T11:17:38.586720",
  "app": {
    "version": "0.2.3.2",
    "debug_mode": false
  },
  "system": {
    "platform": "Linux",
    "platform_release": "6.6.87.2-microsoft-standard-WSL2",
    "platform_version": "#1 SMP PREEMPT_DYNAMIC Thu Jun  5 18:30:46 UTC 2025",
    "architecture": "x86_64",
    "python_version": "3.13.13"
  },
  "environment": {
    "docker": true,
    "data_dir": "/app/data",
    "log_dir": "/app/logs",
    "timezone": "Asia/Tashkent"
  },
  "database": {
    "archives_total": 47,
    "archives_completed": 34,
    "printers_total": 2,
    "filaments_total": 0,
    "projects_total": 0,
    "smart_plugs_total": 2
  },
  "printers": [
    {
      "index": 1,
      "model": "H2D",
      "nozzle_count": 2,
      "is_active": true,
      "mqtt_connected": false,
      "state": "IDLE",
      "firmware_version": "01.03.00.00",
      "wifi_signal": -55,
      "reachable": false,
      "ams_unit_count": 1,
      "ams_tray_count": 1,
      "has_vt_tray": true,
      "external_camera_configured": false,
      "plate_detection_enabled": true,
      "hms_error_count": 0,
      "developer_mode": true,
      "nozzle_rack_count": 2
    },
    {
      "index": 2,
      "model": "A1",
      "nozzle_count": 1,
      "is_active": true,
      "mqtt_connected": true,
      "state": "IDLE",
      "firmware_version": "01.07.02.00",
      "wifi_signal": -48,
      "reachable": true,
      "ams_unit_count": 1,
      "ams_tray_count": 2,
      "has_vt_tray": true,
      "external_camera_configured": false,
      "plate_detection_enabled": false,
      "hms_error_count": 2,
      "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": "USD",
    "energy_cost_per_kwh": "0.08",
    "energy_tracking_mode": "total",
    "disable_filament_warnings": "false",
    "prefer_lowest_filament": "false",
    "check_updates": "true",
    "check_printer_firmware": "true",
    "include_beta_updates": "false",
    "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": "true",
    "queue_drying_block": "false",
    "ambient_drying_enabled": "true",
    "drying_presets": "",
    "per_printer_mapping_expanded": "false",
    "date_format": "eu",
    "time_format": "24h",
    "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_username": "",
    "mqtt_password": "",
    "mqtt_topic_prefix": "bambuddy",
    "mqtt_use_tls": "false",
    "external_url": "[REDACTED]",
    "ha_enabled": "true",
    "ha_url": "[REDACTED]",
    "ha_token": "[REDACTED]",
    "library_archive_mode": "ask",
    "library_disk_warning_gb": "5.0",
    "camera_view_mode": "embedded",
    "preferred_slicer": "bambu_studio",
    "prometheus_enabled": "false",
    "prometheus_token": "",
    "user_notifications_enabled": "true",
    "default_bed_levelling": "true",
    "default_flow_cali": "true",
    "default_vibration_cali": "true",
    "default_layer_inspect": "true",
    "default_timelapse": "true",
    "stagger_group_size": "2",
    "stagger_interval_minutes": "5",
    "require_plate_clear": "false",
    "dark_style": "classic",
    "dark_accent": "teal",
    "dark_background": "slate",
    "queue_shortest_first": "false",
    "debug_logging_enabled": "false",
    "debug_logging_enabled_at": ""
  },
  "docker": {
    "container_memory_limit_bytes": null,
    "container_memory_limit_formatted": null,
    "network_mode_hint": "bridge"
  },
  "virtual_printers": [],
  "integrations": {
    "notification_providers": [
      {
        "type": "homeassistant",
        "enabled": true,
        "has_last_error": false
      }
    ],
    "spoolman": {
      "enabled": false,
      "reachable": false
    },
    "mqtt_relay": {
      "enabled": false,
      "connected": false,
      "broker": "",
      "port": 0,
      "topic_prefix": "bambuddy"
    },
    "spoolbuddy": {
      "device_count": 0,
      "online_count": 0,
      "devices": []
    },
    "homeassistant": {
      "enabled": true
    }
  },
  "database_health": {
    "backend": "sqlite",
    "journal_mode": "wal",
    "quick_check": "ok",
    "db_size_bytes": 1110016,
    "wal_size_bytes": 4223032
  },
  "dependencies": {
    "fastapi": "0.136.0",
    "uvicorn": "0.45.0",
    "pydantic": "2.13.3",
    "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": 2349024,
    "size_formatted": "2.2 MB"
  },
  "network": {
    "interface_count": 1,
    "interfaces": [
      {
        "name": "eth0",
        "subnet": "x.x.0.0/16"
      }
    ]
  },
  "websockets": {
    "active_connections": 1
  }
}

Logs (sanitized): bambuddy.log


Submitted via BamBuddy Bug Report

Originally created by @maziggy on GitHub (May 2, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/1190 Originally assigned to: @maziggy on GitHub. After i put one time file in queue, it starts this print every time when i turn on the printer, i already deleted it from que, deleted files from backup folder on the printer, but it's still trying to start the print every time i turn on printer. <details> <summary>Reporter Contact</summary> Email: </details> <details> <summary>System Information</summary> ```json { "generated_at": "2026-05-02T11:17:38.586720", "app": { "version": "0.2.3.2", "debug_mode": false }, "system": { "platform": "Linux", "platform_release": "6.6.87.2-microsoft-standard-WSL2", "platform_version": "#1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025", "architecture": "x86_64", "python_version": "3.13.13" }, "environment": { "docker": true, "data_dir": "/app/data", "log_dir": "/app/logs", "timezone": "Asia/Tashkent" }, "database": { "archives_total": 47, "archives_completed": 34, "printers_total": 2, "filaments_total": 0, "projects_total": 0, "smart_plugs_total": 2 }, "printers": [ { "index": 1, "model": "H2D", "nozzle_count": 2, "is_active": true, "mqtt_connected": false, "state": "IDLE", "firmware_version": "01.03.00.00", "wifi_signal": -55, "reachable": false, "ams_unit_count": 1, "ams_tray_count": 1, "has_vt_tray": true, "external_camera_configured": false, "plate_detection_enabled": true, "hms_error_count": 0, "developer_mode": true, "nozzle_rack_count": 2 }, { "index": 2, "model": "A1", "nozzle_count": 1, "is_active": true, "mqtt_connected": true, "state": "IDLE", "firmware_version": "01.07.02.00", "wifi_signal": -48, "reachable": true, "ams_unit_count": 1, "ams_tray_count": 2, "has_vt_tray": true, "external_camera_configured": false, "plate_detection_enabled": false, "hms_error_count": 2, "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": "USD", "energy_cost_per_kwh": "0.08", "energy_tracking_mode": "total", "disable_filament_warnings": "false", "prefer_lowest_filament": "false", "check_updates": "true", "check_printer_firmware": "true", "include_beta_updates": "false", "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": "true", "queue_drying_block": "false", "ambient_drying_enabled": "true", "drying_presets": "", "per_printer_mapping_expanded": "false", "date_format": "eu", "time_format": "24h", "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_username": "", "mqtt_password": "", "mqtt_topic_prefix": "bambuddy", "mqtt_use_tls": "false", "external_url": "[REDACTED]", "ha_enabled": "true", "ha_url": "[REDACTED]", "ha_token": "[REDACTED]", "library_archive_mode": "ask", "library_disk_warning_gb": "5.0", "camera_view_mode": "embedded", "preferred_slicer": "bambu_studio", "prometheus_enabled": "false", "prometheus_token": "", "user_notifications_enabled": "true", "default_bed_levelling": "true", "default_flow_cali": "true", "default_vibration_cali": "true", "default_layer_inspect": "true", "default_timelapse": "true", "stagger_group_size": "2", "stagger_interval_minutes": "5", "require_plate_clear": "false", "dark_style": "classic", "dark_accent": "teal", "dark_background": "slate", "queue_shortest_first": "false", "debug_logging_enabled": "false", "debug_logging_enabled_at": "" }, "docker": { "container_memory_limit_bytes": null, "container_memory_limit_formatted": null, "network_mode_hint": "bridge" }, "virtual_printers": [], "integrations": { "notification_providers": [ { "type": "homeassistant", "enabled": true, "has_last_error": false } ], "spoolman": { "enabled": false, "reachable": false }, "mqtt_relay": { "enabled": false, "connected": false, "broker": "", "port": 0, "topic_prefix": "bambuddy" }, "spoolbuddy": { "device_count": 0, "online_count": 0, "devices": [] }, "homeassistant": { "enabled": true } }, "database_health": { "backend": "sqlite", "journal_mode": "wal", "quick_check": "ok", "db_size_bytes": 1110016, "wal_size_bytes": 4223032 }, "dependencies": { "fastapi": "0.136.0", "uvicorn": "0.45.0", "pydantic": "2.13.3", "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": 2349024, "size_formatted": "2.2 MB" }, "network": { "interface_count": 1, "interfaces": [ { "name": "eth0", "subnet": "x.x.0.0/16" } ] }, "websockets": { "active_connections": 1 } } ``` </details> **Logs (sanitized):** [bambuddy.log](https://raw.githubusercontent.com/maziggy/bambuddy/bug-report-assets/logs/0aa2c289bf224d9b8d6afb1fd32f10e0.log) --- *Submitted via BamBuddy Bug Report*
BreizhHardware 2026-05-06 12:33:29 +02:00
Author
Owner

@froust-company commented on GitHub (May 2, 2026):

I don't know how how to generate support files from the bambuddy, can't find system information section but i will add some info to the comments.

Steps to Reproduce:
So nothing superordinary i just uploaded sliced 3mf file to the bambuddy and put it to schedule to start print after previous print will be finished, but i think this is where issue started, i checked this checkbox "Only start if previous print succeeded" but after previous print ended queued print didn't start, so i deleted this schedule and added print to the schedule again with unchecked checkbox and only after that it send it to print. And after this print ended it now tries to start this print every time i turn it on.

Printer: A1

Bambuddy Version: v0.2.3.2

Printer Firmware Version: 01.07.02.00

Installation Method: Docker

OS: Windows

You can see in log where it sends file to print:

2026-05-02 11:17:06,848 DEBUG [backend.app.services.bambu_mqtt] [[SERIAL]] gcode_state: IDLE -> IDLE, file: @SolomonHaki_A1v2.3mf, subtask: _SolomonHaki_A1v2

<!-- gh-comment-id:4363144349 --> @froust-company commented on GitHub (May 2, 2026): I don't know how how to generate support files from the bambuddy, can't find system information section but i will add some info to the comments. Steps to Reproduce: So nothing superordinary i just uploaded sliced 3mf file to the bambuddy and put it to schedule to start print after previous print will be finished, but i think this is where issue started, i checked this checkbox "Only start if previous print succeeded" but after previous print ended queued print didn't start, so i deleted this schedule and added print to the schedule again with unchecked checkbox and only after that it send it to print. And after this print ended it now tries to start this print every time i turn it on. Printer: A1 Bambuddy Version: v0.2.3.2 Printer Firmware Version: 01.07.02.00 Installation Method: Docker OS: Windows You can see in log where it sends file to print: `2026-05-02 11:17:06,848 DEBUG [backend.app.services.bambu_mqtt] [[SERIAL]] gcode_state: IDLE -> IDLE, file: @SolomonHaki_A1v2.3mf, subtask: _SolomonHaki_A1v2 `
Author
Owner

@froust-company commented on GitHub (May 2, 2026):

@maziggy I'm sorry, but could you please hide or remove my email, i didn't know this will be public

<!-- gh-comment-id:4363161162 --> @froust-company commented on GitHub (May 2, 2026): @maziggy I'm sorry, but could you please hide or remove my email, i didn't know this will be public
Author
Owner

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

@maziggy I'm sorry, but could you please hide or remove my email, i didn't know this will be public

The bubble text exactly describes what's happening.

<!-- gh-comment-id:4363192139 --> @maziggy commented on GitHub (May 2, 2026): > [@maziggy](https://github.com/maziggy) I'm sorry, but could you please hide or remove my email, i didn't know this will be public The bubble text exactly describes what's happening.
Author
Owner

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

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

You find the system page at the bottom of the sidebar.

  1. enable debug logging
  2. reproduce the problem
  3. upload support-package
<!-- gh-comment-id:4363195545 --> @maziggy commented on GitHub (May 2, 2026): Please upload a support package -> https://wiki.bambuddy.cool/features/system-info/?h=debug#enable-debug-logging You find the system page at the bottom of the sidebar. 1. enable debug logging 2. reproduce the problem 3. upload support-package
Author
Owner

@froust-company commented on GitHub (May 2, 2026):

bambuddy-support-20260502-115418.zip

The gcode is "@SolomonHaki....3mf"

Thanks for patience and fast response man

<!-- gh-comment-id:4363248530 --> @froust-company commented on GitHub (May 2, 2026): [bambuddy-support-20260502-115418.zip](https://github.com/user-attachments/files/27298481/bambuddy-support-20260502-115418.zip) The gcode is "@SolomonHaki....3mf" Thanks for patience and fast response man
Author
Owner

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

"network_mode_hint": "bridge"

First of all I would strongly suggest to use Netwrk mode host - as per the docs!

<!-- gh-comment-id:4363339369 --> @maziggy commented on GitHub (May 2, 2026): > "network_mode_hint": "bridge" First of all I would strongly suggest to use Netwrk mode host - as per the docs!
Author
Owner

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

2026-04-21 21:40:45,963 ERROR [backend.app.services.virtual_printer.manager] Cannot create directory /app/data/virtual_printer/uploads: Permission denied. For Docker: ensure the data volume is writable by the container user. For bare metal: run 'sudo chown -R $(whoami) /app/data/virtual_printer'

<!-- gh-comment-id:4363340772 --> @maziggy commented on GitHub (May 2, 2026): >2026-04-21 21:40:45,963 ERROR [backend.app.services.virtual_printer.manager] Cannot create directory /app/data/virtual_printer/uploads: Permission denied. For Docker: ensure the data volume is writable by the container user. For bare metal: run 'sudo chown -R $(whoami) /app/data/virtual_printer'
Author
Owner

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

I added a troubleshooting note for this exact pattern so other users hit it too: Printer Looks Like It's Trying to Re-Start the Last Print After Power-On.

Short version of why this isn't Bambuddy: your Bambu firmware keeps the last gcode_file / subtask_name in its MQTT status payload forever after a print finishes — those fields are still there on every power-on, even when idle. The touchscreen displays them too. Bambuddy only acts on a real state transition (IDLE → PREPARE/RUNNING), and your log doesn't show one for SolomonHaki after you deleted the queue item on 2026-04-28.

The thing your log does show on every power-on is 0500_C010 — the Bambu HMS code for MicroSD card read/write exception. That's almost certainly what's keeping the touchscreen in a "last print is staged" state.

Try this in order — most cases get fixed at step 1 or 2:

  1. Reseat the card. Power off, pop the MicroSD out, blow the slot, reinsert firmly. Power on.
  2. Format the card. FAT32, on a PC. The stock Bambu cards in particular fail like this.
  3. Swap to a fresh Class 10 / SDHC card.
  4. If 0500_C010 still appears after all three: contact Bambu Lab Support (bambulab.com/support → My Devices → A1 → Open Ticket). At that point it's the SD slot / mainboard or firmware corruption — not something a user can fix. Give them the HMS code, your printer serial, and a short video of the boot screen.
<!-- gh-comment-id:4363357293 --> @maziggy commented on GitHub (May 2, 2026): I added a troubleshooting note for this exact pattern so other users hit it too: Printer Looks Like It's Trying to Re-Start the Last Print After Power-On. Short version of why this isn't Bambuddy: your Bambu firmware keeps the last gcode_file / subtask_name in its MQTT status payload forever after a print finishes — those fields are still there on every power-on, even when idle. The touchscreen displays them too. Bambuddy only acts on a real state transition (IDLE → PREPARE/RUNNING), and your log doesn't show one for SolomonHaki after you deleted the queue item on 2026-04-28. The thing your log does show on every power-on is 0500_C010 — the Bambu HMS code for MicroSD card read/write exception. That's almost certainly what's keeping the touchscreen in a "last print is staged" state. Try this in order — most cases get fixed at step 1 or 2: 1. Reseat the card. Power off, pop the MicroSD out, blow the slot, reinsert firmly. Power on. 2. Format the card. FAT32, on a PC. The stock Bambu cards in particular fail like this. 3. Swap to a fresh Class 10 / SDHC card. 4. If 0500_C010 still appears after all three: contact Bambu Lab Support (bambulab.com/support → My Devices → A1 → Open Ticket). At that point it's the SD slot / mainboard or firmware corruption — not something a user can fix. Give them the HMS code, your printer serial, and a short video of the boot screen.
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#860
No description provided.