On 09/05/2017 12:13 PM, Abhilash Raj wrote:
> 
> I did just a quick search and read about issues related to Click and
> init scripts. See below.


Thank you Abhilash. I had started looking through the click docs, but
hadn't found the relevant stuff yet.


...
> The biggest source of frustration is that Click scripts invoked by init
> systems (sysvinit, upstart, systemd, etc.), deployment tools (salt,
> puppet), or cron jobs (cron) will refuse to work unless a Unicode locale
> is exported.


(Thank you!)*10. All it needed was the addition of

export LANG=en_US.UTF-8

to the init.d script. It now works.


> It does mention that an error trace will show up when there are locale
> problems with Python 3, but I guess you don't see any of that. Maybe it
> is suppressed somewhere?


I never saw it and I just grepped all the logs, and it's not there.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
_______________________________________________
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to