<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>locale-gen &#8211; Scott Mcintyre</title>
	<atom:link href="https://scott.cm/tag/locale-gen/feed/" rel="self" type="application/rss+xml" />
	<link>https://scott.cm</link>
	<description>Web Operations Engineer,  Linux Systems Administrator,  mySQL DBA,  MongoDB DBA,  Python+PHP Developer,  Performance Engineer</description>
	<lastBuildDate>Tue, 18 Jul 2017 08:57:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.2.3</generator>
	<item>
		<title>Error: unsupported locale setting</title>
		<link>https://scott.cm/error-unsupported-locale-setting/</link>
				<comments>https://scott.cm/error-unsupported-locale-setting/#respond</comments>
				<pubDate>Wed, 16 Jan 2013 07:44:14 +0000</pubDate>
		<dc:creator><![CDATA[Scott Mcintyre]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[dpkg-reconfigure locales]]></category>
		<category><![CDATA[Error: unsupported locale setting]]></category>
		<category><![CDATA[locale en_gb.UTF8]]></category>
		<category><![CDATA[locale-gen]]></category>
		<category><![CDATA[python trac]]></category>
		<category><![CDATA[trac locale error]]></category>
		<category><![CDATA[trac wont start]]></category>

		<guid isPermaLink="false">https://scott.cm/?p=206</guid>
				<description><![CDATA[While installing and configuring trac on my development VM it wouldn&#8217;t load over HTTP (500 error). Stracing the process returned the issue, Error: unsupported locale setting So it looks like it doesn&#8217;t have the locale installed (In my case EN_GB) this is easily fixed by running, sudo dpkg-reconfigure locales Then]]></description>
								<content:encoded><![CDATA[<p>While installing and configuring trac on my development VM it wouldn&#8217;t load over HTTP (500 error).   Stracing the process returned the issue,</p>
<blockquote><p><strong>Error: unsupported locale setting</strong></p></blockquote>
<p>So it looks like it doesn&#8217;t have the locale installed (In my case EN_GB) this is easily fixed by running,</p>
<blockquote><p>sudo dpkg-reconfigure locales</p></blockquote>
<p>Then selecting the necessary locale,  you&#8217;ll most likely want to default to UTF8.</p>
<p><a href="https://scott.cm/wp-content/uploads/2013/01/locale.png" title="Screenshot reconfigure locales"><img src="https://scott.cm/wp-content/uploads/2013/01/locale-thumb.png" alt="reconfigure locale to en_gb.UTF8"/></a></p>
<p>You should then be able to run trac and have it accessible,  in my case</p>
<blockquote><p>
sudo -u trac tracd -s -p 8000 &#8211;pidfile ~trac/dev/tracd.pid -d &#8211;basic-auth=&#8221;*,/home/trac/dev/htpasswd,dev&#8221; ~trac/dev<br />
curl -I localhost:8000<br />
<em>HTTP/1.0 200 OK<br />
Server: tracd/0.11.7 Python/2.6.6<br />
Date: Wed, 16 Jan 2013 07:38:32 GMT<br />
Cache-Control: must-revalidate<br />
Content-Type: text/html;charset=utf-8<br />
Content-Length: 6184<br />
Set-Cookie: trac_form_token=a83b66948209b4197936bd1a; Path=/<br />
Set-Cookie: trac_session=d2dad341a8e80e6fd2f76551; expires=Tue, 16-Apr-2013 07:38:32 GMT; Path=/</em>
</p></blockquote>
]]></content:encoded>
							<wfw:commentRss>https://scott.cm/error-unsupported-locale-setting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
	</channel>
</rss>
