We've recently enabled repoview as part of the rawhide compose. Unfortunately it promptly tracebacked and killed the compose :/ Traceback (most recent call last): File "/usr/bin/repoview", line 905, in <module> main() File "/usr/bin/repoview", line 902, in main Repoview(opts) File "/usr/bin/repoview", line 201, in __init__ if self.has_changed(grp_filename, checksum): File "/usr/bin/repoview", line 592, in has_changed scursor.execute(query) sqlite3.IntegrityError: column filename is not unique http://koji.fedoraproject.org/mash/repoview-crash/rawhide-20070921/development/source/SRPMS/repoview/ appears to be the failed run, the repodata content is in SRPMS/ itself.
How odd... I'll take a look.
Fixed in http://mricon.com/trac/changeset/374 and will be in the upcoming 0.6.1 shortly.
I still get this with 0.6.1-1.fc8: Pungi.Pungi:INFO: Running /usr/bin/repoview --quiet --title Fedora development: CoRA - i386 /export/development/CoRA/i386/os Pungi.Pungi:ERROR: Got an error from /usr/bin/repoview Pungi.Pungi:ERROR: Traceback (most recent call last): File "/usr/bin/repoview", line 918, in <module> main() File "/usr/bin/repoview", line 915, in main Repoview(opts) File "/usr/bin/repoview", line 201, in __init__ if self.has_changed(grp_filename, checksum): File "/usr/bin/repoview", line 600, in has_changed scursor.execute(query) sqlite3.IntegrityError: column filename is not unique
Can you post your repo and configs somewhere? I'm moving this off the Blocker list as it's no longer a blocker for F8.
The built tree is here: http://www.cora.nwra.com/~orion/fedora/os Config is http://sw.cora.nwra.com/fedora/pungi/fdevel-cora.ks
I see this when trying to run repoview on a mirror of the F8 i386 and x86_64 Livna repos, mirrored from: rsync://fedora.cat.pdx.edu/rpm.livna.org-fedora/
I really need primary.sqlite and other.sqlite in order to be able to troubleshoot this. Can someone provide these?
Created attachment 291403 [details] primary.sqlite.bz2 for my mirror of the Livna F8/i386 repo
Created attachment 291404 [details] other.sqlite.bz2 for my mirror of the Livna F8/i386 repo
Should be fixed in upcoming 0.6.2. See upstream https://fedorahosted.org/repoview/ticket/4.
repoview-0.6.2-1.fc8 has been submitted as an update for Fedora 8
repoview-0.6.2-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
I've just encountered this bug when trying to create a repoview for the Fedora 10 "Everything" repository. I downloaded all of the files from http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Everything/i386/os/repodata/ and installed repoview-0.6.2-1.fc9.noarch.rpm from the same location. When I run repoview, it gets most of the way through but after nine thousand packages I get the error: Writing package php-pear-auth-sasl.html Traceback (most recent call last): File "/usr/bin/repoview", line 926, in <module> main() File "/usr/bin/repoview", line 923, in main Repoview(opts) File "/usr/bin/repoview", line 191, in __init__ packages = self.do_packages(repo_data, group_data, pkgnames) File "/usr/bin/repoview", line 554, in do_packages if self.has_changed(pkg_filename, checksum): File "/usr/bin/repoview", line 607, in has_changed scursor.execute(query) sqlite3.IntegrityError: column filename is not unique I was able to create a repoview for the base packages (http://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/repodata/) without any errors.