The spacewalk-export --list-entities fails with error "'str' object has no attribute 'format'"

Solution Verified - Updated -

Issue

  • The spacewalk-export command fails with below error,
# spacewalk-export --list-entities
INFO: Currently-supported entities include:
Traceback (most recent call last):
  File "/usr/bin/spacewalk-export", line 279, in ?
    listSupported()
  File "/usr/bin/spacewalk-export", line 117, in listSupported
    logging.info('{0:20} : {1}'.format(s, SUPPORTED_ENTITIES[s]))
AttributeError: 'str' object has no attribute 'format'

Environment

  • Red Hat Satellite 5.6 installed on Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.