FS#79481 - [xpra] python-pyxdg and python-paramiko missing from optdeps

Attached to Project: Arch Linux
Opened by Andrea (BrainDamage) - Sunday, 27 August 2023, 05:25 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Giancarlo Razzolini (grazzolini)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

python-paramiko is listed in the [list of dependencies](https://github.com/Xpra-org/xpra/blob/master/docs/Build/Dependencies.md)

without paramiko, the server will throw a non-fatal error:

```
2023-08-27 07:12:11,325 Error: cannot enable SSH socket upgrades:
2023-08-27 07:12:11,325 No module named 'paramiko'
```

it's mainly used for speed optimizations

python-pyxdg unfortunately is more obscure, it's not listed in the generic [list of dependencies](https://github.com/Xpra-org/xpra/blob/master/docs/Build/Dependencies.md), but it is listed in the [list of debian dependencies](https://github.com/Xpra-org/xpra/blob/master/docs/Build/Dependencies.md)

without the xdg module, the server will throw a warning and a non-fatal error:

```
2023-08-27 07:12:20,560 Warning: cannot use application menu data:
2023-08-27 07:12:20,560 no python-xdg module
Exception in thread load-menu-data:
Traceback (most recent call last):
File "/usr/lib/python3.11/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.11/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.11/site-packages/xpra/server/menu_provider.py", line 142, in load
self.get_desktop_sessions()
File "/usr/lib/python3.11/site-packages/xpra/server/menu_provider.py", line 221, in get_desktop_sessions
self.desktop_sessions = load_desktop_sessions()
File "/usr/lib/python3.11/site-packages/xpra/platform/xposix/menu_helper.py", line 451, in load_desktop_sessions
from xdg.DesktopEntry import DesktopEntry
ModuleNotFoundError: No module named 'xdg'
```

it is used to parse the list of desktop entries on the server side and make it available to the client
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:19 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/xpra/issues/2

Loading...