RHN Satellite throws the exception time_window = <type 'str'> None

Solution Verified - Updated -

Issue

  • RHN Satellite throws the error time_window = <type 'str'> None
Exception reported from satellite.example.com
Time: Mon Apr  7 10:53:51 2014
Exception type <type 'exceptions.TypeError'>
Exception while handling function queue.get_future_actions
[..SNIP..]
Response sent back to the caller:
While running 'queue.get_future_actions': caught
<type 'exceptions.TypeError'> : %d format: a number is required, not str

Exception Handler Information
Traceback (most recent call last):
 File "/usr/lib/python2.6/site-packages/spacewalk/server/apacheRequest.py", line 122, in call_function
   response = apply(func, params)
 File "/usr/share/rhn/server/handlers/xmlrpc/queue.py", line 223, in get_future_actions
   log_debug(3, "Checking for future actions within %d hours" % time_window)
TypeError: %d format: a number is required, not str

Local variables by frame
Frame get_future_actions in /usr/share/rhn/server/handlers/xmlrpc/queue.py at line 223
             time_window = <type 'str'> None
                    self = <type 'instance'> <server.handlers.xmlrpc.queue.Queue instance at 0x7fcb76ee2bd8>
               system_id = <type 'str'> <?xml version="1.0"?>

Environment

  • Red Hat Network Satellite 5.5
  • Red Hat Satellite 5.6

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