Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-1795

[RHEL] Conversion Tool - Python Traceback "Check if the installed packages are up-to-date"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 2.2.0
    • convert2rhel
    • None
    • Moderate
    • False
    • False
    • Hide

      None

      Show
      None
    • Testable
    • rhel-conversions

      Hi everyone, 

      We are currently working with Marcel Hirsch on the Conversion of one of our systems.
      The Conversion Tool with the Analyze Option it works okay, (besides minor issues due to Proxy Settings needed for Conversion Tool), but when we actually start conversion, we get the following issue during the Task "Check if the installed Packages are up-to-date"

      [2025-03-25T14:08:45+0100] TASK - [Prepare: Check if the installed packages are up-to-date] **********
      (ERROR) PACKAGE_UPDATES::UNEXPECTED_ERROR - Unhandled exception caught     Description: Unhandled exception was caught: in method 'ConfigParser_setSubstitutions', argument 2 of type 'std::map< std::string,std::string,std::less<std::string >,std::allocator< std::pair< std::string const,std::string > > > const &'    Please file a bug at https://issues.redhat.com/ to have this fixed or a specific error message added.    Traceback: Traceback (most recent call last):      File "/usr/lib/python3.9/site-packages/convert2rhel/actions/__init__.py", line 573, in run        action.run()      File "/usr/lib/python3.9/site-packages/convert2rhel/actions/system_checks/package_updates.py", line 54, in run        packages_to_update = sorted(get_total_packages_to_update())      File "/usr/lib/python3.9/site-packages/convert2rhel/utils/__init__.py", line 243, in wrapper        raise process.exception    TypeError: in method 'ConfigParser_setSubstitutions', argument 2 of type 'std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair<std::string const,std::string > > > const &' 

      The system is a Rocky 9.5 System, with mainly Postgres installed seperately. Otherwise packages should be pretty standard.

       

              Unassigned Unassigned
              svenja.meyer Svenja Meyer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: