I think you messed something up with your "indentation".
 
Check that your changes are "aligned" correctly..
 
Robert
 
Gesendet: Dienstag, 18. Juni 2019 um 16:23 Uhr
Von: "Ellis, Merphis" <merphis.el...@us.idemia.com>
An: "spacewalk-list@redhat.com" <spacewalk-list@redhat.com>
Betreff: [Spacewalk-list] Still having a problem with Python 9 error

I have tracked down a little more; think it is closer to the problem. I have found where in the rhn_check software, I have added some test to the message in the log file.

 

[Tue Jun 18 09:55:09 2019] up2date D: do_call packages.checkNeedUpdate('rhnsd=1',){}

[Tue Jun 18 09:55:09 2019] up2date

Traceback (most recent call last):

  File "/usr/sbin/rhn_check", line 347, in __run_action

    (status, message, data) = CheckCli.__do_call(method, params, kwargs)

  File "/usr/sbin/rhn_check", line 339, in __do_call

    method = getMethod.getMethod(method, "/usr/share/rhn/", "actions")

  File "/usr/share/rhn/up2date_client/getMethod.py", line 78, in getMethod

    actions = __import__(modulename)

<type 'exceptions.IndentationError'>: unexpected indent (packages.py, line 363)

 

[Tue Jun 18 09:55:09 2019] up2date D: local action status: ((6,), 'Fatal error in Python code occured Add my name Merph', {})

[Tue Jun 18 09:55:09 2019] up2date D: rpcServer: Calling XMLRPC registration.welcome_message

 

 

The client is getting the list of files to update, but is breaking in the same place

 

[Tue Jun 18 09:55:09 2019] up2date D: local action status: ((6,), 'Fatal error in Python code occured Add my name Merph', {})

[Tue Jun 18 09:55:09 2019] up2date D: rpcServer: Calling XMLRPC registration.welcome_message

[Tue Jun 18 10:15:33 2019] up2date D: check_action{'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>packages.update</methodName>\n<params>\n<param>\n<value><array><data>\n<value><array><data>\n<value><string>python</string></value>\n<value><string>2.6.6</string></value>\n<value><string>68.el6_10</string></value>\n<value><string></string></value>\n<value><string>x86_64</string></value>\n</data></array></value>\n<value><array><data>\n<value><string>python-libs</string></value>\n<value><string>2.6.6</string></value>\n<value><string>68.el6_10</string></value>\n<value><string></string></value>\n<value><string>x86_64</string></value>\n</data></array></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 286}

[Tue Jun 18 10:15:33 2019] up2date updateLoginInfo() login info

[Tue Jun 18 10:15:33 2019] up2date D: login(forceUpdate=True) invoked

[Tue Jun 18 10:15:33 2019] up2date logging into up2date server

[Tue Jun 18 10:15:33 2019] up2date D: rpcServer: Calling XMLRPC up2date.login

[Tue Jun 18 10:15:53 2019] up2date D: writeCachedLogin() invoked

[Tue Jun 18 10:15:53 2019] up2date D: Wrote pickled loginInfo at 1560867353.31 with expiration of 1560870953.31 seconds.

[Tue Jun 18 10:15:53 2019] up2date successfully retrieved authentication token from up2date server

[Tue Jun 18 10:15:53 2019] up2date D: logininfo:{'X-RHN-Server-Id': 1000010052, 'X-RHN-Auth-Server-Time': '1560867351.54', 'X-RHN-Auth': 'GkU+adjGulORupddpyt6fHzMk5DxIeLUTV5J/1WP9hY=', 'X-RHN-Auth-Channels': [['nc_redhat_abis', '20190617112908', '1', '1']], 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'}

[Tue Jun 18 10:15:53 2019] up2date D: handle_action{'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>packages.update</methodName>\n<params>\n<param>\n<value><array><data>\n<value><array><data>\n<value><string>python</string></value>\n<value><string>2.6.6</string></value>\n<value><string>68.el6_10</string></value>\n<value><string></string></value>\n<value><string>x86_64</string></value>\n</data></array></value>\n<value><array><data>\n<value><string>python-libs</string></value>\n<value><string>2.6.6</string></value>\n<value><string>68.el6_10</string></value>\n<value><string></string></value>\n<value><string>x86_64</string></value>\n</data></array></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 286}

[Tue Jun 18 10:15:53 2019] up2date D: handle_action actionid = 286, version = 2

[Tue Jun 18 10:15:53 2019] up2date D: do_call packages.update([['python', '2.6.6', '68.el6_10', '', 'x86_64'], ['python-libs', '2.6.6', '68.el6_10', '', 'x86_64']],){'cache_only': None}

[Tue Jun 18 10:15:53 2019] up2date

Traceback (most recent call last):

  File "/usr/sbin/rhn_check", line 347, in __run_action

    (status, message, data) = CheckCli.__do_call(method, params, kwargs)

  File "/usr/sbin/rhn_check", line 339, in __do_call

    method = getMethod.getMethod(method, "/usr/share/rhn/", "actions")

  File "/usr/share/rhn/up2date_client/getMethod.py", line 78, in getMethod

    actions = __import__(modulename)

<type 'exceptions.IndentationError'>: unexpected indent (packages.py, line 363)

 

[Tue Jun 18 10:15:53 2019] up2date D: Sending back response((6,), 'Fatal error in Python code occured Add my name Merph', {})

[Tue Jun 18 10:16:33 2019] up2date D: do_call packages.checkNeedUpdate('rhnsd=1',){}

[Tue Jun 18 10:16:33 2019] up2date

Traceback (most recent call last):

  File "/usr/sbin/rhn_check", line 347, in __run_action

    (status, message, data) = CheckCli.__do_call(method, params, kwargs)

  File "/usr/sbin/rhn_check", line 339, in __do_call

    method = getMethod.getMethod(method, "/usr/share/rhn/", "actions")

  File "/usr/share/rhn/up2date_client/getMethod.py", line 78, in getMethod

    actions = __import__(modulename)

<type 'exceptions.IndentationError'>: unexpected indent (packages.py, line 363)

 

[Tue Jun 18 10:16:33 2019] up2date D: local action status: ((6,), 'Fatal error in Python code occured Add my name Merph', {})

[Tue Jun 18 10:16:33 2019] up2date D: rpcServer: Calling XMLRPC registration.welcome_message

 

 

 

 

 

 

Making plans actionable!

 

 

Regards,

 

 

 

Merphis Ellis

   
 

M. +1 850 556-6313
E. merphis.el...@us.idemia.com
125 McAlpin Dr

Winterville, GA 30683

 

 

 

Idemia

 

Join us on

Facebook

Twitter

LinkedIn

Youtube

 

 

 

www.idemia.com

 
 

OT-MORPHO is now IDEMIA

 

 

 

This message is only for the use of the intended recipient and may contain information that is CONFIDENTIAL and PROPRIETARY to IDEMIA. If you are not the intended recipient, please erase all copies of the message and its attachments and notify the sender immediately.
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to