On Friday, October 11, 2013 12:54:00 PM UTC-7, Erik Dalén wrote:
>
> What is the locale setting here? Is it C or a UTF-8 locale?
>
In my setup (CentOS 6.3), 'locale' says POSIX. One "fix" is to set
LANG=en_US.UTF-8 in the environment.
>
> If it is C it is really a rpm bug, but Puppet should probably handle those
> as well.
>
Good luck getting that fixed :)
But forcing the encoding like that might actually cause problems for people
> on a ISO-8859 locale or EUC-JP and stuff.
>
Yeah. Locales are fun.
Btw, this is a bad bug because it breaks file { ensure => latest; }.
Filed http://projects.puppetlabs.com/issues/22848
Thanks,
Jos
>
>
> On 11 October 2013 13:58, Peter Meier <[email protected]
> <javascript:>>wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 10/11/2013 02:00 AM, Jos Backus wrote:
>> > One of our RPM packages has some UTF-8 characters in its
>> > description, leading to an exception ("Error: Could not prefetch
>> > package provider 'yum': invalid byte sequence in US-ASCII") in
>> > rpm.rb, causing no packages to be upgraded as the yumhelper.py
>> > invocation code raises that error. I'm using the following
>> > workaround:
>>
>> can you make a ticket with your patch attached? ->
>> http://projects.puppetlabs.com/
>>
>> Thanks!
>>
>> ~pete
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.14 (GNU/Linux)
>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>>
>> iEYEARECAAYFAlJX5/AACgkQbwltcAfKi39CfACfbkG9q4Rc+VkEQkKScdzp0Wl1
>> oT8AmwdPANx17i6smcycn1xVbK7DcVPt
>> =p55u
>> -----END PGP SIGNATURE-----
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/puppet-dev.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> Erik Dalén
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-dev.
For more options, visit https://groups.google.com/groups/opt_out.