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

[GH-ISSUE #619] [Bug]: #398

Closed
opened 2026-05-07 00:09:37 +02:00 by BreizhHardware · 12 comments

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

Originally assigned to: @maziggy on GitHub.

Bug Description

Install fail,please see attached screenshot. Linux mint info :
System:
Kernel: 6.8.0-101-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33
wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy

Image

Expected Behavior

install complete

Steps to Reproduce

manual install following webpage manual install page

Printer Model

H2D

Bambuddy Version

0.2.2b1

Printer Firmware Version


Installation Method

Manual (git clone)

Operating System

Linux (Ubuntu/Debian)

Relevant Logs / Support Package


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
  • My printer has Developer Mode enabled
Originally created by @stsffhome on GitHub (Mar 5, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/619 Originally assigned to: @maziggy on GitHub. ### Bug Description Install fail,please see attached screenshot. Linux mint info : System: Kernel: 6.8.0-101-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy <img width="648" height="414" alt="Image" src="https://github.com/user-attachments/assets/e6d5d0dc-2972-4765-b3ef-511b4ed2b7fe" /> ### Expected Behavior install complete ### Steps to Reproduce manual install following webpage manual install page ### Printer Model H2D ### Bambuddy Version 0.2.2b1 ### Printer Firmware Version ****** ### Installation Method Manual (git clone) ### Operating System Linux (Ubuntu/Debian) ### Relevant Logs / Support Package ```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 - [x] My printer has Developer Mode enabled
BreizhHardware 2026-05-07 00:09:37 +02:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

You are using an outdated version of Bambuddy. Please update to the latest version.

<!-- gh-comment-id:4003264958 --> @maziggy commented on GitHub (Mar 5, 2026): You are using an outdated version of Bambuddy. Please update to the latest version.
Author
Owner

@stsffhome commented on GitHub (Mar 5, 2026):

apologies version 02.2-b1

<!-- gh-comment-id:4003532233 --> @stsffhome commented on GitHub (Mar 5, 2026): apologies version 02.2-b1
Author
Owner

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

Fixed in branch 0.2.2b2.

The issue was that Bambuddy uses enum.StrEnum which was only added in Python 3.11, but our documented requirement is Python 3.10+. Ubuntu 22.04 ships with Python 3.10, so it hit this on startup.

We've added a compatibility shim so it now works on both Python 3.10 and 3.11+. No changes needed on your end — just update to the latest version and it should start up fine.

<!-- gh-comment-id:4003770034 --> @maziggy commented on GitHub (Mar 5, 2026): Fixed in branch 0.2.2b2. The issue was that Bambuddy uses enum.StrEnum which was only added in Python 3.11, but our documented requirement is Python 3.10+. Ubuntu 22.04 ships with Python 3.10, so it hit this on startup. We've added a compatibility shim so it now works on both Python 3.10 and 3.11+. No changes needed on your end — just update to the latest version and it should start up fine.
Author
Owner

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

Wait....

<!-- gh-comment-id:4003785401 --> @maziggy commented on GitHub (Mar 5, 2026): Wait....
Author
Owner

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

Also needed to uodate the install script. Done.

<!-- gh-comment-id:4003908243 --> @maziggy commented on GitHub (Mar 5, 2026): Also needed to uodate the install script. Done.
Author
Owner

@stsffhome commented on GitHub (Mar 5, 2026):

where do I find the 02.2b2 file
thanks

<!-- gh-comment-id:4006404112 --> @stsffhome commented on GitHub (Mar 5, 2026): where do I find the 02.2b2 file thanks
Author
Owner

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

git pull && git checkout 0.2.2b2 && git pull

<!-- gh-comment-id:4009916012 --> @maziggy commented on GitHub (Mar 6, 2026): git pull && git checkout 0.2.2b2 && git pull
Author
Owner

@stsffhome commented on GitHub (Mar 6, 2026):

Hello Martyn,
thanks for your help on my install issue 619 & issue 621,sadly I have
abandoned the attempt.
I think that the install given the myriad of issues, is beyond my
abilities & I would be unfair to consume your time on a single user.
I wish you complete success with your application as it matures.

solely for your reference

Linux mint 21.3 & 22.2 OS

HP Z600 & Z840 hardware

Python 3.10.12

Kernel: 6.8.0-101-generic x86_64 bits: 64 compiler: N/A Desktop:
Cinnamon 6.0.4 tk: GTK 3.24.33
wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia
base: Ubuntu 22.04 jammy

Docker 2 Active although Bambuddy reports not active
plus the original reported issue

Native install

as previous

thanks & best regards Adrian

<!-- gh-comment-id:4010832566 --> @stsffhome commented on GitHub (Mar 6, 2026): Hello Martyn, thanks for your help on my install issue 619 & issue 621,sadly I have abandoned the attempt. I think that the install given the myriad of issues, is beyond my abilities & I would be unfair to consume your time on a single user. I wish you complete success with your application as it matures. solely for your reference Linux mint 21.3 & 22.2 OS HP Z600 & Z840 hardware Python 3.10.12 Kernel: 6.8.0-101-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 6.0.4 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy Docker 2 Active although Bambuddy reports not active plus the original reported issue Native install as previous thanks & best regards Adrian
Author
Owner

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

If you want ot use Docker, you need to rebuild the image locally. So I would suggest to use native install for now.

The only thing you need to do is to cd to

cd /opt/bambuddy
git pull && git checkout 0.2.2b2 && git pull && systemctl restart bambuddy

You can use this by just copy/paste.

<!-- gh-comment-id:4010882959 --> @maziggy commented on GitHub (Mar 6, 2026): If you want ot use Docker, you need to rebuild the image locally. So I would suggest to use native install for now. The only thing you need to do is to cd to cd /opt/bambuddy git pull && git checkout 0.2.2b2 && git pull && systemctl restart bambuddy You can use this by just copy/paste.
Author
Owner

@stsffhome commented on GitHub (Mar 6, 2026):

Hi martyn

I tried install bambuddy & 2b2 update to /opt/bambuddy lots of
permission issues as expected required sudo as /opt is a root directory
& update install fail.
installed as website native instructions to cd bambuddy. directory is
created in HOME.
modified command line as below & 0.2.2b2 installed ( with an error
message saying (( 0.2.2b2 already installed )) and systemctl didn't run
so manual restart but bambuddy runs ok

cd /opt/bambuddy
git pull && git checkout 0.2.2b2 && git pull && systemctl restart
bambuddy

corrected & works

cd bambuddy
git pull && git checkout 0.2.2b2 && git pull && systemctl restart
bambuddy

thanks & regards 
Adrian

<!-- gh-comment-id:4012568506 --> @stsffhome commented on GitHub (Mar 6, 2026): Hi martyn I tried install bambuddy & 2b2 update to /opt/bambuddy lots of permission issues as expected required sudo as /opt is a root directory & update install fail. installed as website native instructions to cd bambuddy. directory is created in HOME. modified command line as below & 0.2.2b2 installed ( with an error message saying (( 0.2.2b2 already installed )) and systemctl didn't run so manual restart but bambuddy runs ok cd /opt/bambuddy git pull && git checkout 0.2.2b2 && git pull && systemctl restart bambuddy corrected & works cd bambuddy git pull && git checkout 0.2.2b2 && git pull && systemctl restart bambuddy thanks & regards  Adrian
Author
Owner

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

What's the issue now? Not sure....

<!-- gh-comment-id:4012586719 --> @maziggy commented on GitHub (Mar 6, 2026): What's the issue now? Not sure....
Author
Owner

@stsffhome commented on GitHub (Mar 6, 2026):

No Issue with install now as above post works fine although error message when loading
" 2026-03-06 19:16:43,167 ERROR [backend.app.api.routes.updates] Failed to check for updates: All connection attempts failed"

<!-- gh-comment-id:4013629939 --> @stsffhome commented on GitHub (Mar 6, 2026): No Issue with install now as above post works fine although error message when loading " 2026-03-06 19:16:43,167 ERROR [backend.app.api.routes.updates] Failed to check for updates: All connection attempts failed"
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#398
No description provided.