flathub / flathub/com.jetbrains.PyCharm-Professional

Running Pycharm fails with "bwrap: Can't make symlink at /var/run: File exists"

Open
#143 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
15
Forks
10
Avg merge
4h 34m
Merged PRs (30d)
1

Description

PyCharm-Professional 2202.03
flatpak 1.12.7
Pop! OS 22.04 LTS (Ubuntu 22.04 based)
kernel 6.0.6-76060006-generic

pycharm installs fine, but fails to start. Running it from the command line gives:

```
$ flatpak run com.jetbrains.PyCharm-Professional
bwrap: Can't make symlink at /var/run: File exists
```

Running with `-v` gives

```
$ flatpak run -v com.jetbrains.PyCharm-Professional
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/morgan/.local/share/flatpak
F: Opening user flatpak installation at path /home/morgan/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Skipping parental controls check for app/com.jetbrains.PyCharm-Professional/x86_64/stable since parental controls are disabled globally
F: Opening user flatpak installation at path /home/morgan/.local/share/flatpak
F: /home/morgan/.local/share/flatpak/runtime/org.freedesktop.Sdk/x86_64/22.08/686a6b2db9d605395737641552c26aa4bb798d256e5307f0ca061f93eb320149/files/lib32 does not exist
F: Cleaning up unused container id 1530829805
F: Cleaning up per-app-ID state for com.jetbrains.PyCharm-Professional
F: Allocated instance id 3489018643
F: Add defaults in dir /com/jetbrains/PyCharm-Professional/
F: Add locks in dir /com/jetbrains/PyCharm-Professional/
F: Allowing host-fs access
F: skipping export for path /usr/libx32
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/morgan/.config/pulse/client.conf': Error opening file /home/morgan/.config/pulse/client.conf: No such file or directory
F: Allowing session-dbus access
F: Running 'bwrap --args 40 xdg-dbus-proxy --args=42'
F: Running 'bwrap --args 40 pycharm'
bwrap: Can't make symlink at /var/run: File exists
```

`/var/run` is a symlink to `/run`

```
$ ls -l /var/run
lrwxrwxrwx 1 root root 4 Dec 15 17:28 /var/run -> /run
$ ls -ld /run
drwxr-xr-x 55 root root 1720 Dec 15 17:16 /run
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure with `flatpak run com.jetbrains.PyCharm-Professional` and compare the verbose launch output. The payload names no repository files or tests, so investigate the Flatpak and bubblewrap launch configuration around `/var/run`; done means PyCharm starts successfully on the reported environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, ubuntu
Domain
desktop-dev, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.