Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] visidata package needs an additional dependency installed to run
@ 2022-12-02 21:13 lee2sman
  2022-12-03  2:37 ` [ISSUE] [CLOSED] " sgn
  0 siblings, 1 reply; 2+ messages in thread
From: lee2sman @ 2022-12-02 21:13 UTC (permalink / raw)
  To: ml

[-- 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
```



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ISSUE] [CLOSED] visidata package needs an additional dependency installed to run
  2022-12-02 21:13 [ISSUE] visidata package needs an additional dependency installed to run lee2sman
@ 2022-12-03  2:37 ` sgn
  0 siblings, 0 replies; 2+ messages in thread
From: sgn @ 2022-12-03  2:37 UTC (permalink / raw)
  To: ml

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

Closed 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
```



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-03  2:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-02 21:13 [ISSUE] visidata package needs an additional dependency installed to run lee2sman
2022-12-03  2:37 ` [ISSUE] [CLOSED] " sgn

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).