Bug 2238288 - Error message when trying to expand the "Update information" section
Summary: Error message when trying to expand the "Update information" section
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: dnfdragora
Version: 40
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2257531
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-11 09:02 UTC by Kåre Løvgren
Modified: 2025-05-16 07:43 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-05-16 07:43:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kåre Løvgren 2023-09-11 09:02:37 UTC
When I try to expand the "Update information" section in the lower part of the window, I get a popup with this text:
    dnfdaemon attribute error occurred:
    'tuple' object has no attribute 'replace'

I can see the information in the "Software" component, so this is not critical, but it should of course be fixed at some point.

Reproducible: Always

Steps to Reproduce:
1. Open dnfdragora
2. Select any update in the list
3. Click "Update information" in the section below.
Actual Results:  
Error message, as described in "Details" above

Comment 1 Roel van de Kraats 2023-09-12 11:54:57 UTC
I'm having this same issue since a couple of days. Running F38 / xfce:
* dnfdragora-2.1.4-1.fc38.noarch
* dnfdragora-updater-2.1.4-1.fc38.noarch
* python3-pystray-0.17.3-7.fc38.noarch

Full error details:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pystray/_base.py", line 267, in inner
    callback(self)
  File "/usr/lib/python3.11/site-packages/pystray/_base.py", line 368, in __call__
    return self._action(icon, self)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/pystray/_base.py", line 463, in wrapper0
    return action()
           ^^^^^^^^
  File "/usr/lib/python3.11/site-packages/dnfdragora/updater.py", line 272, in __run_dnfdragora
    return self.__run_dialog({})
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/dnfdragora/updater.py", line 251, in __run_dialog
    self.__main_gui.handleevent()
  File "/usr/lib/python3.11/site-packages/dnfdragora/ui.py", line 1477, in handleevent
    self._setInfoOnWidget(sel_pkg)
  File "/usr/lib/python3.11/site-packages/dnfdragora/ui.py", line 1115, in _setInfoOnWidget
    s += '<b>%s</b> %s'%(pkg.updateinfo[0]['id'], escape(pkg.updateinfo[0]['updated'])).replace("\n", "<br>")
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'tuple' object has no attribute 'replace'

Comment 2 Roel van de Kraats 2023-09-12 13:09:15 UTC
It seems that this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2237265 , which already has some more information

Comment 3 Kåre Løvgren 2024-03-25 07:52:35 UTC
Thans, Roel! Yes, it looks like a duplicate. I have commented on bug 2237265 but have still updated this one to Fedora 39 (to avoid having it auto-closed), as I still have the problem after updating.

Comment 4 Aoife Moloney 2024-11-27 21:29:40 UTC
Fedora Linux 39 entered end-of-life (EOL) status on 2024-11-26.

Fedora Linux 39 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 Kåre Løvgren 2024-12-04 15:32:30 UTC
Updated version to 40 and re-opened, as this has not yet been fixed.

Comment 6 Woi 2025-01-03 15:37:37 UTC
Duplicate of #bug2237265
Has been fixed upstream a year ago:
https://github.com/manatools/dnfdragora/issues/217
https://github.com/manatools/dnfdragora/issues/239

Comment 7 Aoife Moloney 2025-04-25 10:07:07 UTC
This message is a reminder that Fedora Linux 40 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '40'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 40 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 8 Aoife Moloney 2025-05-16 07:43:20 UTC
Fedora Linux 40 entered end-of-life (EOL) status on 2025-05-13.

Fedora Linux 40 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.