Bug 1844805

Summary: [abrt] mate-menu: get_system_item_paths(): applications.py:64:get_system_item_paths:AttributeError: '_Environ' object has no attribute 'has_key'
Product: [Fedora] Fedora Reporter: meddit <aldavidenko76>
Component: mate-menuAssignee: Wolfgang Ulbrich <raveit65.sun>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: raveit65.sun
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/e384a362a4b30474f21907cbfeccfbb247113ec4
Whiteboard: abrt_hash:1898244375f3bc7bf56cd588ebfeb2325029d0e6;VARIANT_ID=matecompiz;
Fixed In Version: mate-menu-20.04.3-1.fc32 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-16 01:29:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

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.