funilrys / PyFunceble

The tool to check the availability or syntax of domain, IP or URL.
https://pyfunceble.github.io
Apache License 2.0
297 stars 44 forks source link

BUG: missing dependency in AUR #281

Closed gwarser closed 2 years ago

gwarser commented 2 years ago

Description

On Manjaro KDE installed from AUR trying to run prints traceback because shtab is missing.

[rdk@on ~]$ pyfunceble --help
Traceback (most recent call last):
  File "/usr/bin/pyfunceble", line 33, in <module>
    sys.exit(load_entry_point('PyFunceble==4.0.2', 'console_scripts', 'pyfunceble')())
  File "/usr/bin/pyfunceble", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/PyFunceble/cli/entry_points/pyfunceble/cli.py", line 61, in <module>
    import shtab
ModuleNotFoundError: No module named 'shtab'
[rdk@on ~]$ 

Configuration

Fresh installation of https://aur.archlinux.org/packages/pyfunceble

Reproduction

  1. On Manjaro
  2. Install pyfunceble by pamac
  3. run pyfunceble --help
  4. prints traceback

Expected behavior

Prints help page

Screenshots

Versions

OS: Manjaro Linux 21.2.0

Python Version: 3.9.7

PyFunceble Version: 4.0.2

Additional context

Installing python-shtab fixes the issue.

spirillen commented 2 years ago

Super report, Thanks,

Hoping @funilrys will see this one soon

funilrys commented 2 years ago

Missing dependency added to the AUR package.