Recently, I've been getting an error when using “sftpman”.
the output returns:
Traceback (most recent call last):
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 397, in from_name
return next(cls.discover(name=name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/sftpman", line 33, in <module>
sys.exit(load_entry_point('sftpman==1.2.2', 'console_scripts', 'sftpman')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/sftpman", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 862, in distribution
return Distribution.from_name(distribution_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 399, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for sftpman
Pinned Comments
s.pantaleev commented on 2025-01-07 11:42 (UTC)
sftpman has been rewritten in Rust.
The sftpman AUR package (which used to provide the Python) version now provides the new Rust version. The old (Python) version can still be found in the sftpman-python package.
As for the GUI, the old sftpman-gtk software (Python) has also been superseded by sftpman-iced (Rust).
You may also be interested in reading:
Is sftpman v2 compatible with sftpman v1?
Is sftpman-iced compatible with sftpman-gtk?
The sftpman FAQ
The sftpman-iced FAQ