[Spacewalk-list] Reposync Error with Fedora 14 Updates Errata

Michael Mraka michael.mraka at redhat.com
Thu Apr 21 12:48:19 UTC 2011


Trevor T Kates wrote:
% List:
% 
% Spacewalk Ver: 1.4-RC
% OS Ver: CentOS 5.6
% 
% The following error is generated when attempting to sync to a Fedora 14 updates repo
% which has errata. There are currently no erratum attached to the channel on my server
% configured to sync to the Fedora 14 updates repo. Let me know if there is more info I
% need to provide on this problem.

Hi Trevor,

It's been fixed in master today (b6f806318be5b4275d39bb00be9d72c802a78ec3)
and also backported to 1.4 RC (94c68cff702bdcfebe9d8d0b5f7874dff5159758).

% Traceback (most recent call last):
%   File "/usr/bin/spacewalk-repo-sync", line 69, in ?
%     sys.exit(abs(main() or 0))
%   File "/usr/bin/spacewalk-repo-sync", line 63, in main
%     sync.main()
%   File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/reposync.py", line 110, in main
%     self.import_updates(plugin, url)
%   File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/reposync.py", line 145, in import_updates
%     self.upload_updates(notices)
%   File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/reposync.py", line 159, in upload_updates
%     notice = self.fix_notice(notice)
%   File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/reposync.py", line 453, in fix_notice
%     notice['version'] = new_version / 100
% TypeError: object does not support item assignment

Regards,

--
Michael Mráka
Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list