Bug 1221882 - Spyder IDE wont launch
Summary: Spyder IDE wont launch
Status: RESOLVED INVALID
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Python (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Major (vote)
Target Milestone: Current
Assignee: Benjamin Greiner
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-22 20:51 UTC by Kevin Coonan
Modified: 2024-04-20 22:39 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
daniel.garcia: needinfo? (kevin.coonan)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Coonan 2024-03-22 20:51:20 UTC
User cannot launch Spyder IDE, but can be launched as root.

Permissions on multiple directories under /usr/lib/python3.11/site-packages/ are 700 and should be 755.

Can find these easily: 

find /usr/lib/python3.11/site-packages/ -type d ! -perm 755 -printf '%h\t %p\t %M\n'

and if fixed  (e.g. run as root):
find /usr/lib/python3.find /usr/lib/python3.11/site-packages/ -type d ! -perm 755 -exec chmod 755 {} \;

Spyder will launch properly as a user.

This has been a problem with other Python software in the past (e.g.. PGAdmin4).
Comment 1 Daniel Garcia 2024-03-25 11:55:21 UTC
Do you know which directories doesn't have the correct permissions?

I've tested with the latest tumbleweed container, just installing the spyder package and every directory have the right permission.
Comment 3 Benjamin Greiner 2024-04-20 19:17:42 UTC
You have reported a similar thing about a year ago and never came back with further information: boo#1210375


Cannot reproduce.

> Information for package spyder:
> -------------------------------
> Repository     : Haupt-Repository (OSS)
> Name           : spyder
> Version        : 5.5.4-1.1
> Arch           : noarch
> Vendor         : openSUSE
> Installed Size : 40.8 MiB
> Installed      : Yes
> Status         : up-to-date
> Source package : spyder-5.5.4-1.1.src
> Upstream URL   : https://www.spyder-ide.org/
> Summary        : The Scientific Python Development Environment

> $ find /usr/lib/python3.11/site-packages/ -type d ! -perm 755  | wc -l
> 0
> $ find /usr/lib/python3.11/site-packages/ -type d | wc -l
> 7052

I presume this is a problem of your setup and the result of an out-of-band install into system namespace.