View Issue Details

IDProjectCategoryView StatusLast Update
0006182CentOS-6yum-utilspublic2013-01-10 16:52
Reportermorty 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0006182: repo-rss breaks on non-ASCII characters
DescriptionI'm trying to set up repo-rss, but I keep getting errors like this:

Traceback (most recent call last):
  File "/usr/bin/repo-rss", line 279, in <module>
    main(options, args)
  File "/usr/bin/repo-rss", line 248, in main
    makeFeed(options.filename, options.title, options.link, options.description, recent, my)
  File "/usr/bin/repo-rss", line 176, in makeFeed
    rssobj.doPkg(pkg, url)
  File "/usr/bin/repo-rss", line 107, in doPkg
    item = self.rsspkg(pkg, url)
  File "/usr/bin/repo-rss", line 147, in rsspkg
    description += '

%s

\n\n

Change Log:

\n\n' % escape(pkg.returnSimple('description').encode('utf-8').replace("\n", "
\n"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 96: ordinal not in range(128)

Help?
Steps To ReproduceRun repo-rss with a repo that contains a recent package with non-ASCII characters.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2013-01-10 16:52 morty New Issue