[Spacewalk-list] Problem with creating a bunch of mpm files
Jan Pazdziora
jpazdziora at redhat.com
Tue Nov 3 11:12:19 UTC 2009
On Tue, Nov 03, 2009 at 04:55:34PM +0600, Jesster Leight wrote:
> [root at satellite cluster]$ solaris2mpm 10_Recommended.zip
> /usr/share/rhn/rhnpush/archive.py:23: DeprecationWarning: The popen2 module
> is deprecated. Use the subprocess module.
> import popen2
> Opening archive, this may take a while
> Error creating mpm for /home/kripton/Download/cluster/10_Recommended.zip:
> Traceback (most recent call last):
> File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 232, in _run
> pkg_mpm = create_pkg_mpm(archive_parser, prefix=dir)
> File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 448, in create_pkg_mpm
> dct = parse_pkginfo(pkginfo_str)
> File "/usr/share/rhn/rhnpush/solaris2mpm.py", line 486, in parse_pkginfo
> lines = pkginfo_str.splitlines()
> AttributeError: 'NoneType' object has no attribute 'splitlines'
>
> With original archive tar.bz2 - same problem. I did unpack tar.bz2 and zip
> it. But it is not solve ;(
I think you are hitting
http://www.mail-archive.com/spacewalk-list@redhat.com/msg02852.html
--
Jan Pazdziora
Senior Software Engineer, Satellite Engineering, Red Hat
More information about the Spacewalk-list
mailing list