[Spacewalk-list] rhncfg-client in 1.2

John Hodrien J.H.Hodrien at leeds.ac.uk
Fri Jan 7 12:10:53 UTC 2011


On Fri, 7 Jan 2011, John Hodrien wrote:

> On Fri, 7 Jan 2011, Michael Mraka wrote:
>
>> Hi John,
>>
>> I've fixed it. Please upgrade to rhncfg-5.9.44-1.
>
> Great.  As a short term fix I'd just commented out a single line, but didn't
> want to keep that uneducated fix.  Will update once it hits nightly.

Upgraded to the following (on the client):

rhncfg-5.9.44-1.el5.noarch.rpm
rhncfg-actions-5.9.44-1.el5.noarch.rpm
rhncfg-client-5.9.44-1.el5.noarch.rpm
rhncfg-management-5.9.44-1.el5.noarch.rpm

Problem has returned.

# rhncfg-client diff
Traceback (most recent call last):
   File "/usr/bin/rhncfg-client", line 34, in ?
     sys.exit(Main().main() or 0)
   File "/usr/share/rhn/config_common/rhn_main.py", line 187, in main
     handler.run()
   File "/usr/share/rhn/config_client/handler_base.py", line 57, in run
     (src, file_info, dirs_created) = self.repository.get_file_info(file)
   File "/usr/share/rhn/config_client/rpc_cli_repository.py", line 82, in get_file_info
     result['path'] = dest_directory + result['path']
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Commenting out line 82 is a functional workaround for now, which avoids joining
the 'None' dest_directory to the path.

jh




More information about the Spacewalk-list mailing list