[Pkg-privacy-maintainers] Bug#1144157: onionshare: AttributeError: 'ShareModeWeb' object has no attribute 'gzip_filesize

Jeffrey Cliff jeffrey.cliff at gmail.com
Tue Aug 11 19:53:13 BST 2026


Package: onionshare
Version: 2.6.4-1
Severity: normal

Dear Maintainer,

after last update, when i click 'start sharing' on a file share my
logs are showing

[2026-08-11 11:51:33,548] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/lib/python3/dist-packages/flask/app.py", line 919, in
full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/lib/python3/dist-packages/flask/app.py", line 917, in
full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib/python3/dist-packages/flask/app.py", line 902, in
dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
 # type: ignore[no-any-return]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/onionshare_cli/web/share_mode.py",
line 160, in index
    self.filesize = self.gzip_filesize
                    ^^^^^^^^^^^^^^^^^^
AttributeError: 'ShareModeWeb' object has no attribute 'gzip_filesize'

also a bunch of HTTP 500s in the logs

meanwhile it's still saying "Starting..." on the green button but
the progress % also isn't present anymore

[ie it's almost like onionshare is allowing visits to the website
before it is initialized]

-- System Information:
Distributor ID: Devuan
Description: Devuan GNU/Linux 7 (freia/ceres)
Release: 7
Codename: freia ceres
Architecture: x86_64

Kernel: Linux 7.1.3+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8),
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages onionshare depends on:
ii  onionshare-cli             2.6.4-1
ii  python3                    3.14.6-1
ii  python3-gnupg              0.5.6-1
ii  python3-pyside6.qtcore     6.10.3-3
ii  python3-pyside6.qtwidgets  6.10.3-3
ii  python3-qrcode             8.2-1
ii  python3-werkzeug           3.1.8-1

onionshare recommends no packages.

onionshare suggests no packages.

-- no debconf information



More information about the Pkg-privacy-maintainers mailing list