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 à 01:09 +0100, Olivier Blin a écrit :
><i> Hi,
</I>><i>
</I>><i> We encounter an encoding error with rpmlint on the locales packages
</I>><i> (looks not fatal though).
</I>><i> Misc, do you have an idea about how to fix it?
</I>
I would say "port rpmlint to python 3" ( 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.
><i> running check rpmlint on package locales-sk-2.12.1-1.mga1.i586
</I>><i> Traceback (most recent call last):
</I>><i> File "/usr/share/rpmlint/rpmlint.py", line 352, in <module>
</I>><i> main()
</I>><i> File "/usr/share/rpmlint/rpmlint.py", line 194, in main
</I>><i> if printAllReasons():
</I>><i> File "/usr/share/rpmlint/Filter.py", line 107, in printAllReasons
</I>><i> __print(diag)
</I>><i> File "/usr/share/rpmlint/Filter.py", line 31, in __print
</I>><i> print(s.encode(locale.getpreferredencoding(), "replace"))
</I>><i> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 53:
</I>><i> ordinal not in range(128)
</I>><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>
|