Bug 1844805 - [abrt] mate-menu: get_system_item_paths(): applications.py:64:get_system_item_paths:AttributeError: '_Environ' object has no attribute 'has_key'
Summary: [abrt] mate-menu: get_system_item_paths(): applications.py:64:get_system_item...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mate-menu
Version: 32
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Wolfgang Ulbrich
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:1898244375f3bc7bf56cd588ebf...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-07 10:11 UTC by meddit
Modified: 2020-06-16 01:29 UTC (History)
1 user (show)

Fixed In Version: mate-menu-20.04.3-1.fc32
Clone Of:
Environment:
Last Closed: 2020-06-16 01:29:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (546 bytes, text/plain)
2020-06-07 10:11 UTC, meddit
no flags Details
File: cpuinfo (2.11 KB, text/plain)
2020-06-07 10:11 UTC, meddit
no flags Details
File: environ (3.67 KB, text/plain)
2020-06-07 10:12 UTC, meddit
no flags Details
File: mountinfo (2.70 KB, text/plain)
2020-06-07 10:12 UTC, meddit
no flags Details
File: namespaces (172 bytes, text/plain)
2020-06-07 10:12 UTC, meddit
no flags Details
File: open_fds (12.13 KB, text/plain)
2020-06-07 10:12 UTC, meddit
no flags Details

Description meddit 2020-06-07 10:11:55 UTC
Description of problem:
I tried to select the Edit Properties item in the mate-menu

Version-Release number of selected component:
mate-menu-19.04.0-5.fc32

Additional info:
reporter:       libreport-2.13.1
cgroup:         0::/user.slice/user-1000.slice/user/dbus\x2d:1.2\x2dorg.mate.panel.applet.MateMenuAppletFactory.slice/dbus-:1.2-org.mate.panel.applet.MateMenuAppletFactory
cmdline:        mate-menu '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' ''
crash_function: get_system_item_paths
exception_type: AttributeError
executable:     /usr/lib/mate-menu/mate-menu.py
interpreter:    mate-menu-19.04.0-5.fc32.noarch
kernel:         5.6.15-300.fc32.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
applications.py:64:get_system_item_paths:AttributeError: '_Environ' object has no attribute 'has_key'

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/mate_menu/plugins/applications.py", line 1046, in onPropsApp
    sysPaths = get_system_item_paths()
  File "/usr/lib/python3.8/site-packages/mate_menu/plugins/applications.py", line 64, in get_system_item_paths
    if os.environ.has_key('XDG_DATA_DIRS'):
AttributeError: '_Environ' object has no attribute 'has_key'

Local variables in innermost frame:
item_dirs: []

Comment 1 meddit 2020-06-07 10:11:58 UTC
Created attachment 1695787 [details]
File: backtrace

Comment 2 meddit 2020-06-07 10:11:59 UTC
Created attachment 1695788 [details]
File: cpuinfo

Comment 3 meddit 2020-06-07 10:12:01 UTC
Created attachment 1695789 [details]
File: environ

Comment 4 meddit 2020-06-07 10:12:03 UTC
Created attachment 1695790 [details]
File: mountinfo

Comment 5 meddit 2020-06-07 10:12:04 UTC
Created attachment 1695791 [details]
File: namespaces

Comment 6 meddit 2020-06-07 10:12:06 UTC
Created attachment 1695792 [details]
File: open_fds

Comment 7 Fedora Update System 2020-06-07 15:48:39 UTC
FEDORA-2020-49cf2aa606 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-49cf2aa606

Comment 8 Fedora Update System 2020-06-08 01:47:54 UTC
FEDORA-2020-49cf2aa606 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-49cf2aa606`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-49cf2aa606

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

Comment 9 Fedora Update System 2020-06-16 01:29:24 UTC
mate-menu-20.04.3-1.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, 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.