1
0
Fork 0
mirror of https://github.com/maziggy/bambuddy.git synced 2026-05-09 08:25:54 +02:00

[GH-ISSUE #954] [Bug Report] Issues sending prints/possible connection issues: I am having lots of issues wit #662

Closed
opened 2026-05-07 00:12:31 +02:00 by BreizhHardware · 4 comments

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

Originally assigned to: @maziggy on GitHub.

Issues sending prints/possible connection issues:
I am having lots of issues with sending prints to my printer from the queue, I have had two main scenarios.
-Sometimes as soon as I send a print and click clear plate, the progress will go to 100% and sit there. I can cancel it and try to restart with no luck. Usually restarting the printer and docker container will fix this.
-Second issue, looking at the logs it appears I should be getting a "clear plate" option to start the print but it is not showing up and the print is stuck at "printing 0%". Unless I am mistaken, this should only go to "printing" after clear plate is clicked.
Other related symptoms I have:
-Intermittent connection issues to the printer with bambustudio when also using bambuddy.
-The manual controls for the light do nothing, but when using my panda touch it works, so there is connection to the printer on the network.
-I often get a failed to read/write error to sd card. I have had this before and have replaced the card multiple times, possibly just a coincidence, does not always show when my main connection issue is present.

Screenshot

Bug Report Screenshot

Reporter Contact

Email: esummers2313@gmail.com

System Information
{
  "generated_at": "2026-04-12T10:10:06.837554",
  "app": {
    "version": "0.2.2.2",
    "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.12"
  },
  "environment": {
    "docker": true,
    "data_dir": "/app/data",
    "log_dir": "/app/logs",
    "timezone": "America/Chicago"
  },
  "database": {
    "archives_total": 64,
    "archives_completed": 32,
    "printers_total": 1,
    "filaments_total": 10,
    "projects_total": 3,
    "smart_plugs_total": 0
  },
  "printers": [
    {
      "index": 1,
      "model": "P1S",
      "nozzle_count": 1,
      "is_active": true,
      "mqtt_connected": true,
      "state": "IDLE",
      "firmware_version": "01.09.01.00",
      "wifi_signal": -38,
      "reachable": true,
      "ams_unit_count": 1,
      "ams_tray_count": 3,
      "has_vt_tray": true,
      "external_camera_configured": false,
      "plate_detection_enabled": false,
      "hms_error_count": 0,
      "developer_mode": null,
      "nozzle_rack_count": 0
    }
  ],
  "settings": {
    "auth_enabled": "false",
    "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.15",
    "energy_tracking_mode": "total",
    "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",
    "per_printer_mapping_expanded": "false",
    "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": "true",
    "library_archive_mode": "ask",
    "library_disk_warning_gb": "5.0",
    "camera_view_mode": "window",
    "preferred_slicer": "bambu_studio",
    "prometheus_enabled": "false",
    "spoolman_enabled": "false",
    "spoolman_sync_mode": "auto",
    "spoolman_disable_weight_sync": "false",
    "spoolman_report_partial_usage": "true",
    "dark_accent": "green",
    "advanced_auth_enabled": "false",
    "smtp_auth_enabled": "true",
    "debug_logging_enabled": "false",
    "debug_logging_enabled_at": ""
  },
  "docker": {
    "container_memory_limit_bytes": null,
    "container_memory_limit_formatted": null,
    "network_mode_hint": "host"
  },
  "virtual_printers": [
    {
      "index": 1,
      "enabled": true,
      "mode": "print_queue",
      "model": "C12",
      "model_name": "P1S",
      "has_target_printer": true,
      "has_bind_ip": true,
      "running": false,
      "pending_files": 0
    }
  ],
  "integrations": {
    "notification_providers": [
      {
        "type": "homeassistant",
        "enabled": true,
        "has_last_error": true
      }
    ],
    "spoolman": {
      "enabled": false,
      "reachable": false
    },
    "mqtt_relay": {
      "enabled": false,
      "connected": false,
      "broker": "",
      "port": 0,
      "topic_prefix": "bambuddy"
    },
    "homeassistant": {
      "enabled": true
    }
  },
  "database_health": {
    "journal_mode": "wal",
    "quick_check": "ok",
    "db_size_bytes": 1548288,
    "wal_size_bytes": 4144752
  },
  "dependencies": {
    "fastapi": "0.135.2",
    "uvicorn": "0.42.0",
    "pydantic": "2.12.5",
    "sqlalchemy": "2.0.48",
    "paho-mqtt": "2.1.0",
    "psutil": "7.2.2",
    "httpx": "0.28.1",
    "aiofiles": "25.1.0",
    "cryptography": "46.0.6",
    "opencv-python-headless": "4.13.0.92",
    "numpy": "2.4.3"
  },
  "log_file": {
    "size_bytes": 3810119,
    "size_formatted": "3.6 MB"
  },
  "network": {
    "interface_count": 1,
    "interfaces": [
      {
        "name": "ens18",
        "subnet": "x.x.1.0/24"
      }
    ]
  },
  "websockets": {
    "active_connections": 1
  }
}

Logs (sanitized): bambuddy.log


Submitted via BamBuddy Bug Report

Originally created by @maziggy on GitHub (Apr 12, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/954 Originally assigned to: @maziggy on GitHub. Issues sending prints/possible connection issues: I am having lots of issues with sending prints to my printer from the queue, I have had two main scenarios. -Sometimes as soon as I send a print and click clear plate, the progress will go to 100% and sit there. I can cancel it and try to restart with no luck. Usually restarting the printer and docker container will fix this. -Second issue, looking at the logs it appears I should be getting a "clear plate" option to start the print but it is not showing up and the print is stuck at "printing 0%". Unless I am mistaken, this should only go to "printing" after clear plate is clicked. Other related symptoms I have: -Intermittent connection issues to the printer with bambustudio when also using bambuddy. -The manual controls for the light do nothing, but when using my panda touch it works, so there is connection to the printer on the network. -I often get a failed to read/write error to sd card. I have had this before and have replaced the card multiple times, possibly just a coincidence, does not always show when my main connection issue is present. ### Screenshot ![Bug Report Screenshot](https://raw.githubusercontent.com/maziggy/bambuddy/bug-report-assets/screenshots/151e99440ce34e009ee0c376cd6118f1.png) <details> <summary>Reporter Contact</summary> Email: esummers2313@gmail.com </details> <details> <summary>System Information</summary> ```json { "generated_at": "2026-04-12T10:10:06.837554", "app": { "version": "0.2.2.2", "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.12" }, "environment": { "docker": true, "data_dir": "/app/data", "log_dir": "/app/logs", "timezone": "America/Chicago" }, "database": { "archives_total": 64, "archives_completed": 32, "printers_total": 1, "filaments_total": 10, "projects_total": 3, "smart_plugs_total": 0 }, "printers": [ { "index": 1, "model": "P1S", "nozzle_count": 1, "is_active": true, "mqtt_connected": true, "state": "IDLE", "firmware_version": "01.09.01.00", "wifi_signal": -38, "reachable": true, "ams_unit_count": 1, "ams_tray_count": 3, "has_vt_tray": true, "external_camera_configured": false, "plate_detection_enabled": false, "hms_error_count": 0, "developer_mode": null, "nozzle_rack_count": 0 } ], "settings": { "auth_enabled": "false", "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.15", "energy_tracking_mode": "total", "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", "per_printer_mapping_expanded": "false", "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": "true", "library_archive_mode": "ask", "library_disk_warning_gb": "5.0", "camera_view_mode": "window", "preferred_slicer": "bambu_studio", "prometheus_enabled": "false", "spoolman_enabled": "false", "spoolman_sync_mode": "auto", "spoolman_disable_weight_sync": "false", "spoolman_report_partial_usage": "true", "dark_accent": "green", "advanced_auth_enabled": "false", "smtp_auth_enabled": "true", "debug_logging_enabled": "false", "debug_logging_enabled_at": "" }, "docker": { "container_memory_limit_bytes": null, "container_memory_limit_formatted": null, "network_mode_hint": "host" }, "virtual_printers": [ { "index": 1, "enabled": true, "mode": "print_queue", "model": "C12", "model_name": "P1S", "has_target_printer": true, "has_bind_ip": true, "running": false, "pending_files": 0 } ], "integrations": { "notification_providers": [ { "type": "homeassistant", "enabled": true, "has_last_error": true } ], "spoolman": { "enabled": false, "reachable": false }, "mqtt_relay": { "enabled": false, "connected": false, "broker": "", "port": 0, "topic_prefix": "bambuddy" }, "homeassistant": { "enabled": true } }, "database_health": { "journal_mode": "wal", "quick_check": "ok", "db_size_bytes": 1548288, "wal_size_bytes": 4144752 }, "dependencies": { "fastapi": "0.135.2", "uvicorn": "0.42.0", "pydantic": "2.12.5", "sqlalchemy": "2.0.48", "paho-mqtt": "2.1.0", "psutil": "7.2.2", "httpx": "0.28.1", "aiofiles": "25.1.0", "cryptography": "46.0.6", "opencv-python-headless": "4.13.0.92", "numpy": "2.4.3" }, "log_file": { "size_bytes": 3810119, "size_formatted": "3.6 MB" }, "network": { "interface_count": 1, "interfaces": [ { "name": "ens18", "subnet": "x.x.1.0/24" } ] }, "websockets": { "active_connections": 1 } } ``` </details> **Logs (sanitized):** [bambuddy.log](https://raw.githubusercontent.com/maziggy/bambuddy/bug-report-assets/logs/06c5d84df69c4e338d73887144326809.log) --- *Submitted via BamBuddy Bug Report*
BreizhHardware 2026-05-07 00:12:31 +02:00
Author
Owner

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

Please update to latest beta version 0.2.3b3. It has some possibly related fixes. After that please let me know if your your issues are fixed or not.

<!-- gh-comment-id:4231822698 --> @maziggy commented on GitHub (Apr 12, 2026): Please update to latest beta version 0.2.3b3. It has some possibly related fixes. After that please let me know if your your issues are fixed or not.
Author
Owner

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

I've (still) the same/similar issue. I'm on v0.2.3.b3. Docker on Linux/Ubuntu. Send file (.gcode.3mf; 3 plates; 1 selected) to queue. "Clear plate & start next" shows up for the printer. click on it. seems like it starts printing, but nothing happened. Then it shows up in Queue under "Currently printing" with 100%. Printer is doing nothing. How can I help you to fix this? And what would be a workaround? Thanks

<!-- gh-comment-id:4263434156 --> @tom5677 commented on GitHub (Apr 16, 2026): I've (still) the same/similar issue. I'm on v0.2.3.b3. Docker on Linux/Ubuntu. Send file (.gcode.3mf; 3 plates; 1 selected) to queue. "Clear plate & start next" shows up for the printer. click on it. seems like it starts printing, but nothing happened. Then it shows up in Queue under "Currently printing" with 100%. Printer is doing nothing. How can I help you to fix this? And what would be a workaround? Thanks
Author
Owner

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

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

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

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

Almost certainly hitting the task_id int32 overflow — project_file command gets accepted (result: success) but the printer treats every dispatch as a continuation of the prior task because your task_id is "0" (v0.2.2.2) or a 13-digit epoch-millisecond number that firmware clamps to 2147483647 (v0.2.3). See #1042 for the full root-cause analysis. Fix merged in d0f35e5d on the dev branch (caps task_id at 2**31 - 1).

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


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

<!-- gh-comment-id:4278538878 --> @maziggy commented on GitHub (Apr 20, 2026): Almost certainly hitting the task_id int32 overflow — project_file command gets accepted (result: success) but the printer treats every dispatch as a continuation of the prior task because your task_id is "0" (v0.2.2.2) or a 13-digit epoch-millisecond number that firmware clamps to 2147483647 (v0.2.3). See #1042 for the full root-cause analysis. Fix merged in d0f35e5d on the dev branch (caps task_id at 2**31 - 1). Available/Fixed in branch dev and available with the next release or daily build. Please let me know if it works for you now. ----- 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-maziggy-1#662
No description provided.