Github messages for voidlinux
 help / color / mirror / Atom feed
From: Johnnynator <Johnnynator@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] `quodlibet` fails to start with "ModuleNotFoundError: No module named 'senf'" error
Date: Wed, 11 Oct 2023 17:22:50 +0200	[thread overview]
Message-ID: <20231011152250.m3M7Jg8H08vkTxztaKPwRzHaXOJmtomjXcX8gUBbI10@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46603@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1963 bytes --]

Closed issue by mhmdanas on void-packages repository

https://github.com/void-linux/void-packages/issues/46603

Description:
### Is this a new report?

Yes

### System Info

Void 6.5.6_1 x86_64 GenuineIntel notuptodate rrrmFFFFFFFFFFFFFFF

### Package(s) Affected

quodlibet-4.5.0_3

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

Couldn't find anything.

### Expected behaviour

`quodlibet` start successfully.

### Actual behaviour

```
$ quodlibet
Traceback (most recent call last):
  File "/usr/bin/quodlibet", line 11, in <module>
    from quodlibet.main import main
  File "/usr/lib/python3.12/site-packages/quodlibet/__init__.py", line 21, in <module>
    from .util.i18n import _, C_, N_, ngettext, npgettext
  File "/usr/lib/python3.12/site-packages/quodlibet/util/__init__.py", line 28, in <module>
    from senf import fsnative
ModuleNotFoundError: No module named 'senf'
```

This is despite the vendored `senf` Python package being present in `quodlibet`:
```
$ xls quodlibet | grep senf
/usr/lib/python3.12/site-packages/quodlibet/packages/senf/__init__.py
/usr/lib/python3.12/site-packages/quodlibet/packages/senf/_argv.py
/usr/lib/python3.12/site-packages/quodlibet/packages/senf/_compat.py
/usr/lib/python3.12/site-packages/quodlibet/packages/senf/_environ.py
/usr/lib/python3.12/site-packages/quodlibet/packages/senf/_fsnative.py
/usr/lib/python3.12/site-packages/quodlibet/packages/senf/_print.py
/usr/lib/python3.12/site-packages/quodlibet/packages/senf/_stdlib.py
/usr/lib/python3.12/site-packages/quodlibet/packages/senf/_temp.py
/usr/lib/python3.12/site-packages/quodlibet/packages/senf/_winansi.py
/usr/lib/python3.12/site-packages/quodlibet/packages/senf/_winapi.py
```

According to a user on #voidlinux, this error only appeared after updating their system yesterday, so it could be related to the Python 3.12 bump.

### Steps to reproduce

1. Run `quodlibet`

      parent reply	other threads:[~2023-10-11 15:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-11 15:21 [ISSUE] " mhmdanas
2023-10-11 15:22 ` Johnnynator
2023-10-11 15:22 ` Johnnynator [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231011152250.m3M7Jg8H08vkTxztaKPwRzHaXOJmtomjXcX8gUBbI10@z \
    --to=johnnynator@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).