Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1283607
| From | VA <bugs@indigo.re> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1129012: app is improperly packaged |
| Date | 2026-02-25 21:20 +0100 |
| Message-ID | <Mstwt-3ibl-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Package: gpu-viewer
Version: 3.23+ds-1
1. setting env var PYTHONSAFEPATH=1 is a good security practice but it
seems the app can't run when it's set, which means its path is not
configured properly. It's a common packaging error, see for example #1098672
```
% gpu-viewer
Traceback (most recent call last):
File "/usr/share/gpu-viewer/Files/gpu_viewer.py", line 13, in <module>
from vulkan_viewer import create_vulkan_tab_content
ModuleNotFoundError: No module named 'vulkan_viewer'
```
2. even when disabling this security, the app still fails to run:
```
% PYTHONSAFEPATH= LANG=C gpu-viewer
[…] usual useless gtk messages […]
Traceback (most recent call last):
File "/usr/share/gpu-viewer/Files/gpu_viewer.py", line 262, in
on_activate
about_box = about_page(page3_box)
File "/usr/share/gpu-viewer/Files/aboutPage.py", line 70, in about_page
with open("../About_GPU_Viewer", "r") as file1:
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory:
'../About_GPU_Viewer'
```
3. So I Ctrl-C the app, and when I try to run it again, a dialog box
tells me
> gpu-viewer is already running
> If you are unable to view the application, please run rm -r
/tmp/gpu-viewer and run the application again
so the app doesn't work at all as is.
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#1129012: app is improperly packaged VA <bugs@indigo.re> - 2026-02-25 21:20 +0100
Bug#1129012: app is improperly packaged Seyed Mohamad Amin Modaresi <modaresisofthard@proton.me> - 2026-02-25 23:20 +0100
Bug#1129012: app is improperly packaged VA <bugs@indigo.re> - 2026-02-26 08:10 +0100
Bug#1129012: app is improperly packaged Seyed Mohamad Amin Modaresi <modaresisofthard@proton.me> - 2026-02-26 08:10 +0100
csiph-web