diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-January/001920.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-January/001920.html | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-January/001920.html b/zarb-ml/mageia-sysadm/2011-January/001920.html new file mode 100644 index 000000000..fe44cdac6 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/001920.html @@ -0,0 +1,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> |