Bug 2273539 - [abrt] cinnamon: run(): utils.py:21:spawn:subprocess.CalledProcessError: Command 'chmod +x /home/abdulbasset/.local/share/applications/Com.Sun.Tools.Jdi=All-Unnamed Com.Intellij.Idea.Main.cinnamon-generated.desktop' returned non-zero exit status 1.
Summary: [abrt] cinnamon: run(): utils.py:21:spawn:subprocess.CalledProcessError: Comm...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: cinnamon
Version: 39
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: leigh scott
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:f0c5aa517d17dab373b2bdaf61a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-04 22:43 UTC by Abed
Modified: 2024-04-05 06:26 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-04-05 06:26:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (698 bytes, text/plain)
2024-04-04 22:43 UTC, Abed
no flags Details
File: environ (1.45 KB, text/plain)
2024-04-04 22:43 UTC, Abed
no flags Details
File: mountinfo (3.60 KB, text/plain)
2024-04-04 22:43 UTC, Abed
no flags Details
File: open_fds (305 bytes, text/plain)
2024-04-04 22:43 UTC, Abed
no flags Details
File: namespaces (171 bytes, text/plain)
2024-04-04 22:43 UTC, Abed
no flags Details
File: backtrace (1.63 KB, text/plain)
2024-04-04 22:43 UTC, Abed
no flags Details
File: cpuinfo (3.33 KB, text/plain)
2024-04-04 22:43 UTC, Abed
no flags Details

Description Abed 2024-04-04 22:43:08 UTC
Description of problem:
trying to create shortcut to a intellij-idea-community installed via snap

Version-Release number of selected component:
cinnamon-6.0.4-5.fc39

Additional info:
reporter:       libreport-2.17.11
kernel:         6.7.11-200.fc39.x86_64
cmdline:        python3 /usr/share/cinnamon/applets/grouped-window-list/utils.py get_process 8697
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
uid:            1000
reason:         utils.py:21:spawn:subprocess.CalledProcessError: Command 'chmod +x /home/abdulbasset/.local/share/applications/Com.Sun.Tools.Jdi=All-Unnamed Com.Intellij.Idea.Main.cinnamon-generated.desktop' returned non-zero exit status 1.
executable:     /usr/share/cinnamon/applets/grouped-window-list/utils.py
type:           Python3
package:        cinnamon-6.0.4-5.fc39
runlevel:       N 5
exception_type: subprocess.CalledProcessError
crash_function: run
interpreter:    python3-3.12.2-2.fc39.x86_64
comment:        trying to create shortcut to a intellij-idea-community installed via snap

Truncated backtrace:
utils.py:21:spawn:subprocess.CalledProcessError: Command 'chmod +x /home/abdulbasset/.local/share/applications/Com.Sun.Tools.Jdi=All-Unnamed Com.Intellij.Idea.Main.cinnamon-generated.desktop' returned non-zero exit status 1.

Traceback (most recent call last):
  File "/usr/share/cinnamon/applets/grouped-window-list/utils.py", line 15, in spawn
    process = subprocess.run(
              ^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['chmod', '+x', '/home/abdulbasset/.local/share/applications/Com.Sun.Tools.Jdi=All-Unnamed', 'Com.Intellij.Idea.Main.cinnamon-generated.desktop']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/cinnamon/applets/grouped-window-list/utils.py", line 112, in <module>
    handle_cli()
  File "/usr/share/cinnamon/applets/grouped-window-list/utils.py", line 105, in handle_cli
    spawn('chmod +x {}'.format(desktop_path))
  File "/usr/share/cinnamon/applets/grouped-window-list/utils.py", line 21, in spawn
    raise subprocess.CalledProcessError(1, command)
subprocess.CalledProcessError: Command 'chmod +x /home/abdulbasset/.local/share/applications/Com.Sun.Tools.Jdi=All-Unnamed Com.Intellij.Idea.Main.cinnamon-generated.desktop' returned non-zero exit status 1.

Local variables in innermost frame:
command: 'chmod +x /home/abdulbasset/.local/share/applications/Com.Sun.Tools.Jdi=All-Unnamed Com.Intellij.Idea.Main.cinnamon-generated.desktop'

Comment 1 Abed 2024-04-04 22:43:12 UTC
Created attachment 2025302 [details]
File: os_info

Comment 2 Abed 2024-04-04 22:43:13 UTC
Created attachment 2025303 [details]
File: environ

Comment 3 Abed 2024-04-04 22:43:14 UTC
Created attachment 2025304 [details]
File: mountinfo

Comment 4 Abed 2024-04-04 22:43:16 UTC
Created attachment 2025305 [details]
File: open_fds

Comment 5 Abed 2024-04-04 22:43:17 UTC
Created attachment 2025306 [details]
File: namespaces

Comment 6 Abed 2024-04-04 22:43:18 UTC
Created attachment 2025307 [details]
File: backtrace

Comment 7 Abed 2024-04-04 22:43:20 UTC
Created attachment 2025308 [details]
File: cpuinfo

Comment 8 leigh scott 2024-04-05 06:26:47 UTC
Maybe file the issue against the snap, they don't seem to comply to the freedesktop standards for desktop files.


'chmod +x /home/abdulbasset/.local/share/applications/Com.Sun.Tools.Jdi=All-Unnamed Com.Intellij.Idea.Main.cinnamon-generated.desktop'


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