[GH-ISSUE #85] [Bug]: Project stats are a little bit off #41

Closed
opened 2026-05-06 12:25:09 +02:00 by BreizhHardware · 6 comments

Originally created by @mathse on GitHub (Jan 14, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/85

Originally assigned to: @maziggy on GitHub.

Bug Description

The stats of a project are computed quite interesting ... and redundant infos

  • A: shows "Printed Jobs (Failed and Successful) / Target Print Count (optional)"

  • B: shows "Successful printed Jobs / Target Print Count (optional) * 100"

  • C: shows "Printed Jobs (Failed and Successful)"
    Image

  • D: show "Printed Successful Jobs / Target Print Count (optional)"

  • E: shows "Printed Jobs (Failed and Successful)" two times
    Image

Expected Behavior

only a proposal

  • have A and D show the same infos
  • have E show the sum of all objects

its all based on my initial assumption that "Target Print Count (optional)" represents the total objects the project will include

Steps to Reproduce

  1. have a project
  2. add print jobs to a project
  3. have a look at the stats of the project
  4. have a detailed look at the stats

Printer Model

P1S

Bambuddy Version

v0.1.6b7

Printer Firmware Version

recent

Installation Method

Docker

Operating System

Linux (Ubuntu/Debian)

Relevant Logs


Screenshots

No response

Additional Context

No response

Checklist

  • I have searched existing issues to ensure this bug hasn't already been reported
  • I am using the latest version of Bambuddy
  • My printer is set to LAN Only mode
Originally created by @mathse on GitHub (Jan 14, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/85 Originally assigned to: @maziggy on GitHub. ### Bug Description The stats of a project are computed quite interesting ... and redundant infos - A: shows "Printed Jobs (Failed and Successful) / Target Print Count (optional)" - B: shows "Successful printed Jobs / Target Print Count (optional) * 100" - C: shows "Printed Jobs (Failed and Successful)" <img width="527" height="378" alt="Image" src="https://github.com/user-attachments/assets/bafc6f3e-0d95-42b6-98a4-33c8f4da413c" /> - D: show "Printed Successful Jobs / Target Print Count (optional)" - E: shows "Printed Jobs (Failed and Successful)" two times <img width="1616" height="299" alt="Image" src="https://github.com/user-attachments/assets/f8b83e24-05fc-4a31-9b4a-69cd5d0bc148" /> ### Expected Behavior only a proposal - have A and D show the same infos - have E show the sum of all objects its all based on my initial assumption that "Target Print Count (optional)" represents the total objects the project will include ### Steps to Reproduce 1. have a project 2. add print jobs to a project 3. have a look at the stats of the project 4. have a detailed look at the stats ### Printer Model P1S ### Bambuddy Version v0.1.6b7 ### Printer Firmware Version recent ### Installation Method Docker ### Operating System Linux (Ubuntu/Debian) ### Relevant Logs ```shell ``` ### Screenshots _No response_ ### Additional Context _No response_ ### Checklist - [x] I have searched existing issues to ensure this bug hasn't already been reported - [x] I am using the latest version of Bambuddy - [x] My printer is set to LAN Only mode
BreizhHardware 2026-05-06 12:25:09 +02:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@maziggy commented on GitHub (Jan 14, 2026):

Yeah, the project page needs some work anyway. Will look into this.

BTW: Thanks for testing and reporting issues continously!

<!-- gh-comment-id:3748987286 --> @maziggy commented on GitHub (Jan 14, 2026): Yeah, the project page needs some work anyway. Will look into this. BTW: Thanks for testing and reporting issues continously!
Author
Owner

@maziggy commented on GitHub (Jan 14, 2026):

Please use branch 0.1.6b8. Does it look better for you?

<!-- gh-comment-id:3750099208 --> @maziggy commented on GitHub (Jan 14, 2026): Please use branch 0.1.6b8. Does it look better for you?
Author
Owner

@MisterBeardy commented on GitHub (Jan 15, 2026):

Checking out this build and for my workflow, the print job I am submitting will have 6-8 items on a build plate and the project is set to 50 items. So every time the print job is finished, it counts up the objects from that job and moves the progress bar. Now, if I have 50 items set to the Target Print Count, the progress bar only counts completed print jobs not the objects that are printed. This would make sense if it was just one object for each job.

Image
<!-- gh-comment-id:3755616728 --> @MisterBeardy commented on GitHub (Jan 15, 2026): Checking out this build and for my workflow, the print job I am submitting will have 6-8 items on a build plate and the project is set to 50 items. So every time the print job is finished, it counts up the objects from that job and moves the progress bar. Now, if I have 50 items set to the Target Print Count, the progress bar only counts completed print jobs not the objects that are printed. This would make sense if it was just one object for each job. <img width="496" height="314" alt="Image" src="https://github.com/user-attachments/assets/5a41c845-3976-431f-b0e4-2152611a3f79" />
Author
Owner

@maziggy commented on GitHub (Jan 15, 2026):

Got it! The complete logic is build on number of prints, where print means plate.

I think the easiest would be, to simply add an additional parts counter.

<!-- gh-comment-id:3755916253 --> @maziggy commented on GitHub (Jan 15, 2026): Got it! The complete logic is build on number of prints, where print means plate. I think the easiest would be, to simply add an additional parts counter.
Author
Owner

@maziggy commented on GitHub (Jan 16, 2026):

Please use branch 0.1.6b8 and let me know if that's fine for you.

There's a script in scripts/ which can be used to add parts counts to existing arvchives:

source venv/bin/activate

  • Preview changes
    python scripts/update_archive_quantities.py --dry-run

  • Apply changes
    python scripts/update_archive_quantities.py

<!-- gh-comment-id:3758397185 --> @maziggy commented on GitHub (Jan 16, 2026): Please use branch 0.1.6b8 and let me know if that's fine for you. There's a script in scripts/ which can be used to add parts counts to existing arvchives: source venv/bin/activate * Preview changes python scripts/update_archive_quantities.py --dry-run * Apply changes python scripts/update_archive_quantities.py
Author
Owner

@MisterBeardy commented on GitHub (Jan 16, 2026):

Just tested out the new project settings and they work and look great. Nice touch adding the number of plates and parts broken apart. I'll test out the script later today.

<!-- gh-comment-id:3760195950 --> @MisterBeardy commented on GitHub (Jan 16, 2026): Just tested out the new project settings and they work and look great. Nice touch adding the number of plates and parts broken apart. I'll test out the script later today.
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#41
No description provided.