🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #745

Bug#1144157: [Pkg-privacy-maintainers] Bug#1144157: Bug#1144157: Bug#1144157: onionshare: AttributeError: 'ShareModeWeb' object ...

#745
From: Hefee
Date: Tue, 13 Oct 2026 15:20
242 lines
10926 bytes
--nextPart-snq6HNST3GRg7yrE8VZtg
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"; protected-headers="v1"
From: Hefee <hefee@debian.org>
To: 1144157@bugs.debian.org
Cc: Jeffrey Cliff <jeffrey.cliff@gmail.com>
Date: Tue, 13 Oct 2026 17:16:54 +0200
Message-ID: <G7U14Nn9RAml1QH4huyrew@debian.org>
In-Reply-To:
 <CAAR2Wu--PT7s_vYNd5=3dbE+xrA_1npuGdZjeZ=P_nHxkekO+A@mail.gmail.com>
MIME-Version: 1.0

Hey,

> Please don't say/"proxy" anything to github especially on my behalf.
> It should be treated as an adversary of all debian users.

Simply inform Debian users does not help anyone, as Debian won't fork the=20
development of onionshare. In anycase any patch needs to be accepted by=20
upstream. In order to fix this issue the information needs to enter upstrea=
m.=20

Regards,

hefee

=2D-
=20
> On Sat, Aug 15, 2026 at 6:28=E2=80=AFPM Hefee <hefee@debian.org> wrote:
> > Control: tags -1 +upstream -unreproducible
> >=20
> > > > How big are the files you try to share? As onionshare compresses the
> > > > files.
> > >=20
> > > One of them is ~30GiB. The whole collection is about ~40GiB
> >=20
> > Upps, that is a big size ;) There is a upstream bugreport about sharing
> > 90GB (#1114). The workaround found is to use the cli. Nice that they
> > found a workaround, but the UI should tell the user, that it does not
> > support big files or fix the underlying zipping issue.
> >=20
> > (#1114) https://github.com/onionshare/onionshare/issues/1114
> >=20
> > And the other issue about the 500s in the logs this is different issue.=
 My
> > guess is, that while zipping the files the hidden service is already
> > started. For small testfiles the timeframe between opening the hidden
> > service and finish the zipping is too short to fail.
> > Properly it should wait to start the hidden service until the zipping h=
as
> > finished.
> >=20
> > Can you create those issues on upstream, as it would be a lot easier if
> > you
> > can provide more details and I do not need to proxy the conversation:
> >=20
> > https://github.com/onionshare/onionshare/issues/
> >=20
> > If you create issues please send a follow up to this bugreport, so I can
> > link the Debian BTS to the issue(s) on upstream.
> >=20
> > --
> > hefee
> >=20
> > > On Fri, Aug 14, 2026 at 4:51=E2=80=AFPM Hefee <hefee@debian.org> wrot=
e:
> > > > Control: tags -1 + moreinfo unreproducible
> > > > Hey,
> > > >=20
> > > > I cannot reproduce you issue. If I try to share files with uptodate
> > > > sid it
> > > > works without any issues. Additionally I see no 500s in the logs. C=
an
> > > > you
> > > > run onionshare -v and provide the log? You can also try to use
> > > > onionshare-cli -v FILES
> > > > that should reduce the logs to a bare minimum. Keep in mind, that in
> > > > the
> > > > logs the filenames are shared.
> > > > How big are the files you try to share? As onionshare compresses the
> > > > files.
> > > >=20
> > > > For me it looks like you have a bot targeting your onionservice bef=
ore
> > > > it
> > > > is ready and that's why gzip_filesize isn't already set. Because fr=
om
> > > > the
> > > > code paths gzip_filesize should be set after the compression step is
> > > > done.
> > > >=20
> > > > Regards,
> > > >=20
> > > > hefee
> > > >=20
> > > > --
> > > >=20
> > > > On Dienstag, 11. August 2026 20:53 Jeffrey Cliff wrote:
> > > > > Package: onionshare
> > > > > Version: 2.6.4-1
> > > > > Severity: normal
> > > > >=20
> > > > > Dear Maintainer,
> > > > >=20
> > > > > after last update, when i click 'start sharing' on a file share my
> > > > > logs are showing
> > > > >=20
> > > > > [2026-08-11 11:51:33,548] ERROR in app: Exception on / [GET]
> > > > >=20
> > > > > Traceback (most recent call last):
> > > > >   File "/usr/lib/python3/dist-packages/flask/app.py", line 1511, =
in
> > > > >   wsgi_app
> > > > >=20
> > > > > response =3D self.full_dispatch_request()
> > > > >=20
> > > > >   File "/usr/lib/python3/dist-packages/flask/app.py", line 919, in
> > > > >=20
> > > > > full_dispatch_request
> > > > >=20
> > > > >     rv =3D self.handle_user_exception(e)
> > > > >  =20
> > > > >   File "/usr/lib/python3/dist-packages/flask/app.py", line 917, in
> > > > >=20
> > > > > full_dispatch_request
> > > > >=20
> > > > >     rv =3D self.dispatch_request()
> > > > >  =20
> > > > >   File "/usr/lib/python3/dist-packages/flask/app.py", line 902, in
> > > > >=20
> > > > > dispatch_request
> > > > >=20
> > > > >     return
> > > > >     self.ensure_sync(self.view_functions[rule.endpoint])(**view_a=
rgs
> > > > >     )
> > > > >=20
> > > > > # type: ignore[no-any-return]
> > > > >=20
> > > > >            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^=
^^^
> > > > >            ^^^^
> > > > >            ^^^^
> > > > >=20
> > > > > File
> > > > > "/usr/lib/python3/dist-packages/onionshare_cli/web/share_mode.py",
> > > > > line 160, in index
> > > > >=20
> > > > >     self.filesize =3D self.gzip_filesize
> > > > >    =20
> > > > >                     ^^^^^^^^^^^^^^^^^^
> > > > >=20
> > > > > AttributeError: 'ShareModeWeb' object has no attribute
> > > > > 'gzip_filesize'
> > > > >=20
> > > > > also a bunch of HTTP 500s in the logs
> > > > >=20
> > > > > meanwhile it's still saying "Starting..." on the green button but
> > > > > the progress % also isn't present anymore
> > > > >=20
> > > > > [ie it's almost like onionshare is allowing visits to the website
> > > > > before it is initialized]
> > > > >=20
> > > > > -- System Information:
> > > > > Distributor ID: Devuan
> > > > > Description: Devuan GNU/Linux 7 (freia/ceres)
> > > > > Release: 7
> > > > > Codename: freia ceres
> > > > > Architecture: x86_64
> > > > >=20
> > > > > Kernel: Linux 7.1.3+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
> > > > > Kernel taint flags: TAINT_CPU_OUT_OF_SPEC
> > > > > Locale: LANG=3Den_CA.UTF-8, LC_CTYPE=3Den_CA.UTF-8 (charmap=3DUTF=
=2D8),
> > > > > LANGUAGE=3Den_CA:en
> > > > > Shell: /bin/sh linked to /usr/bin/dash
> > > > > Init: sysvinit (via /sbin/init)
> > > > > LSM: AppArmor: enabled
> > > > >=20
> > > > > 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
> > > > >=20
> > > > > onionshare recommends no packages.
> > > > >=20
> > > > > onionshare suggests no packages.
> > > > >=20
> > > > > -- no debconf information
> > > > >=20
> > > > > _______________________________________________
> > > > > Pkg-privacy-maintainers mailing list
> > > > > Pkg-privacy-maintainers@alioth-lists.debian.net
> > > > > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-priv=
acy
> > > > > -mai
> > > > > ntai ners
>=20
> --
> -------------------------------------------------------------------------=
=2D--
> -------------------- End the campaign to Cancel Richard Stallman - go to
> stallmansupport.org !
> -------------------------------------------------------------------------=
=2D-
> ---------------------
>=20
> _______________________________________________
> Pkg-privacy-maintainers mailing list
> Pkg-privacy-maintainers@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-privacy-main=
tai
> ners


--nextPart-snq6HNST3GRg7yrE8VZtg
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEOewRoCAWtykmSRoG462wCFBgVjYFAmrOS2cACgkQ462wCFBg
Vja5Jg/8CjhcQ4rzV2y4Sj47nPpkIYWdHuhkuEpqUX7+NihCAKy4ZcDZdN3oq+Ym
hYp3VKumfmQ2GzVNQ9Nm8f28+15TB5Z1sNd7FuECncPiMuWp/hyxZrFCfMg98/QW
Gyqjxk9/hm8r8iu1BSwmkFVCRU0bsRoF3BVy9UR2iUU3hnek1Hdr2wfoGQLSwurv
Ad5/pMBbyr5djcUKMY6W18yWaP0oTtwG5LzyeMS+HR5aRDmaXcF3XhW6KODd2GPS
Vfi+LEUk1M6x0efeLL3j4CXieOWjxRwDPzDUJ6GxEWcfBGPRC8Y5UnuqZvJSrXt2
tsdyIQZILNXmHgg/d1sc6EEQKeE3DInJRhPATJd9KGjSZVdWMcwGdRHZJLa1cZOF
krRuRVjyD2VhlD6G3rOZFqvziy1TjwpUKOoEobrkQAbtPT5MekyxRlwyGmsSSL9W
BzWISrIQtPplgQM/Y82zWui4e87cSFmx59YlKxd2XHpn3mXqdHm1DNUM9bCaUtF3
FCLaJdL+eox0Eicb+8tKYbyjbGZCrONxlzuYADdeu/+8AgMZun1jaqbSSYrxgtmZ
IhIaVeeVtI85VZK/h/tl5fT8pbph3XfB4x3WSUKM6UQcpUfeVv8FJZ72yCvtg0e7
pdVPVmuW40KmPtLsBBxKnlWfMTVIE2i0O2xo7xuMKJ6YHDWtVqM=
=G0l9
-----END PGP SIGNATURE-----

--nextPart-snq6HNST3GRg7yrE8VZtg--
Technical Details
Message-ID: <NNMsh-5hVl-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
References: <Ns92x-aYlP-3@gated-at.bofh.it> <NNMsh-5hVl-5@gated-at.bofh.it> <Ns92x-aYlP-3@gated-at.bofh.it> <NNMsh-5hVl-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Hefee <hefee@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1144157: [Pkg-privacy-maintainers] Bug#1144157: Bug#1144157: Bug#1144157: onionshare: AttributeError: 'ShareModeWeb' object has no attribute 'gzip_filesize
Date: Tue, 13 Oct 2026 17:20:01 +0200
Message-ID: <NNMsh-5hVl-3@gated-at.bofh.it>
References: <Ns92x-aYlP-3@gated-at.bofh.it> <NNMsh-5hVl-5@gated-at.bofh.it> <Ns92x-aYlP-3@gated-at.bofh.it> <NNMsh-5hVl-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Oct 13 15:19:10 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Hefee <hefee@debian.org>, 1144157@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-privacy-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1144157
X-Debian-Pr-Package: onionshare
X-Debian-Pr-Keywords: upstream moreinfo
X-Debian-Pr-Source: onionshare
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart-snq6HNST3GRg7yrE8VZtg";
 micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Debian-User: hefee
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996624
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 242
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Jeffrey Cliff <jeffrey.cliff@gmail.com>
X-Original-Date: Tue, 13 Oct 2026 17:16:54 +0200
X-Original-Message-ID: <G7U14Nn9RAml1QH4huyrew@debian.org>
X-Original-References: <CAAR2Wu8bAitra=x+CTbAWoesaWKppOEV33HxYOeCJWBBCABgsQ@mail.gmail.com> <CAAR2Wu--PT7s_vYNd5=3dbE+xrA_1npuGdZjeZ=P_nHxkekO+A@mail.gmail.com> <CAAR2Wu8bAitra=x+CTbAWoesaWKppOEV33HxYOeCJWBBCABgsQ@mail.gmail.com> <CAAR2Wu--PT7s_vYNd5=3dbE+xrA_1npuGdZjeZ=P_nHxkekO+A@mail.gmail.com>