[Pkg-privacy-maintainers] Bug#1136367: onionshare: AttributeError object has no attribute 'filename'

Jeffrey Cliff jeffrey.cliff at gmail.com
Tue May 12 19:28:46 BST 2026


Package: onionshare
Version: 2.6.3-3
Severity: normal

Dear Maintainer,

something triggered this error probably when i clicked 'start sharing'

AttributeError: 'PySide6.QtWidgets.QListWidgetItem' object has no
attribute 'filename'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/onionshare/tab/mode/file_selection.py",
line 430, in update
    self.save_filenames()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/onionshare/tab/mode/file_selection.py",
line 524, in save_filenames
    filenames = self.get_filenames()
  File "/usr/lib/python3/dist-packages/onionshare/tab/mode/file_selection.py",
line 517, in get_filenames
    filenames.append(self.file_list.item(index).filename)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

i'm guessing one of the files i have has been moved since i added it
to the list of files
to share but without further data it's hard to know what exactly
causes this error.
perhaps if it's going to emit this error, to print some information in
the error to clarify what exactly is going on


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

Kernel: Linux 6.19.14+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.3-3
ii  python3                    3.13.9-3+b1
ii  python3-gnupg              0.5.4-1
ii  python3-pyside6.qtcore     6.10.3-2
ii  python3-pyside6.qtwidgets  6.10.3-2
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