[GH-ISSUE #1197] [Bug Report] gcode.3mf file modified/currupted #868

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

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

Originally assigned to: @maziggy on GitHub.

gcode.3mf file modified/currupted

System Information
{
  "generated_at": "2026-05-02T21:26:20.007248",
  "app": {
    "version": "0.2.4b2",
    "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": 170,
    "archives_completed": 98,
    "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": "FINISH",
      "firmware_version": "01.10.00.00",
      "wifi_signal": -46,
      "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": "RUNNING",
      "firmware_version": "01.10.00.00",
      "wifi_signal": -42,
      "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": "RUNNING",
      "firmware_version": "01.10.00.00",
      "wifi_signal": -39,
      "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_username": "",
    "mqtt_password": "",
    "mqtt_topic_prefix": "bambuddy",
    "mqtt_use_tls": "false",
    "external_url": "[REDACTED]",
    "ha_enabled": "false",
    "ha_url": "",
    "ha_token": "",
    "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",
    "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"
    },
    "spoolbuddy": {
      "device_count": 0,
      "online_count": 0,
      "devices": []
    },
    "homeassistant": {
      "enabled": false
    }
  },
  "database_health": {
    "backend": "sqlite",
    "journal_mode": "wal",
    "quick_check": "ok",
    "db_size_bytes": 3194880,
    "wal_size_bytes": 4157112
  },
  "dependencies": {
    "fastapi": "0.136.1",
    "uvicorn": "0.46.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": "47.0.0",
    "opencv-python-headless": "4.13.0.92",
    "numpy": "2.4.4"
  },
  "log_file": {
    "size_bytes": 3425847,
    "size_formatted": "3.3 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 (May 2, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/1197 Originally assigned to: @maziggy on GitHub. gcode.3mf file modified/currupted <details> <summary>System Information</summary> ```json { "generated_at": "2026-05-02T21:26:20.007248", "app": { "version": "0.2.4b2", "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": 170, "archives_completed": 98, "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": "FINISH", "firmware_version": "01.10.00.00", "wifi_signal": -46, "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": "RUNNING", "firmware_version": "01.10.00.00", "wifi_signal": -42, "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": "RUNNING", "firmware_version": "01.10.00.00", "wifi_signal": -39, "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_username": "", "mqtt_password": "", "mqtt_topic_prefix": "bambuddy", "mqtt_use_tls": "false", "external_url": "[REDACTED]", "ha_enabled": "false", "ha_url": "", "ha_token": "", "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", "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" }, "spoolbuddy": { "device_count": 0, "online_count": 0, "devices": [] }, "homeassistant": { "enabled": false } }, "database_health": { "backend": "sqlite", "journal_mode": "wal", "quick_check": "ok", "db_size_bytes": 3194880, "wal_size_bytes": 4157112 }, "dependencies": { "fastapi": "0.136.1", "uvicorn": "0.46.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": "47.0.0", "opencv-python-headless": "4.13.0.92", "numpy": "2.4.4" }, "log_file": { "size_bytes": 3425847, "size_formatted": "3.3 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/15e4111857794d818b9dc8f5e0835646.log) --- *Submitted via BamBuddy Bug Report*
BreizhHardware 2026-05-06 12:33:33 +02:00
Author
Owner

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

Another strange thing. I was scheduling a print (from gcode.3mf file with 3 plates; L020-0200_Flagge_Österreich_p1s_v3-11_v3-4_v3-4_v3-4.gcode.3mf) - one plate selected. It was in the queue. Then the thumbnail was broken. And the print moved to history/cancelled.
When I tried to re-schedule the print from the gcode.3mf file in the file manager, the SChedule Print modal does not show the plates anymore. when I delte the 3mf file and upload the file again, it shows the plates again.
Here's the support package.

bambuddy-support-20260502-212639.zip

Thx

<!-- gh-comment-id:4364563192 --> @tom5677 commented on GitHub (May 2, 2026): Another strange thing. I was scheduling a print (from gcode.3mf file with 3 plates; L020-0200_Flagge_Österreich_p1s_v3-11_v3-4_v3-4_v3-4.gcode.3mf) - one plate selected. It was in the queue. Then the thumbnail was broken. And the print moved to history/cancelled. When I tried to re-schedule the print from the gcode.3mf file in the file manager, the SChedule Print modal does not show the plates anymore. when I delte the 3mf file and upload the file again, it shows the plates again. Here's the support package. [bambuddy-support-20260502-212639.zip](https://github.com/user-attachments/files/27307480/bambuddy-support-20260502-212639.zip) Thx
Author
Owner

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

Your logs are full of network errors.

2026-05-01 05:04:11,149 WARNING [backend.app.services.bambu_ftp] FTP connection failed to [IP]: [Errno 113] No route to host (type: OSError)

There seems to be a network issue on your host running Bambuddy.

<!-- gh-comment-id:4365551091 --> @maziggy commented on GitHub (May 3, 2026): Your logs are full of network errors. > 2026-05-01 05:04:11,149 WARNING [backend.app.services.bambu_ftp] FTP connection failed to [IP]: [Errno 113] No route to host (type: OSError) There seems to be a network issue on your host running Bambuddy.
Author
Owner

@tom5677 commented on GitHub (May 5, 2026):

I've fixed the network issue. no FTP connection failed messages anymore. The issue with the missing plates still exist. For each entry with "1x" in "Prints" column in File Manager the plates are gone.

bambuddy-support-20260505-231956.zip
Before print:

Image Image

After print:

Image Image
<!-- gh-comment-id:4383294885 --> @tom5677 commented on GitHub (May 5, 2026): I've fixed the network issue. no FTP connection failed messages anymore. The issue with the missing plates still exist. For each entry with "1x" in "Prints" column in File Manager the plates are gone. [bambuddy-support-20260505-231956.zip](https://github.com/user-attachments/files/27416728/bambuddy-support-20260505-231956.zip) Before print: <img width="1190" height="573" alt="Image" src="https://github.com/user-attachments/assets/7ac98d20-9cf4-47e7-889c-21250425b2d9" /> <img width="943" height="841" alt="Image" src="https://github.com/user-attachments/assets/6d141734-cac5-45e6-a0bc-1716024cfa80" /> After print: <img width="1144" height="581" alt="Image" src="https://github.com/user-attachments/assets/3ef33c70-3eff-45e2-83b4-dae30b86dc52" /> <img width="998" height="725" alt="Image" src="https://github.com/user-attachments/assets/dd948eb6-6464-40bc-a291-68d0f48577ff" />
Author
Owner

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

This is already fixed and available 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:4385356035 --> @maziggy commented on GitHub (May 6, 2026): This is already fixed and available 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#868
No description provided.