FS#77617 - [xonsh] gnome on endeavouros causes warning and incomplete funtionality

Attached to Project: Community Packages
Opened by Matthias Berse (f0rdprefect) - Wednesday, 22 February 2023, 11:57 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 22 February 2023, 20:42 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

xonsh not working properly when started in gnome environment on endeavouros

Additional info:
* package version(s) - 0.13.4
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

on a fresh install of endeavouros with gnome desktop preselected when starting xonsh one will get this python related warning:

```
/usr/lib/python3.10/site-packages/prompt_toolkit/eventloop/utils.py:118: DeprecationWarning: There is no current event loop
return asyncio.get_event_loop_policy().get_event_loop()
```

this will result in not properly evaluating the prompt, e.g. gitstatus won't show up. I am just scrating the surface here, but would like to get the ball rolling.

I tried both, installing the KDE desktop and just installing xonsh and python-prompt-toolkit in the live environment. Both work without the Warning and gitstatus is just fine.

I know this is most likely not a xonsh bug but that is where it hurts for me.
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 22 February 2023, 20:42 GMT
Reason for closing:  Not a bug
Comment by Matthias Berse (f0rdprefect) - Wednesday, 22 February 2023, 15:36 GMT
I further track this down. My initial assumption that this would cause a failure to show the gitstatus turns out to be unrelated. Please close this bug for now as this seems to be quite an edge case...
Comment by Toolybird (Toolybird) - Wednesday, 22 February 2023, 20:42 GMT
> on endeavouros

Please report to your distribution. Derivative distros are not supported here.

Loading...