[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

crystal-project crashes repoquery



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>
    main(sys.argv)
  File "/usr/bin/repoquery", line 803, in main
    repoq.runQuery(regexs)
  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?

../C


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]