Mailinglist Archive: opensuse (1196 mails)

< Previous Next >
Re: [opensuse] Who broke createrepo
  • From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
  • Date: Thu, 07 Jan 2010 21:10:12 -0600
  • Message-id: <4B46A214.7090804@xxxxxxxxxxxxxxxxxx>
David C. Rankin wrote:
Listmates,

createrepo cratered. On 10.3 createrepo now results in thousands of
errors like:

(process:10597): GLib-WARNING **: GError set over the top of a previous
GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL
before it's set.
The overwriting error message was: Parsing other.xml error: PCDATA invalid
Char value 27


(process:10597): GLib-WARNING **: GError set over the top of a previous
GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL
before it's set.
The overwriting error message was: Parsing other.xml error: Entity 'lt' not
defined


(process:10597): GLib-WARNING **: GError set over the top of a previous
GError or uninitialized memory. This indicates a bug
in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Parsing
other.xml error: Entity 'gt' not defined


<snip>

(process:10597): GLib-WARNING **: GError set over the top of a previous
GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL
before it's set.
The overwriting error message was: Parsing other.xml error: Entity 'gt' not
defined


Saving Primary metadata
Saving file lists metadata
Saving other metadata
Traceback (most recent call last):
File "/usr/share/createrepo/genpkgmetadata.py", line 724, in <module>
main(sys.argv[1:])
File "/usr/share/createrepo/genpkgmetadata.py", line 648, in main
mdgen.doRepoMetadata()
File "/usr/share/createrepo/genpkgmetadata.py", line 321, in doRepoMetadata
dumpMetadata.repoXML(reporoot, self.cmds)
File "/usr/share/createrepo/dumpMetadata.py", line 854, in repoXML
rp.getOtherdata(complete_path, csum)
File "/usr/lib64/python2.5/site-packages/sqlitecachec.py", line 57, in
getOtherdata
self.repoid))
TypeError: Parsing other.xml error: PCDATA invalid Char value 27


Full error from 'createrepo --update -d /home/backup/rpms/openSUSE_11.0 &>
data/createrepo.err' is at:

http://www.3111skyline.com/download/openSUSE_bugs/createrepo.err.bz2 (50k)

What's up??



OK,

Call off the hounds. createrepo still works. It seems there is one bad
package
in the x86_64 directory that is causing things to blow up. So we are backing
up....

while createrepo --update -d /home/backup/rpms/openSUSE_11.0; do for i in $(ls
-1t sav-110-repo/x86_64/ | tail -n100); do mv sav-110-repo/x86_64/$i
openSUSE_11.0/x86_64/; done; done

How a single package can cause createrepo to blow-up -- dunno, but we
will find
out :p


--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References