I've upgraded from Xubuntu 22.04 to 24.04.1 with mutt 2.2.12 (according to
the repository) but mutt -v reports version 2.2.9.

I'm am running into some problems. The viewhtmlmsg script is no longer
working.  It fails with the following messages:

-----------------------------------------------------------------------
/usr/local/bin/viewhtmlmsg:7: DeprecationWarning: pkg_resources is deprecated 
as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  __import__('pkg_resources').run_script('muttils==1.4+79.13d0f5a8b8e3', 
'viewhtmlmsg')
Traceback (most recent call last):
  File "/usr/local/bin/viewhtmlmsg", line 7, in <module>
    __import__('pkg_resources').run_script('muttils==1.4+79.13d0f5a8b8e3', 
'viewhtmlmsg')
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3327, 
in <module>
    @_call_aside
     ^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3302, 
in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3340, 
in _initialize_master_working_set
    working_set = WorkingSet._build_master()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 631, in 
_build_master
    ws.require(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 968, in 
require
    needed = self.resolve(parse_requirements(requirements))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 829, in 
resolve
    dist = self._resolve_dist(
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 870, in 
_resolve_dist
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'muttils==1.4+79.13d0f5a8b8e3' 
distribution was not found and is required by the application
Press any key to continue...
-----------------------------------------------------------------------

I'm guessing that this is likely due to changes in python during the
upgrade.  I have python3 currently installed.  What needs to be done?  Is
there a version that works under Ubuntu 24.04?

It has been so long since I installed this tool that I've forgotton how
it was done.  This was probably part of a muttils install but I can't
recall doing that or how.

Any suggestions on what steps to take?  Thanks.

Regards,
-- 
Jeff

Reply via email to