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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content