botwave icon indicating copy to clipboard operation
botwave copied to clipboard

BUG -> client crashes due to an fstring error

Open douxxtech opened this issue 9 months ago • 3 comments

📝 Description

The client crashes due to an F-string error.

💻 Environment

Component

  • [X] Client
  • [ ] Local client
  • [ ] Server

Hardware

  • [ ] Raspberry Pi Zero W
  • [ ] Raspberry Pi Zero 2 W
  • [ ] Raspberry Pi 1
  • [ ] Raspberry Pi 2
  • [X] Raspberry Pi 3
  • [ ] Raspberry Pi 4
  • [ ] Raspberry Pi 5
  • [ ] Other: __________

Operating System

  • [X] Debian-based
  • [ ] Windows
  • [ ] MacOs
  • [ ] Other: __________

Python Version

  • [ ] >= 3.13
  • [ ] 3.12
  • [X] 3.11
  • [ ] <= 3.10

🐞 Steps to Reproduce

  1. run the client software

📄 Logs / Screenshots

 sudo bw-client <host>
  File "/opt/BotWave/client/client.py", line 386
    Log.success(f"Downloaded: {filename} ({file_size if file_size > 0 else '?'} bytes{", converted" if converted else ""})")
                                                                                       ^
SyntaxError: f-string: expecting '}'

📍 Additional Context

douxxtech avatar Feb 22 '26 18:02 douxxtech

will be fixed in next release. if needed it is possible to update to the latest commit with bw-update -l

douxxtech avatar Feb 22 '26 18:02 douxxtech

mf talking to himself

ploszukiwacz avatar Feb 22 '26 18:02 ploszukiwacz

mf talking to himself

Image

douxxtech avatar Feb 22 '26 18:02 douxxtech