On Wed, Mar 09, 2011 at 11:11:08AM +0100, Jan Pazdziora wrote:
> On Mon, Mar 07, 2011 at 01:24:54PM +0100, Michael Calmer wrote:
> > Hello,
> > 
> > attached is a patch set which implement weak rpm dependencies (Recommends, 
> > Suggests, Supplements) into spacewalk.
> > 
> > This patch set implements: parsing weak dependencies during spacewalk-repo-
> > sync, store them into the database, show them in the WebUI and generate 
> > them 
> > into new created channel metadata.
> 
> Michael,
> 
> when I apply the patches to Spacewalk nightly and try rhnpush (of
> openSUSE rpm or Spacewalk rpm),
> I get the following traceback:
> 
>    File 
> "/usr/lib/python2.6/site-packages/spacewalk/server/apacheUploadServer.py", 
> line 97, in _wrapper
>      ret = function(req)
>    File "/usr/share/rhn/upload_server/handlers/package_push/package_push.py", 
> line 134, in handler
>      relative_path=self.rel_package_path, org_id=self.org_id)
>    File 
> "/usr/lib/python2.6/site-packages/spacewalk/server/rhnPackageUpload.py", line 
> 150, in push_package
>      header_end=header_end, channels=channels)
>    File 
> "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/mpmSource.py", 
> line 224, in create_package
>      header_end=header_end, channels=channels)
>    File 
> "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/headerSource.py",
>  line 406, in createPackage
>      channels)
>    File 
> "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/headerSource.py",
>  line 141, in populate
>      self._populateDependencyInformation(header)
>    File 
> "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/headerSource.py",
>  line 161, in _populateDependencyInformation
>      self._populateTag(header, k, v)
>    File 
> "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/headerSource.py",
>  line 186, in _populateTag
>      v = sanitizeList(header[rf])
>    File "/usr/lib/python2.6/site-packages/spacewalk/common/rhn_rpm.py", line 
> 68, in __getitem__
>      return self.hdr[name]
>  ValueError: unknown header tag
> 
> Could you please investigate? Do you need list of rpms I have
> installed or something?

By the way, rpms I've used (rpm -Fvh over nightly installation) are at

        https://koji.spacewalkproject.org/koji/taskinfo?taskID=62753
        https://koji.spacewalkproject.org/koji/taskinfo?taskID=62817
        https://koji.spacewalkproject.org/koji/taskinfo?taskID=62749
        https://koji.spacewalkproject.org/koji/taskinfo?taskID=62748

Yours,

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to