crystal-project crashes repoquery

Curtis Doty Curtis at
Sun Sep 30 19:18:35 UTC 2007

Any idea who's bug this is anyways?

$ repoquery -ql crystal-project
Traceback (most recent call last):
   File "/usr/bin/repoquery", line 806, in <module>
   File "/usr/bin/repoquery", line 803, in main
   File "/usr/bin/repoquery", line 473, in runQuery
     print pkg.doQuery(oper)
UnicodeEncodeError: 'latin-1' codec can't encode character u'\uf003' in position 25663: ordinal not in range(256)

It's been most annoying due to its wholesale breakage of my favorite 
"repoquery -qal |grep foo" without providing any helpful info.

It appears the problem stems from some corrupt filenames in 
crystal_project.tar.gz: crystal_project/*/apps/softwareD???.png Where 
those three oddball 8-bit chars are 0xEF, 0x80 and 0x83.

But how on earth did the buildsys let that crap into fillists.xml.gz 
anyways? And are spaces and other 8-bit grunge really valid in the 
packaging guidelines?

And why does yum-utils/python choke on it so badly, imagining that their 
is 16-bit Unicode involved?


More information about the fedora-devel-list mailing list