Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 160418 - Error in RHEL3-U4-errata python python-2.2-xmlfix.patch
Error in RHEL3-U4-errata python python-2.2-xmlfix.patch
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: python (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Mihai Ibanescu
Brock Organ
: 202713 (view as bug list)
Depends On:
Blocks: 170417
  Show dependency treegraph
Reported: 2005-06-14 19:34 EDT by Dan Williams
Modified: 2013-04-12 13:16 EDT (History)
3 users (show)

See Also:
Fixed In Version: RHSA-2006-0713
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-10-09 17:54:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2006:0713 high SHIPPED_LIVE Important: python security update 2006-10-09 17:54:04 EDT

  None (edit)
Description Dan Williams 2005-06-14 19:34:04 EDT
In the RHEL3-U4-errata version of python that got pushed out, there's a small
error in python-2.2-xmlfix.patch that causes python XMLRPC servers to reject all
method calls, which means the XMLRPC server us pretty much useless.  The actual
error/traceback is covered up by the try/except block.

--- 161,168 ----
                          func = _resolve_dotted_attribute(
!                             method,
!                             self.allow_dotted_names
                      except AttributeError:

This comes from SimpleXMLRPCRequestHandler._dispatch() method, but
SimpleXMLRPCRequestHandler doesn't have the "allow_dotted_names" variable. 
SimpelXMLRPCServer does.  So the correct fix is:

--- 161,168 ----
                          func = _resolve_dotted_attribute(
!                             method,
!                             self.server.allow_dotted_names
                      except AttributeError:

(self.allow_dotted_names -> self.server.allow_dotted_names)
Comment 1 Dan Williams 2005-06-14 19:37:29 EDT
The error you get when you remove the try/except block is to see what's really
happening is:

xmlrpclib.Fault: <Fault 1: "exceptions.AttributeError:SimpleXMLRPCRequestHandler
instance has no attribute 'allow_dotted_names'">

Comment 11 Mihai Ibanescu 2006-08-16 08:49:23 EDT
*** Bug 202713 has been marked as a duplicate of this bug. ***
Comment 21 Red Hat Bugzilla 2006-10-09 17:54:07 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.