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

[GH-ISSUE #1210] [Bug]: Printing from USB gives unkown filament #878

Open
opened 2026-05-07 00:14:38 +02:00 by BreizhHardware · 7 comments

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

Originally assigned to: @maziggy on GitHub.

Component

Bambuddy

Bug Description

When I start a print from the printer itself, it does not show correctly in archives. The 3MF is on the USB stick and can be started going thru the menu of the printer. Happens on H2D and H2C. I have both. both are running on latest firmware.

Expected Behavior

I expect the bambuddy view the print in Archives correctly when starting it thru the printer menu. This scrambles the statistics as it now shows as unknown filament.

Steps to Reproduce

1 go to main menu of the printer
2 select start printing
3 go to USB
4 select file and start print

Printer Model

H2C

Bambuddy Version

v0.2.3.2

SpoolBuddy Version

No response

Printer Firmware Version

01.01.05.00

Installation Method

Docker

Operating System

Linux (Ubuntu/Debian)

Relevant Logs / Support Package

bambuddy-support-20260504-202217.zip

Screenshots

Image Image

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
  • My printer has Developer Mode enabled
Originally created by @DrogerTie on GitHub (May 4, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/1210 Originally assigned to: @maziggy on GitHub. ### Component Bambuddy ### Bug Description When I start a print from the printer itself, it does not show correctly in archives. The 3MF is on the USB stick and can be started going thru the menu of the printer. Happens on H2D and H2C. I have both. both are running on latest firmware. ### Expected Behavior I expect the bambuddy view the print in Archives correctly when starting it thru the printer menu. This scrambles the statistics as it now shows as unknown filament. ### Steps to Reproduce 1 go to main menu of the printer 2 select start printing 3 go to USB 4 select file and start print ### Printer Model H2C ### Bambuddy Version v0.2.3.2 ### SpoolBuddy Version _No response_ ### Printer Firmware Version 01.01.05.00 ### Installation Method Docker ### Operating System Linux (Ubuntu/Debian) ### Relevant Logs / Support Package [bambuddy-support-20260504-202217.zip](https://github.com/user-attachments/files/27372215/bambuddy-support-20260504-202217.zip) ### Screenshots <img width="1515" height="50" alt="Image" src="https://github.com/user-attachments/assets/afbda4b5-6fe5-4b1b-8c81-1288ee02f5e5" /> <img width="1576" height="63" alt="Image" src="https://github.com/user-attachments/assets/8c99dab3-8038-42be-acc9-c3e8120d7d98" /> ### 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 - [x] My printer has Developer Mode enabled
Author
Owner

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

I see what's happening at the Bambuddy side but I need a bit more from your printer to be sure.

When the print started, Bambuddy did find 14 3MF files in the FTP root, but my logs only show the first 5 names. So I can't tell whether your USB-printed file is one of the other 9 (and we have a filename-matching bug) or genuinely missing (USB prints don't replicate to FTP on this firmware).

While a USB-stick print is running on the H2C, could you connect to the printer's FTP and paste the full root listing? Replace
<PRINTER_IP> with the printer's IP and <ACCESS_CODE> with the LAN access code shown on the printer.

Linux / macOS (lftp):

  lftp -u bblp,<ACCESS_CODE> ftps://<PRINTER_IP>:990 \
       -e "set ssl:verify-certificate no; ls /; bye"

Linux / macOS (curl):

  curl -k --ftp-ssl --user "bblp:<ACCESS_CODE>" "ftps://<PRINTER_IP>:990/"

Windows (FileZilla works fine — just connect and screenshot the root):
Host: ftpes://<PRINTER_IP>
Port: 990
User: bblp
Pass: <ACCESS_CODE>
Encryption: "Require explicit FTP over TLS"

What I'm looking for: the exact filename for the running USB print as the printer's FTP shows it. If it's in the listing, this is a
matching-bug fix on our side. If it's not, we'll dig into where the firmware actually puts USB-print files.

Same question if it's easier to test on your H2D too — same FTP behavior expected for both.

If you also want to spot-check your H2D quickly to confirm USB prints do appear on FTP root, the same lftp one-liner against your printer IP while a USB print is mid-flight will answer it in a few seconds — useful for narrowing the scope before the reporter replies.

<!-- gh-comment-id:4377123896 --> @maziggy commented on GitHub (May 5, 2026): I see what's happening at the Bambuddy side but I need a bit more from your printer to be sure. When the print started, Bambuddy did find 14 3MF files in the FTP root, but my logs only show the first 5 names. So I can't tell whether your USB-printed file is one of the other 9 (and we have a filename-matching bug) or genuinely missing (USB prints don't replicate to FTP on this firmware). While a USB-stick print is running on the H2C, could you connect to the printer's FTP and paste the full root listing? Replace <PRINTER_IP> with the printer's IP and <ACCESS_CODE> with the LAN access code shown on the printer. Linux / macOS (lftp): lftp -u bblp,<ACCESS_CODE> ftps://<PRINTER_IP>:990 \ -e "set ssl:verify-certificate no; ls /; bye" Linux / macOS (curl): curl -k --ftp-ssl --user "bblp:<ACCESS_CODE>" "ftps://<PRINTER_IP>:990/" Windows (FileZilla works fine — just connect and screenshot the root): Host: ftpes://<PRINTER_IP> Port: 990 User: bblp Pass: <ACCESS_CODE> Encryption: "Require explicit FTP over TLS" What I'm looking for: the exact filename for the running USB print as the printer's FTP shows it. If it's in the listing, this is a matching-bug fix on our side. If it's not, we'll dig into where the firmware actually puts USB-print files. Same question if it's easier to test on your H2D too — same FTP behavior expected for both. If you also want to spot-check your H2D quickly to confirm USB prints do appear on FTP root, the same lftp one-liner against your printer IP while a USB print is mid-flight will answer it in a few seconds — useful for narrowing the scope before the reporter replies.
Author
Owner

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

Image Image

roger@Openclaw:~ $ curl -k --ftp-ssl --user "bblp:XXXXXXX" "ftps://XXXXXXXXX:990/"
Warning: --ftp-ssl is an insecure option, consider --ssl-reqd instead
-rwxr-xr-x 1 1002 1002 598025 Mar 18 22:50 Frame_for_Hueforge_various_dimensions..gcode.3mf
drwxr-xr-x 2 1002 1002 16384 Mar 06 2021 System Volume Information
drwxr-xr-x 3 1002 1002 16384 Apr 24 00:52 ipcam
drwxr-xr-x 3 1002 1002 16384 Mar 19 07:13 timelapse
-rwxr-xr-x 1 1002 1002 16 Apr 23 22:36 verify_job

roger@Openclaw:~ $ curl -k --ftp-ssl --user "bblp:XXXXXXXX" "ftps://XXXXXXXXX:990/"
Warning: --ftp-ssl is an insecure option, consider --ssl-reqd instead
-rwxr-xr-x 1 103 107 8297845 Mar 30 00:17 Canister_Set.gcode.3mf
-rwxr-xr-x 1 103 107 3268939 Mar 29 07:33 Fidget_Cube_Toy_Angled.gcode.3mf
-rwxr-xr-x 1 103 107 3568230 Mar 28 20:03 Frame_(Layered_Sculptures_or_Hueforge).gcode.3mf
-rwxr-xr-x 1 103 107 202036 Mar 31 04:24 Frame_for_Hueforge_various_dimensions..gcode.3mf
-rwxr-xr-x 1 103 107 683505 Mar 31 08:15 Glow_Glasses.gcode.3mf
-rwxr-xr-x 1 103 107 927469 Mar 31 11:46 Minimalistic_Phone_Stand_.gcode.3mf
-rwxr-xr-x 1 103 107 2361189 Mar 30 22:06 PayWand_-Tap_to_Pay_magic_payment_wand.gcode.3mf
-rwxr-xr-x 1 103 107 3378720 Mar 28 13:20 Segment_1.gcode.3mf
-rwxr-xr-x 1 103 107 4673011 Mar 29 05:26 Sensory_Fidget_Cubes.gcode.3mf
drwxr-xr-x 2 103 107 8192 May 03 2026 System Volume Information
-rwxr-xr-x 1 103 107 2322108 Mar 29 18:38 The_Amazing_Digital_Circus
-Door_Icons.gcode.3mf
-rwxr-xr-x 1 103 107 510649 Mar 29 02:26 Ultraschallbild_Deko_für_Mütter.gcode.3mf
-rwxr-xr-x 1 103 107 249307 Mar 29 21:16 Wall_mounting_for_AMS
+AMS_2_Pro&_AMS_HT.gcode.3mf
-rwxr-xr-x 1 103 107 3702588 Mar 28 16:30 baby adriaans_plate_2.gcode.3mf
drwxr-xr-x 3 103 107 8192 Mar 31 18:34 ipcam
drwxr-xr-x 3 103 107 8192 Mar 31 18:24 timelapse
-rwxr-xr-x 1 103 107 16 Mar 31 11:46 verify_job
-rwxr-xr-x 1 103 107 2109356 Mar 29 06:05 一体打印_能重复螺旋的方形穿越_解压玩具_TD1方形.gcode.3mf

only Now when I try it running it from a USB stick, it all works on every printer and it shows in the archive. so frustrating. I will wait till the prints are ready and try another one that was a problem yesterday.

bambuddy-support-20260505-175152.zip

<!-- gh-comment-id:4380885759 --> @DrogerTie commented on GitHub (May 5, 2026): <img width="761" height="387" alt="Image" src="https://github.com/user-attachments/assets/81d00295-5e75-4692-8740-d8321c515b48" /> <img width="736" height="695" alt="Image" src="https://github.com/user-attachments/assets/edb8a700-82a6-4628-9a0d-0fe7a18b859f" /> roger@Openclaw:~ $ curl -k --ftp-ssl --user "bblp:XXXXXXX" "ftps://XXXXXXXXX:990/" Warning: --ftp-ssl is an insecure option, consider --ssl-reqd instead -rwxr-xr-x 1 1002 1002 598025 Mar 18 22:50 Frame_for_Hueforge_various_dimensions..gcode.3mf drwxr-xr-x 2 1002 1002 16384 Mar 06 2021 System Volume Information drwxr-xr-x 3 1002 1002 16384 Apr 24 00:52 ipcam drwxr-xr-x 3 1002 1002 16384 Mar 19 07:13 timelapse -rwxr-xr-x 1 1002 1002 16 Apr 23 22:36 verify_job roger@Openclaw:~ $ curl -k --ftp-ssl --user "bblp:XXXXXXXX" "ftps://XXXXXXXXX:990/" Warning: --ftp-ssl is an insecure option, consider --ssl-reqd instead -rwxr-xr-x 1 103 107 8297845 Mar 30 00:17 Canister_Set.gcode.3mf -rwxr-xr-x 1 103 107 3268939 Mar 29 07:33 Fidget_Cube_Toy_Angled.gcode.3mf -rwxr-xr-x 1 103 107 3568230 Mar 28 20:03 Frame_(Layered_Sculptures_or_Hueforge).gcode.3mf -rwxr-xr-x 1 103 107 202036 Mar 31 04:24 Frame_for_Hueforge_various_dimensions..gcode.3mf -rwxr-xr-x 1 103 107 683505 Mar 31 08:15 Glow_Glasses.gcode.3mf -rwxr-xr-x 1 103 107 927469 Mar 31 11:46 Minimalistic_Phone_Stand_.gcode.3mf -rwxr-xr-x 1 103 107 2361189 Mar 30 22:06 PayWand_-_Tap_to_Pay_magic_payment_wand.gcode.3mf -rwxr-xr-x 1 103 107 3378720 Mar 28 13:20 Segment_1.gcode.3mf -rwxr-xr-x 1 103 107 4673011 Mar 29 05:26 Sensory_Fidget_Cubes.gcode.3mf drwxr-xr-x 2 103 107 8192 May 03 2026 System Volume Information -rwxr-xr-x 1 103 107 2322108 Mar 29 18:38 The_Amazing_Digital_Circus_-_Door_Icons.gcode.3mf -rwxr-xr-x 1 103 107 510649 Mar 29 02:26 Ultraschallbild_Deko_für_Mütter.gcode.3mf -rwxr-xr-x 1 103 107 249307 Mar 29 21:16 Wall_mounting_for_AMS_+_AMS_2_Pro_&_AMS_HT.gcode.3mf -rwxr-xr-x 1 103 107 3702588 Mar 28 16:30 baby adriaans_plate_2.gcode.3mf drwxr-xr-x 3 103 107 8192 Mar 31 18:34 ipcam drwxr-xr-x 3 103 107 8192 Mar 31 18:24 timelapse -rwxr-xr-x 1 103 107 16 Mar 31 11:46 verify_job -rwxr-xr-x 1 103 107 2109356 Mar 29 06:05 一体打印_能重复螺旋的方形穿越_解压玩具_TD1方形.gcode.3mf only Now when I try it running it from a USB stick, it all works on every printer and it shows in the archive. so frustrating. I will wait till the prints are ready and try another one that was a problem yesterday. [bambuddy-support-20260505-175152.zip](https://github.com/user-attachments/files/27407519/bambuddy-support-20260505-175152.zip)
Author
Owner

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

Good news — your latest log shows it working end-to-end on the H2C:

  • Printer reports subtask "Minimalistic Phone Stand " (with trailing space)
  • FTP exposes it as /Minimalistic_Phone_Stand_.gcode.3mf (printer normalises spaces to underscores on the USB stick — FAT32)
  • Bambuddy's space→underscore fallback matched on the 5th filename variant, downloaded both the cover and the full 3MF, and created archive #118

The H2D was mid-print when the log started so I don't have a fresh on_print_start event for it in this package. Two questions to close this out:

  1. The "unknown filament" rows in your screenshot — are those new archives you noticed since updating, or older ones that were already in your library? My guess is they pre-date some earlier fix and just haven't been retroactively repaired.

  2. If you spot a fresh USB-print archive coming in as "unknown filament" on either machine, grab a support package right after that print starts (within a minute or two) — the on_print_start log line is where I can see the FTP filename it found vs. what was on the printer, and that's the data I'm missing here.

<!-- gh-comment-id:4380937591 --> @maziggy commented on GitHub (May 5, 2026): Good news — your latest log shows it working end-to-end on the H2C: - Printer reports subtask "Minimalistic Phone Stand " (with trailing space) - FTP exposes it as /Minimalistic_Phone_Stand_.gcode.3mf (printer normalises spaces to underscores on the USB stick — FAT32) - Bambuddy's space→underscore fallback matched on the 5th filename variant, downloaded both the cover and the full 3MF, and created archive #118 The H2D was mid-print when the log started so I don't have a fresh on_print_start event for it in this package. Two questions to close this out: 1. The "unknown filament" rows in your screenshot — are those *new* archives you noticed since updating, or older ones that were already in your library? My guess is they pre-date some earlier fix and just haven't been retroactively repaired. 2. If you spot a fresh USB-print archive coming in as "unknown filament" on either machine, grab a support package right after that print starts (within a minute or two) — the on_print_start log line is where I can see the FTP filename it found vs. what was on the printer, and that's the data I'm missing here.
Author
Owner

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

The screenshot was in my first post is from 26th of april, But this one was from yesterday:

Image

I wil try and start this one again today and see what happens now.

Wierd you say it shows it was mid-print cause I am sure I started the debog logging before starting all my prints. it was running for a few minutes cause I needed to get things ready. It was then running for 30m or so when I downloaded the log.

How do we repair retroactively?

I will monitor the archive. I will start the debug-logging the next few prints in the hope It will happen so you can get a better log for debugging. I will also try and start one from the internal memory and maybe this will trigger the error?

<!-- gh-comment-id:4381298755 --> @DrogerTie commented on GitHub (May 5, 2026): The screenshot was in my first post is from 26th of april, But this one was from yesterday: <img width="1577" height="74" alt="Image" src="https://github.com/user-attachments/assets/1656c71f-6f62-42c0-81b7-711a8a5f1a43" /> I wil try and start this one again today and see what happens now. Wierd you say it shows it was mid-print cause I am sure I started the debog logging before starting all my prints. it was running for a few minutes cause I needed to get things ready. It was then running for 30m or so when I downloaded the log. How do we repair retroactively? I will monitor the archive. I will start the debug-logging the next few prints in the hope It will happen so you can get a better log for debugging. I will also try and start one from the internal memory and maybe this will trigger the error?
Author
Owner

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

Image

got two failed archives now. I printed the phone stand on the H2D thru the internal memory of the printer, not with the USB.

The H2C was thru the USB and it was the chinese named fidget.

the log was running for a good 3 min before starting both. I ended it after 12m when both machines where printing.

bambuddy-support-20260505-191328.zip

<!-- gh-comment-id:4381458478 --> @DrogerTie commented on GitHub (May 5, 2026): <img width="1577" height="166" alt="Image" src="https://github.com/user-attachments/assets/316cc825-b16c-4281-820a-8d7e732e7a90" /> got two failed archives now. I printed the phone stand on the H2D thru the internal memory of the printer, not with the USB. The H2C was thru the USB and it was the chinese named fidget. the log was running for a good 3 min before starting both. I ended it after 12m when both machines where printing. [bambuddy-support-20260505-191328.zip](https://github.com/user-attachments/files/27409995/bambuddy-support-20260505-191328.zip)
Author
Owner

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

Did you follow the install instructions?

Image
<!-- gh-comment-id:4385331184 --> @maziggy commented on GitHub (May 6, 2026): Did you follow the install instructions? <img width="876" height="402" alt="Image" src="https://github.com/user-attachments/assets/662f0080-db7e-4978-88cd-68acb8aa8565" />
Author
Owner

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

I did not. I just turned it on and will monitor my next prints and if the archives are filed correctly. Still these prints are already on my USB from before using bambuddy. So are you saying when using the internal memory it will always fail to archive it correctly? The chinese named fidget is on my USB as .3mf, which I expect to archive correctly so idk why it fails

<!-- gh-comment-id:4390383311 --> @DrogerTie commented on GitHub (May 6, 2026): I did not. I just turned it on and will monitor my next prints and if the archives are filed correctly. Still these prints are already on my USB from before using bambuddy. So are you saying when using the internal memory it will always fail to archive it correctly? The chinese named fidget is on my USB as .3mf, which I expect to archive correctly so idk why it fails
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#878
No description provided.