Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] pgcli: ImportError on startup
@ 2021-10-13 19:39 klardotsh
  2021-10-13 20:42 ` ahesford
  2021-10-14  1:53 ` [ISSUE] [CLOSED] " ahesford
  0 siblings, 2 replies; 3+ messages in thread
From: klardotsh @ 2021-10-13 19:39 UTC (permalink / raw)
  To: ml

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

New issue by klardotsh on void-packages repository

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

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  `Void 5.12.17_1 x86_64 AuthenticAMD notuptodate rrrmFFFFFFFF`
* package:  `pgcli-3.0.0_3`

This doesn't seem to have been reported upstream, so I'm *guessing* this is a packaging concern, but if I need to reroute this upstream (i.e. there's no known issue with the Void Python stack, perhaps other applications using similar dependencies), just holler.

### Expected behavior

pgcli can connect to a database

### Actual behavior

Immediately crashes at startup with

```
Traceback (most recent call last):
  File "/bin/pgcli", line 33, in <module>
    sys.exit(load_entry_point('pgcli==3.0.0', 'console_scripts', 'pgcli')())
  File "/bin/pgcli", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 162, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/pgcli/main.py", line 23, in <module>
    from cli_helpers.tabular_output import TabularOutputFormatter
  File "/usr/lib/python3.10/site-packages/cli_helpers/tabular_output/__init__.py", line 11, in <module>
    from .output_formatter import format_output, TabularOutputFormatter
  File "/usr/lib/python3.10/site-packages/cli_helpers/tabular_output/output_formatter.py", line 10, in <module>
    from . import (delimited_output_adapter, vertical_table_adapter,
  File "/usr/lib/python3.10/site-packages/cli_helpers/tabular_output/tabulate_adapter.py", line 10, in <module>
    import tabulate
  File "/usr/lib/python3.10/site-packages/tabulate.py", line 16, in <module>
    from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
```

### Steps to reproduce the behavior

Just trying launching `pgcli`, even without a connection string.

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

* Re: pgcli: ImportError on startup
  2021-10-13 19:39 [ISSUE] pgcli: ImportError on startup klardotsh
@ 2021-10-13 20:42 ` ahesford
  2021-10-14  1:53 ` [ISSUE] [CLOSED] " ahesford
  1 sibling, 0 replies; 3+ messages in thread
From: ahesford @ 2021-10-13 20:42 UTC (permalink / raw)
  To: ml

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

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/issues/33529#issuecomment-942704802

Comment:
This should be fixed with #33527.

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

* Re: [ISSUE] [CLOSED] pgcli: ImportError on startup
  2021-10-13 19:39 [ISSUE] pgcli: ImportError on startup klardotsh
  2021-10-13 20:42 ` ahesford
@ 2021-10-14  1:53 ` ahesford
  1 sibling, 0 replies; 3+ messages in thread
From: ahesford @ 2021-10-14  1:53 UTC (permalink / raw)
  To: ml

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

Closed issue by klardotsh on void-packages repository

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

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  `Void 5.12.17_1 x86_64 AuthenticAMD notuptodate rrrmFFFFFFFF`
* package:  `pgcli-3.0.0_3`

This doesn't seem to have been reported upstream, so I'm *guessing* this is a packaging concern, but if I need to reroute this upstream (i.e. there's no known issue with the Void Python stack, perhaps other applications using similar dependencies), just holler.

### Expected behavior

pgcli can connect to a database

### Actual behavior

Immediately crashes at startup with

```
Traceback (most recent call last):
  File "/bin/pgcli", line 33, in <module>
    sys.exit(load_entry_point('pgcli==3.0.0', 'console_scripts', 'pgcli')())
  File "/bin/pgcli", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 162, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/pgcli/main.py", line 23, in <module>
    from cli_helpers.tabular_output import TabularOutputFormatter
  File "/usr/lib/python3.10/site-packages/cli_helpers/tabular_output/__init__.py", line 11, in <module>
    from .output_formatter import format_output, TabularOutputFormatter
  File "/usr/lib/python3.10/site-packages/cli_helpers/tabular_output/output_formatter.py", line 10, in <module>
    from . import (delimited_output_adapter, vertical_table_adapter,
  File "/usr/lib/python3.10/site-packages/cli_helpers/tabular_output/tabulate_adapter.py", line 10, in <module>
    import tabulate
  File "/usr/lib/python3.10/site-packages/tabulate.py", line 16, in <module>
    from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
```

### Steps to reproduce the behavior

Just trying launching `pgcli`, even without a connection string.

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

end of thread, other threads:[~2021-10-14  1:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-13 19:39 [ISSUE] pgcli: ImportError on startup klardotsh
2021-10-13 20:42 ` ahesford
2021-10-14  1:53 ` [ISSUE] [CLOSED] " ahesford

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