Re: [Puppet Users] 3.3.0 bug? Could not prefetch package provider/UTF-8

2013-09-17 Thread Wolf Noble
When I ran into this, what bit me was funky characters hiding in comments
in the manifests.


On Tue, Sep 17, 2013 at 3:42 PM, Robin Lee Powell <
rlpow...@digitalkingdom.org> wrote:

>
> As of upgrading master and clients to 3.3.0, some of my servers are
> saying:
>
> Error: Could not prefetch package provider 'yum': invalid byte sequence in
> UTF-8
> Error: Could not prefetch package provider 'rpm': invalid byte sequence in
> UTF-8
>
> I can't tell whether this actually stops them from *doing* anything
> or not, but I don't think so.
>
> I have tried various things with LANG and LC_ALL to no effect.
>
> Ideas?
>
> -Robin
>
> --
> http://intelligence.org/ :  Our last, best hope for a fantastic future.
> .i ko na cpedu lo nu stidi vau loi jbopre .i danfu lu na go'i li'u .e
> lu go'i li'u .i ji'a go'i lu na'e go'i li'u .e lu go'i na'i li'u .e
> lu no'e go'i li'u .e lu to'e go'i li'u .e lu lo mamta be do cu sofybakni
> li'u
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] 3.3.0 bug? Could not prefetch package provider/UTF-8

2013-09-21 Thread Robin Lee Powell

No, although I appreciate the attempt!

[rlpowell@shell01 puppet3]$ find . -type f -name '*.pp' | xargs grep -P 
'[^\s\t!-~]'
[rlpowell@shell01 puppet3]$

(that range covers all of visible ASCII, plus space and tab)

In fact, the only file that matches that that isn't obviously binary
is ./modules/stdlib/lib/puppet/parser/functions/shuffle.rb

Fixing that file does not fix the problem.

Any further ideas, anybody?

-Robin

On Tue, Sep 17, 2013 at 03:53:27PM -0500, Wolf Noble wrote:
> When I ran into this, what bit me was funky characters hiding in comments
> in the manifests.
> 
> 
> On Tue, Sep 17, 2013 at 3:42 PM, Robin Lee Powell <
> rlpow...@digitalkingdom.org> wrote:
> 
> >
> > As of upgrading master and clients to 3.3.0, some of my servers are
> > saying:
> >
> > Error: Could not prefetch package provider 'yum': invalid byte sequence in
> > UTF-8
> > Error: Could not prefetch package provider 'rpm': invalid byte sequence in
> > UTF-8
> >
> > I can't tell whether this actually stops them from *doing* anything
> > or not, but I don't think so.
> >
> > I have tried various things with LANG and LC_ALL to no effect.
> >
> > Ideas?
> >
> > -Robin
> >
> > --
> > http://intelligence.org/ :  Our last, best hope for a fantastic future.
> > .i ko na cpedu lo nu stidi vau loi jbopre .i danfu lu na go'i li'u .e
> > lu go'i li'u .i ji'a go'i lu na'e go'i li'u .e lu go'i na'i li'u .e
> > lu no'e go'i li'u .e lu to'e go'i li'u .e lu lo mamta be do cu sofybakni
> > li'u
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Puppet Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to puppet-users+unsubscr...@googlegroups.com.
> > To post to this group, send email to puppet-users@googlegroups.com.
> > Visit this group at http://groups.google.com/group/puppet-users.
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to puppet-users+unsubscr...@googlegroups.com.
> To post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
http://intelligence.org/ :  Our last, best hope for a fantastic future.
.i ko na cpedu lo nu stidi vau loi jbopre .i danfu lu na go'i li'u .e
lu go'i li'u .i ji'a go'i lu na'e go'i li'u .e lu go'i na'i li'u .e
lu no'e go'i li'u .e lu to'e go'i li'u .e lu lo mamta be do cu sofybakni li'u

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] 3.3.0 bug? Could not prefetch package provider/UTF-8

2013-09-23 Thread jcbollinger


On Saturday, September 21, 2013 4:30:53 AM UTC-5, Robin Powell wrote:
>
>
> No, although I appreciate the attempt! 
>
> [rlpowell@shell01 puppet3]$ find . -type f -name '*.pp' | xargs grep -P 
> '[^\s\t!-~]' 
> [rlpowell@shell01 puppet3]$ 
>
> (that range covers all of visible ASCII, plus space and tab) 
>
> In fact, the only file that matches that that isn't obviously binary 
> is ./modules/stdlib/lib/puppet/parser/functions/shuffle.rb 
>
> Fixing that file does not fix the problem. 
>
> Any further ideas, anybody? 
>
>

Perhaps you have an installed package with a non-ASCII character in its 
name, version code, or release code.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.