Re: groups.xml and repoview

"Michael A. Peters" <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>
On Tue, 2006-02-14 at 01:59 -0800, Michael A. Peters wrote:
> Hi.
> 
> I'm running a new repository for tetex packages.
> I'm trying to add a group file - createrepo seems to like it, but
> repoview pukes.
> 
> The group file:
> 
> http://www.tetexrpm.org/test/groups.php
> 
> (get it with wget - I'm using php to generate it because the needed info
> is in a database)
> 
> I wget that page, change the name to groups.xml, and throw it in the
> directory containing the rpms.
> 
> createrepo -g groups.xml /path/to/repo
> 
> seems to work fine - but then running repoview on it, repoview pukes.

If I comment out these two lines from repoview:

        if self.repodata.has_key('group'):
            self._getGroups()

it seems to work just fine.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.