pkg_resources.require() doesn't find soundconverter in flatpak
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SoundConverter |
New
|
Undecided
|
Unassigned |
Bug Description
See downstream issue: https:/
A flatpak user noticed that the flatpak on flathub `org.soundconve
```
[jm@jxps13 ~]$ flatpak run org.soundconver
Traceback (most recent call last):
File "/app/bin/
VERSION = pkg_resources.
File "/usr/lib/
needed = self.resolve(
File "/usr/lib/
raise DistributionNot
pkg_resources.
```
I have looked around, but so far have no idea what change in setuptools (presumably) caused this not working anymore. `soundconverter` is properly installed into `/app/lib/
```
[jm@jxps13 ~]$ flatpak run --command=python org.soundconver
['', '/usr/lib/
```
Yet, as you can see from my comment on the Github issue, explicitly setting `PYTHONPATH` to `/app/lib/
I am out of ideas, so I thought I might ask here. Any idea?
since pkg_resources is not important for soundconverter to work, I'll try/catch it.
This is actually not the first time I have seen this failing, whatever the reason is