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

[GH-ISSUE #739] [Bug Report] do not see quantity of the filament to be reduced by failed/canceled prints #495

Closed
opened 2026-05-07 00:10:53 +02:00 by BreizhHardware · 5 comments

Originally created by @maziggy on GitHub (Mar 17, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/739

Originally assigned to: @maziggy on GitHub.

do not see quantity of the filament to be reduced by failed/canceled prints

System Information
{
  "generated_at": "2026-03-17T17:46:21.214538",
  "app": {
    "version": "0.2.2",
    "debug_mode": false
  },
  "system": {
    "platform": "Linux",
    "platform_release": "6.8.12-17-pve",
    "platform_version": "#1 SMP PREEMPT_DYNAMIC PMX 6.8.12-17 (2025-11-21T11:16Z)",
    "architecture": "x86_64",
    "python_version": "3.13.12"
  },
  "environment": {
    "docker": true,
    "data_dir": "/app/data",
    "log_dir": "/app/logs",
    "timezone": "Europe/Sofia"
  },
  "database": {
    "archives_total": 23,
    "archives_completed": 22,
    "printers_total": 1,
    "filaments_total": 0,
    "projects_total": 0,
    "smart_plugs_total": 0
  },
  "printers": [
    {
      "index": 1,
      "model": "P1S",
      "nozzle_count": 1,
      "is_active": true,
      "mqtt_connected": true,
      "state": "RUNNING",
      "firmware_version": "01.09.01.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": null,
      "nozzle_rack_count": 0
    }
  ],
  "settings": {
    "auth_enabled": "true",
    "setup_completed": "true",
    "auto_archive": "true",
    "save_thumbnails": "true",
    "capture_finish_photo": "true",
    "default_filament_cost": "2.0",
    "currency": "EUR",
    "energy_cost_per_kwh": "0.12",
    "energy_tracking_mode": "total",
    "check_updates": "true",
    "check_printer_firmware": "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",
    "per_printer_mapping_expanded": "false",
    "date_format": "eu",
    "time_format": "24h",
    "default_printer_id": "1",
    "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": "window",
    "preferred_slicer": "bambu_studio",
    "prometheus_enabled": "false",
    "virtual_printer_enabled": "true",
    "virtual_printer_mode": "proxy",
    "virtual_printer_model": "C12",
    "virtual_printer_target_printer_id": "1",
    "virtual_printer_remote_interface_ip": "192.168.9.199",
    "include_beta_updates": "false"
  },
  "docker": {
    "container_memory_limit_bytes": null,
    "container_memory_limit_formatted": null,
    "network_mode_hint": "host"
  },
  "virtual_printers": [
    {
      "index": 1,
      "enabled": true,
      "mode": "proxy",
      "model": "C12",
      "model_name": "P1S",
      "has_target_printer": true,
      "has_bind_ip": false,
      "running": true,
      "pending_files": 0
    }
  ],
  "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": {
    "journal_mode": "wal",
    "quick_check": "ok",
    "db_size_bytes": 1081344,
    "wal_size_bytes": 4140632
  },
  "dependencies": {
    "fastapi": "0.135.1",
    "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.5",
    "opencv-python-headless": "4.13.0.92",
    "numpy": "2.4.3"
  },
  "log_file": {
    "size_bytes": 405742,
    "size_formatted": "396.2 KB"
  },
  "network": {
    "interface_count": 1,
    "interfaces": [
      {
        "name": "eth0",
        "subnet": "x.x.9.0/24"
      }
    ]
  },
  "websockets": {
    "active_connections": 1
  }
}

Logs (sanitized): bambuddy.log


Submitted via BamBuddy Bug Report

Originally created by @maziggy on GitHub (Mar 17, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/739 Originally assigned to: @maziggy on GitHub. do not see quantity of the filament to be reduced by failed/canceled prints <details> <summary>System Information</summary> ```json { "generated_at": "2026-03-17T17:46:21.214538", "app": { "version": "0.2.2", "debug_mode": false }, "system": { "platform": "Linux", "platform_release": "6.8.12-17-pve", "platform_version": "#1 SMP PREEMPT_DYNAMIC PMX 6.8.12-17 (2025-11-21T11:16Z)", "architecture": "x86_64", "python_version": "3.13.12" }, "environment": { "docker": true, "data_dir": "/app/data", "log_dir": "/app/logs", "timezone": "Europe/Sofia" }, "database": { "archives_total": 23, "archives_completed": 22, "printers_total": 1, "filaments_total": 0, "projects_total": 0, "smart_plugs_total": 0 }, "printers": [ { "index": 1, "model": "P1S", "nozzle_count": 1, "is_active": true, "mqtt_connected": true, "state": "RUNNING", "firmware_version": "01.09.01.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": null, "nozzle_rack_count": 0 } ], "settings": { "auth_enabled": "true", "setup_completed": "true", "auto_archive": "true", "save_thumbnails": "true", "capture_finish_photo": "true", "default_filament_cost": "2.0", "currency": "EUR", "energy_cost_per_kwh": "0.12", "energy_tracking_mode": "total", "check_updates": "true", "check_printer_firmware": "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", "per_printer_mapping_expanded": "false", "date_format": "eu", "time_format": "24h", "default_printer_id": "1", "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": "window", "preferred_slicer": "bambu_studio", "prometheus_enabled": "false", "virtual_printer_enabled": "true", "virtual_printer_mode": "proxy", "virtual_printer_model": "C12", "virtual_printer_target_printer_id": "1", "virtual_printer_remote_interface_ip": "192.168.9.199", "include_beta_updates": "false" }, "docker": { "container_memory_limit_bytes": null, "container_memory_limit_formatted": null, "network_mode_hint": "host" }, "virtual_printers": [ { "index": 1, "enabled": true, "mode": "proxy", "model": "C12", "model_name": "P1S", "has_target_printer": true, "has_bind_ip": false, "running": true, "pending_files": 0 } ], "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": { "journal_mode": "wal", "quick_check": "ok", "db_size_bytes": 1081344, "wal_size_bytes": 4140632 }, "dependencies": { "fastapi": "0.135.1", "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.5", "opencv-python-headless": "4.13.0.92", "numpy": "2.4.3" }, "log_file": { "size_bytes": 405742, "size_formatted": "396.2 KB" }, "network": { "interface_count": 1, "interfaces": [ { "name": "eth0", "subnet": "x.x.9.0/24" } ] }, "websockets": { "active_connections": 1 } } ``` </details> **Logs (sanitized):** [bambuddy.log](https://raw.githubusercontent.com/maziggy/bambuddy/bug-report-assets/logs/ccf65ba5e7914cd98d8d3c98ead25c13.log) --- *Submitted via BamBuddy Bug Report*
BreizhHardware 2026-05-07 00:10:53 +02:00
  • closed this issue
  • added the
    invalid
    label
Author
Owner

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

You need to explain your issue a little bit more detailed. I'm not a quiz fan ;)

<!-- gh-comment-id:4076986984 --> @maziggy commented on GitHub (Mar 17, 2026): You need to explain your issue a little bit more detailed. I'm not a quiz fan ;)
Author
Owner

@unguamorray commented on GitHub (Mar 19, 2026):

done prints must lower filament weight - by print weight - canceled/failed - must do the same by aproximate printed weight - initial is 1000 gr - printed 200 - goes to 800 - failed 200 gr print on half - goes to 700 ... clear now ?

<!-- gh-comment-id:4089154032 --> @unguamorray commented on GitHub (Mar 19, 2026): done prints must lower filament weight - by print weight - canceled/failed - must do the same by aproximate printed weight - initial is 1000 gr - printed 200 - goes to 800 - failed 200 gr print on half - goes to 700 ... clear now ?
Author
Owner

@maziggy commented on GitHub (Mar 19, 2026):

Why yre you so harsh?

That's clear to me. But woudn't it be a good idea to mention where do you see the wrong numbers? On Stats page, on archive card, in spool inventory, everywhere? What spools? And so on.....

If you want me to debug your problem, then you need to provide a clear error description and as many details a s possible.

<!-- gh-comment-id:4089260190 --> @maziggy commented on GitHub (Mar 19, 2026): Why yre you so harsh? That's clear to me. But woudn't it be a good idea to mention where do you see the wrong numbers? On Stats page, on archive card, in spool inventory, everywhere? What spools? And so on..... If you want me to debug your problem, then you need to provide a clear error description and as many details a s possible.
Author
Owner

@unguamorray commented on GitHub (Mar 20, 2026):

filament tab

<!-- gh-comment-id:4096969704 --> @unguamorray commented on GitHub (Mar 20, 2026): filament tab
Author
Owner

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

I'm sorry, but I cannot help you if you are not able to communicate your rpoblem properly.

<!-- gh-comment-id:4096996706 --> @maziggy commented on GitHub (Mar 20, 2026): I'm sorry, but I cannot help you if you are not able to communicate your rpoblem properly.
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#495
No description provided.