I had this and ignored it for a long time.  In the end I narrowed it down to 
two of my modules.  Both had file(s) in the templates/files folder that were 
non utf8.  Ended up moving to the files folder and charging my code on how they 
got delivered.

Sent from my iPad

> On 29 Sep 2023, at 22:09, Albert Shih <[email protected]> wrote:
> 
> Hi everyone,
> 
> I'm trying since many hour to find out why when I run my puppet agent I got
> this message : 
> 
> Info: Unable to serialize catalog to json, retrying with pson. PSON is 
> deprecated and will be removed in a future release
> 
> I think this message are here since long time but I never really think that
> would be a problem. 
> 
> 
> I try to find out why, and I'm unable to find where are the problem, when I
> run the puppet agent with debug I got this message : 
> 
> Info: Unable to serialize catalog to json, retrying with pson. PSON is 
> deprecated and will be removed in a future release
> Debug: Could not render to rich_data_json: source sequence is 
> illegal/malformed utf-8
> 
> 
> So I try to run 
> 
>  puppet facts --verbose --debug --render-as json
> 
> and no error, I got my json. 
> 
> Same with facter -p 
> 
> So how I find where the problem are.
> 
> Regards
> 
> -- 
> Albert SHIH
> Heure locale/Local time:
> ven. 29 sept. 2023 23:04:42 CEST
> 
> -- 
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/ZRc9B3e9wIRC5TdE%40io.chezmoi.fr.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/A7036891-AA33-41C9-B659-B20A8D11C02B%40gmail.com.

Reply via email to