Bug 2277705 - [abrt] urlscan: start(): __init__.py:338:__getattr__:AttributeError: decoration not found in urwid
Summary: [abrt] urlscan: start(): __init__.py:338:__getattr__:AttributeError: decorati...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: urlscan
Version: 40
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a7802c41e56c8bf343d07e4b002...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-29 10:19 UTC by Ankur Sinha (FranciscoD)
Modified: 2024-05-14 01:26 UTC (History)
1 user (show)

Fixed In Version: urlscan-1.0.1-3.fc41 urlscan-1.0.2-3.fc40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-29 11:00:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (662 bytes, text/plain)
2024-04-29 10:19 UTC, Ankur Sinha (FranciscoD)
no flags Details
File: environ (6.54 KB, text/plain)
2024-04-29 10:19 UTC, Ankur Sinha (FranciscoD)
no flags Details
File: backtrace (2.32 KB, text/plain)
2024-04-29 10:19 UTC, Ankur Sinha (FranciscoD)
no flags Details
File: mountinfo (2.96 KB, text/plain)
2024-04-29 10:19 UTC, Ankur Sinha (FranciscoD)
no flags Details
File: cpuinfo (3.04 KB, text/plain)
2024-04-29 10:19 UTC, Ankur Sinha (FranciscoD)
no flags Details
File: namespaces (171 bytes, text/plain)
2024-04-29 10:19 UTC, Ankur Sinha (FranciscoD)
no flags Details
File: open_fds (769 bytes, text/plain)
2024-04-29 10:19 UTC, Ankur Sinha (FranciscoD)
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github firecat53 urlscan issues 146 0 None open urlscan: start(): __init__.py:338:__getattr__:AttributeError: decoration not found in urwid 2024-04-29 10:33:00 UTC

Description Ankur Sinha (FranciscoD) 2024-04-29 10:19:00 UTC
Description of problem:
Use the search function (`/`)

Version-Release number of selected component:
urlscan-1.0.1-2.fc40

Additional info:
reporter:       libreport-2.17.15
crash_function: start
kernel:         6.8.8-300.fc40.x86_64
cmdline:        /usr/bin/python3 -sP /usr/bin/urlscan -d --headers
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/tmux-spawn-a2956d99-6a05-4d5c-9640-9191232a6d56.scope
interpreter:    python3-3.12.3-2.fc40.x86_64
uid:            1000
reason:         __init__.py:338:__getattr__:AttributeError: decoration not found in urwid
package:        urlscan-1.0.1-2.fc40
comment:        Use the search function (`/`)
exception_type: urwid.event_loop.main_loop.CantUseExternalLoop
executable:     /usr/bin/urlscan
type:           Python3
runlevel:       N 5

Truncated backtrace:
__init__.py:338:__getattr__:AttributeError: decoration not found in urwid

Traceback (most recent call last):
  File "/usr/lib64/python3.12/site-packages/urwid/event_loop/main_loop.py", line 436, in _run
    self.start()
  File "/usr/lib64/python3.12/site-packages/urwid/event_loop/main_loop.py", line 401, in start
    raise CantUseExternalLoop(f"Screen {self.screen!r} doesn't support external event loops")
urwid.event_loop.main_loop.CantUseExternalLoop: Screen <urwid.display.curses.Screen object at 0x7fba4e551370> doesn't support external event loops

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/urlscan", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.12/site-packages/urlscan/__main__.py", line 191, in main
    tui.main()
  File "/usr/lib/python3.12/site-packages/urlscan/urlchoose.py", line 263, in main
    self.loop.run()
  File "/usr/lib64/python3.12/site-packages/urwid/event_loop/main_loop.py", line 343, in run
    self._run()
  File "/usr/lib64/python3.12/site-packages/urwid/event_loop/main_loop.py", line 439, in _run
    self._run_screen_event_loop()
  File "/usr/lib64/python3.12/site-packages/urwid/event_loop/main_loop.py", line 510, in _run_screen_event_loop
    self.process_input(keys)
  File "/usr/lib64/python3.12/site-packages/urwid/event_loop/main_loop.py", line 595, in process_input
    something_handled |= bool(self.unhandled_input(k))
                              ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/urwid/event_loop/main_loop.py", line 641, in unhandled_input
    return self._unhandled_input(data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urlscan/urlchoose.py", line 339, in unhandled
    self.keys[key]()
  File "/usr/lib/python3.12/site-packages/urlscan/urlchoose.py", line 479, in _search_key
    self._search()
  File "/usr/lib/python3.12/site-packages/urlscan/urlchoose.py", line 702, in _search
    if isinstance(col[0], urwid.decoration.AttrMap):
                          ^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/urwid/__init__.py", line 338, in __getattr__
    raise AttributeError(f"{name} not found in {__package__}")
AttributeError: decoration not found in urwid

Local variables in innermost frame:
name: 'decoration'

Comment 1 Ankur Sinha (FranciscoD) 2024-04-29 10:19:04 UTC
Created attachment 2029969 [details]
File: os_info

Comment 2 Ankur Sinha (FranciscoD) 2024-04-29 10:19:05 UTC
Created attachment 2029970 [details]
File: environ

Comment 3 Ankur Sinha (FranciscoD) 2024-04-29 10:19:06 UTC
Created attachment 2029971 [details]
File: backtrace

Comment 4 Ankur Sinha (FranciscoD) 2024-04-29 10:19:08 UTC
Created attachment 2029972 [details]
File: mountinfo

Comment 5 Ankur Sinha (FranciscoD) 2024-04-29 10:19:09 UTC
Created attachment 2029973 [details]
File: cpuinfo

Comment 6 Ankur Sinha (FranciscoD) 2024-04-29 10:19:10 UTC
Created attachment 2029974 [details]
File: namespaces

Comment 7 Ankur Sinha (FranciscoD) 2024-04-29 10:19:12 UTC
Created attachment 2029975 [details]
File: open_fds

Comment 8 Fedora Update System 2024-04-29 10:55:19 UTC
FEDORA-2024-175b646e70 (urlscan-1.0.1-3.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-175b646e70

Comment 9 Fedora Update System 2024-04-29 10:57:35 UTC
FEDORA-2024-e5014d7d2b (urlscan-1.0.1-3.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-e5014d7d2b

Comment 10 Fedora Update System 2024-04-29 11:00:23 UTC
FEDORA-2024-175b646e70 (urlscan-1.0.1-3.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2024-04-30 02:06:42 UTC
FEDORA-2024-e5014d7d2b has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-e5014d7d2b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-e5014d7d2b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2024-05-06 01:38:23 UTC
FEDORA-2024-5cb5883131 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-5cb5883131`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5cb5883131

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2024-05-14 01:26:04 UTC
FEDORA-2024-5cb5883131 (urlscan-1.0.2-3.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


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