Bug 2213971

Summary: [abrt] cinnamon: on_edit_properties_activate(): MainWindow.py:340:on_edit_properties_activate:TypeError: can only concatenate str (not "NoneType") to str
Product: [Fedora] Fedora Reporter: tongnguyenminhkhang21012020
Component: cinnamonAssignee: leigh scott <leigh123linux>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: epel-packagers-sig, leigh123linux, miketwebster, riehecky, tongnguyenminhkhang21012020
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/a9793e9cdf4650040449f88e65ec5a69dce205e
Whiteboard: abrt_hash:4d1e264e6c07c448d9b8a1eedcb2b3e3823df8be;VARIANT_ID=matecompiz;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-22 14:05:05 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: os_info
none
File: mountinfo
none
File: cpuinfo
none
File: backtrace
none
File: environ
none
File: namespaces
none
File: open_fds none

Description tongnguyenminhkhang21012020 2023-06-10 14:11:08 UTC
Description of problem:
Start "Privacy" after starting Cinnamon session through login manager
Additional info: Cinnamon is installed manually after Fedora 38 MATE-Compiz spin by installing cinnamon and fedora-release-cinnamon. I have Wayfire, Cinnamon and MATE installed (through yum package manager).

Version-Release number of selected component:
cinnamon-5.6.8-2.fc38

Additional info:
reporter:       libreport-2.17.10
exception_type: TypeError
package:        cinnamon-5.6.8-2.fc38
cmdline:        cinnamon-menu-editor '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' ''
executable:     /usr/bin/cinnamon-menu-editor
type:           Python3
runlevel:       N 5
reason:         MainWindow.py:340:on_edit_properties_activate:TypeError: can only concatenate str (not "NoneType") to str
interpreter:    cinnamon-5.6.8-2.fc38.x86_64
kernel:         6.3.5-200.fc38.x86_64
uid:            1000
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
crash_function: on_edit_properties_activate

Truncated backtrace:
MainWindow.py:340:on_edit_properties_activate:TypeError: can only concatenate str (not "NoneType") to str

Traceback (most recent call last):
  File "/usr/share/cinnamon/cinnamon-menu-editor/cme/MainWindow.py", line 446, in on_item_tree_row_activated
    self.on_edit_properties_activate(None)
  File "/usr/share/cinnamon/cinnamon-menu-editor/cme/MainWindow.py", line 340, in on_edit_properties_activate
    process = subprocess.Popen(['cinnamon-desktop-editor', '-m' + file_type, '-o' + file_path], env=os.environ)
                                                                             ~~~~~^~~~~~~~~~~
TypeError: can only concatenate str (not "NoneType") to str

Local variables in innermost frame:
self: <cme.MainWindow.MainWindow object at 0x7f1f15939c50>
menu: None
item_tree: <Gtk.TreeView object at 0x7f1f149dcf80 (GtkTreeView at 0x55cbbff99ee0)>
items: <Gtk.TreeStore object at 0x7f1f13352dc0 (GtkTreeStore at 0x55cbbffa5f90)>
iter: <Gtk.TreeIter object at 0x7f1f133db530 (GtkTreeIter at 0x55cbbfdca750)>
item: <CMenu.TreeDirectory object at 0x7f1f133db2f0 (GMenuTreeDirectory at 0x55cbbfd923b0)>
file_type: 'directory'
file_path: None

Comment 1 tongnguyenminhkhang21012020 2023-06-10 14:11:12 UTC
Created attachment 1970197 [details]
File: os_info

Comment 2 tongnguyenminhkhang21012020 2023-06-10 14:11:14 UTC
Created attachment 1970198 [details]
File: mountinfo

Comment 3 tongnguyenminhkhang21012020 2023-06-10 14:11:16 UTC
Created attachment 1970199 [details]
File: cpuinfo

Comment 4 tongnguyenminhkhang21012020 2023-06-10 14:11:18 UTC
Created attachment 1970200 [details]
File: backtrace

Comment 5 tongnguyenminhkhang21012020 2023-06-10 14:11:20 UTC
Created attachment 1970201 [details]
File: environ

Comment 6 tongnguyenminhkhang21012020 2023-06-10 14:11:22 UTC
Created attachment 1970202 [details]
File: namespaces

Comment 7 tongnguyenminhkhang21012020 2023-06-10 14:11:24 UTC
Created attachment 1970203 [details]
File: open_fds

Comment 8 Aoife Moloney 2024-05-22 14:05:05 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 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.