On Fri, Jul 22, 2011 at 12:26:11PM +0000, Pierre Casenove wrote:
> 
> Hello,I found the problem!0xa9 is indeed an incorrect UTF8 encoding. This is 
> the copyright logo.Which put on the path to the resolution:In spacewalk 1.5, 
> the file path are checked against incorrect encoding... put not the license 
> field.So the issue is in file 
> /usr/lib/python2.4/site-packages/spacewalk/server/importlib/packageImport.py, 
> line 218
>  # Change copyright to license    219         # XXX    220         
> license_fixed = self._fix_encoding(package['license'])    221         
> package['copyright'] = license_fixed    222         #package['copyright'] = 
> package['license'] 
> I know this is not the right mailing list for this kind of topic.I'm not a 
> developper, so sorry for the quality of the code!

For the record, the patch is in Spacewalk master,

        https://bugzilla.redhat.com/show_bug.cgi?id=658296#c10

It's not the quality of the code or your investigation, it's the
missing linebreaks that make your posts quite hard to read. Luckily
bugzilla showed your code nicely.

Thank you,

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to