I looked into the directory and everything seems to be running upto
the createrepo portion of the script.  I see all the rpms and can run
createrepo myself and it works.

Versions:

mash-0.5.16-1
yum-3.2.19-18
createrepo-0.4.11-3


On Fri, May 28, 2010 at 3:13 PM, Bill Nottingham <[email protected]> wrote:
> Nathan Blackham ([email protected]) said:
>> I am trying to get mash running to be able to pull the packages I have
>> in koji out into a sane repo for publishing, but I can't find any good
>> documentation on what the config files are supposed to look like.
>> Does anyone know where any documentation for it is?
>
> There, um, isn't really any. The best way is to base off of the included
> configs, as you did.
>
>> Traceback (most recent call last):
>>   File "/usr/bin/mash", line 97, in ?
>>     main()
>>   File "/usr/bin/mash", line 77, in main
>>     rc = themash.doCompose()
>>   File "/usr/lib/python2.4/site-packages/mash/__init__.py", line 400,
>> in doCompose
>>     repocache = repocache, comps = True, arch = arch)
>>   File "/usr/lib/python2.4/site-packages/mash/__init__.py", line 237,
>> in _write_files
>>     status = self._makeMetadata(repo_path, repocache, arch, comps,
>> previous = previous_path)
>>   File "/usr/lib/python2.4/site-packages/mash/__init__.py", line 128,
>> in _makeMetadata
>>     md.run(path)
>>   File "/usr/lib/python2.4/site-packages/mash/metadata.py", line 247, in run
>>     self.obj.run(path)
>>   File "/usr/lib/python2.4/site-packages/mash/metadata.py", line 199, in run
>>     self.repomatic.doPkgMetadata()
>>   File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line
>> 356, in doPkgMetadata
>>     self.writeMetadataDocs(packages)
>>   File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line
>> 495, in writeMetadataDocs
>>     po = self.read_in_package(pkg, pkgpath=pkgpath, reldir=reldir)
>>   File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line
>> 451, in read_in_package
>>     if po.checksum in (None, ""):
>>   File "/usr/lib/python2.4/site-packages/yum/packages.py", line 1046,
>> in __getattr__
>>     return self.hdr[thing]
>> KeyError: 'unknown header tag'
>
> Which version of mash, yum, and createrepo do you have installed?
>
> Bill
> --
> buildsys mailing list
> [email protected]
> https://admin.fedoraproject.org/mailman/listinfo/buildsys
>
--
buildsys mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Reply via email to