Github messages for voidlinux
 help / color / mirror / Atom feed
From: lee2sman <lee2sman@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] visidata package needs an additional dependency installed to run
Date: Fri, 02 Dec 2022 22:13:38 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40880@inbox.vuxu.org> (raw)

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

New issue by lee2sman on void-packages repository

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

Description:
### Is this a new report?

Yes

### System Info

Void 6.0.10_1 x86_64 GenuineIntel notuptodate FF

### Package(s) Affected

visidata-2.8.2

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

_No response_

### Expected behaviour

Hi I tried installing visidata and found it needed python3-setuptools installed as a dependency to get it to work.

I don't yet understand how to do packaging work in Void or else i'd offer a PR.

### Actual behaviour

Here's the fail from prior to also installing python3-setuptools that led me to figure out what additional dependency was needed

```
Traceback (most recent call last):
  File "/bin/visidata", line 33, in <module>
    sys.exit(load_entry_point('visidata==2.8', 'console_scripts', 'visidata')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/bin/visidata", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 198, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1128, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.11/site-packages/visidata/__init__.py", line 96, in <module>
    import visidata.help
  File "/usr/lib/python3.11/site-packages/visidata/help.py", line 1, in <module>
    from pkg_resources import resource_filename
ModuleNotFoundError: No module named 'pkg_resources'
````

### Steps to reproduce

```
sudo xbps-install visidata
visidata
```



             reply	other threads:[~2022-12-02 21:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-02 21:13 lee2sman [this message]
2022-12-03  2:37 ` [ISSUE] [CLOSED] " sgn

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40880@inbox.vuxu.org \
    --to=lee2sman@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).