summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-January/001920.html
blob: fe44cdac6453435f1a52415084bc343cc2dfd0eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] rpmlint encoding issue
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20rpmlint%20encoding%20issue&In-Reply-To=%3C1294791330.32187.168.camel%40akroma.ephaone.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="001916.html">
   <LINK REL="Next"  HREF="001928.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] rpmlint encoding issue</H1>
    <B>Michael Scherer</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20rpmlint%20encoding%20issue&In-Reply-To=%3C1294791330.32187.168.camel%40akroma.ephaone.org%3E"
       TITLE="[Mageia-sysadm] rpmlint encoding issue">misc at zarb.org
       </A><BR>
    <I>Wed Jan 12 01:15:30 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="001916.html">[Mageia-sysadm] rpmlint encoding issue
</A></li>
        <LI>Next message: <A HREF="001928.html">[Mageia-sysadm] rpmlint encoding issue
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#1920">[ date ]</a>
              <a href="thread.html#1920">[ thread ]</a>
              <a href="subject.html#1920">[ subject ]</a>
              <a href="author.html#1920">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le mercredi 12 janvier 2011 &#224; 01:09 +0100, Olivier Blin a &#233;crit :
&gt;<i> Hi,
</I>&gt;<i> 
</I>&gt;<i> We encounter an encoding error with rpmlint on the locales packages
</I>&gt;<i> (looks not fatal though).
</I>&gt;<i> Misc, do you have an idea about how to fix it?
</I>
I would say &quot;port rpmlint to python 3&quot; ( except it can't be done, as it
requires rpm to have python3 binding ).

Otherwise, make sure we use utf8 when running this, not C.


&gt;<i> running check rpmlint on package locales-sk-2.12.1-1.mga1.i586
</I>&gt;<i> Traceback (most recent call last):
</I>&gt;<i>   File &quot;/usr/share/rpmlint/rpmlint.py&quot;, line 352, in &lt;module&gt;
</I>&gt;<i>     main()
</I>&gt;<i>   File &quot;/usr/share/rpmlint/rpmlint.py&quot;, line 194, in main
</I>&gt;<i>     if printAllReasons():
</I>&gt;<i>   File &quot;/usr/share/rpmlint/Filter.py&quot;, line 107, in printAllReasons
</I>&gt;<i>     __print(diag)
</I>&gt;<i>   File &quot;/usr/share/rpmlint/Filter.py&quot;, line 31, in __print
</I>&gt;<i>     print(s.encode(locale.getpreferredencoding(), &quot;replace&quot;))
</I>&gt;<i> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 53:
</I>&gt;<i> ordinal not in range(128)
</I>&gt;<i> 
</I>
-- 
Michael Scherer

</PRE>















<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="001916.html">[Mageia-sysadm] rpmlint encoding issue
</A></li>
	<LI>Next message: <A HREF="001928.html">[Mageia-sysadm] rpmlint encoding issue
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#1920">[ date ]</a>
              <a href="thread.html#1920">[ thread ]</a>
              <a href="subject.html#1920">[ subject ]</a>
              <a href="author.html#1920">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>