[Spacewalk-list] CESA-2010:0679 is choking centos-errata.py

Yungwei Chen yungwei at resolvity.com
Tue Nov 9 20:31:19 UTC 2010


Hi,

I noticed that CESA-2010:0679 doesn't show up as an erratum in spacewalk web UI, and the problem seems to come from centos-errata.py, which shows the following error. 

Downloading package data for CESA-2010:0679
Failed to process message. Reason: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
  File "./centos-errata.py", line 856, in process_mailarchive_msg
    if not errata_prepare_packagelist(session,options,erratum,extra_info['package_dir'],message_src) is None:
  File "./centos-errata.py", line 769, in errata_prepare_packagelist
    pkg_info = search_spacewalk_server(session,options,pkg_filename,pkg_checksum)
  File "./centos-errata.py", line 912, in search_spacewalk_server
    pkg_name = pkg_name_matched.group('pkg_name')
AttributeError: 'NoneType' object has no attribute 'group'
Downloading RHN data for CESA-2010:0679
Downloading package data for CESA-2010:0679
Failed to process message. Reason: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
  File "./centos-errata.py", line 856, in process_mailarchive_msg
    if not errata_prepare_packagelist(session,options,erratum,extra_info['package_dir'],message_src) is None:
  File "./centos-errata.py", line 769, in errata_prepare_packagelist
    pkg_info = search_spacewalk_server(session,options,pkg_filename,pkg_checksum)
  File "./centos-errata.py", line 912, in search_spacewalk_server
    pkg_name = pkg_name_matched.group('pkg_name')
AttributeError: 'NoneType' object has no attribute 'group'




More information about the Spacewalk-list mailing list