• Bug#1099735: eartag: save button stays disabled when tagging mp3, logs

    From =?utf-8?b?SsOpcsOpbXkgTGFs?=@21:1/5 to All on Fri Mar 7 12:10:01 2025
    Package: eartag
    Version: 0.6.4-1
    Severity: normal

    Since very recently (after recent adwaita upgrade, maybe ?) eartag started failing
    to "save" tags modifications when editing tags of mp3 files.

    This is what I get when running "eartag ." from cli:

    AttributeError: 'PopoverMenu' object has no attribute 'get_pages'. Did you mean: 'get_flags'?
    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/gi/_propertyhelper.py", line 401, in obj_set_property
    prop.fset(self, value)
    ~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/share/eartag/eartag/tagentry.py", line 422, in bound_property
    self.refresh_text()
    ~~~~~~~~~~~~~~~~~^^
    File "/usr/share/eartag/eartag/tagentry.py", line 126, in refresh_text
    if self.has_different_values():
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
    File "/usr/share/eartag/eartag/tagentry.py", line 76, in has_different_values
    if not self.files:
    ^^^^^^^^^^
    AttributeError: 'EartagTagEditableLabel' object has no attribute 'files' Traceback (most recent call last):
    File "/usr/share/eartag/eartag/fileview.py", line 984, in update_binds
    self._bind_files(added_files)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/share/eartag/eartag/fileview.py", line 1019, in _bind_files
    entry.bind_to_file(file)
    ~~~~~~~~~~~~~~~~~~^^^^^^
    File "/usr/share/eartag/eartag/tagentry.py", line 54, in bind_to_file
    if file in self.files:
    ^^^^^^^^^^
    AttributeError: 'EartagTagEditableLabel' object has no attribute 'files'


    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable
    APT policy: (500, 'unstable'), (500, 'testing')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.12.17-amd64 (SMP w/4 CPU threads; PREEMPT)
    Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages eartag depends on:
    ii dconf-gsettings-backend [gsettings-backend] 0.40.0-5
    ii gir1.2-adw-1 1.7~rc-1
    ii gir1.2-gtk-4.0 4.17.5+ds-3
    ii python3 3.13.2-2
    ii python3-acoustid 1.3.0-2
    ii python3-gi 3.50.0-4+b1
    ii python3-magic 2:0.4.27-3
    ii python3-mutagen 1.47.0-1
    ii python3-pil 11.1.0-5+b1

    eartag recommends no packages.

    eartag suggests no packages.

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matthias Geiger@21:1/5 to kapouer@melix.org on Sat Mar 8 00:00:01 2025
    Control: forwarded -1 https://gitlab.gnome.org/World/eartag/-/issues/151 Control: tags -1 confirmed

    On Fri, 07 Mar 2025 12:02:16 +0100 =?utf-8?b?SsOpcsOpbXkgTGFs?= <kapouer@melix.org> wrote:
    Package: eartag
    Version: 0.6.4-1
    Severity: normal

    Since very recently (after recent adwaita upgrade, maybe ?) eartag started failing
    to "save" tags modifications when editing tags of mp3 files.

    This is what I get when running "eartag ." from cli:

    AttributeError: 'PopoverMenu' object has no attribute 'get_pages'. Did you mean: 'get_flags'?
    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/gi/_propertyhelper.py", line 401, in obj_set_property
    prop.fset(self, value)
    ~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/share/eartag/eartag/tagentry.py", line 422, in bound_property
    self.refresh_text()
    ~~~~~~~~~~~~~~~~~^^
    File "/usr/share/eartag/eartag/tagentry.py", line 126, in refresh_text
    if self.has_different_values():
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
    File "/usr/share/eartag/eartag/tagentry.py", line 76, in has_different_values
    if not self.files:
    ^^^^^^^^^^
    AttributeError: 'EartagTagEditableLabel' object has no attribute 'files' Traceback (most recent call last):
    File "/usr/share/eartag/eartag/fileview.py", line 984, in update_binds
    self._bind_files(added_files)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
    File "/usr/share/eartag/eartag/fileview.py", line 1019, in _bind_files
    entry.bind_to_file(file)
    ~~~~~~~~~~~~~~~~~~^^^^^^
    File "/usr/share/eartag/eartag/tagentry.py", line 54, in bind_to_file
    if file in self.files:
    ^^^^^^^^^^
    AttributeError: 'EartagTagEditableLabel' object has no attribute 'files'


    Hi Jeremy,

    thanks for the bugreport. I can confirm I have the same bug on my
    machine (and that it worked™) with 0.6.4 some time back. I submitted an
    issue upstream for now.

    best,

    werdahias

    PS: Glad to see software I packaged getting used :)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)