<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Fixed in iRedAdmin-1.0.0: not all arguments converted]]></title>
		<link>http://www.iredmail.org/forum/topic399-fixed-in-iredadmin100-not-all-arguments-converted.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic399.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Fixed in iRedAdmin-1.0.0: not all arguments converted.]]></description>
		<lastBuildDate>Thu, 05 Nov 2009 08:38:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Fixed in iRedAdmin-1.0.0: not all arguments converted]]></title>
			<link>http://www.iredmail.org/forum/post1729.html#p1729</link>
			<description><![CDATA[<p>This post is used to fix bug in iRedAdmin-1.0.0 (Full-Featured Edition), if it doesn&#039;t work for you, please post a new topic in this forum.<br />=================</p><p>Hi, all.</p><p>There is a bug in iRedAdmin-1.0.0 (Full-Featured Edition).</p><h5>Abstract</h5><p>When user&#039;s mail quota is less than 1KB, iRedAdmin will raise an &#039;Internal server error&#039;.</p><h5>Root Case</h5><p>There&#039;s a bug in iRedAdmin (libs/iredutils.py, function: filesizeformat()), not all arguments converted during string formatting.</p><h5>Affected versions</h5><ul><li><p>iRedAdmin-1.0.0 (Full-Featured Edition)</p></li></ul><h5>Steps to fix it</h5><ul><li><p>Download patch and copy to iRedAdmin installation directory, and change current directory to iRedAdmin.</p></li></ul><div class="codebox"><pre><code># ---- Download patch ----
# wget http://www.iredmail.org/patches/iredadmin/ent/1.0.0/iredadmin-v100-20091105-01.patch

# ---- On RHEL/CentOS ----
# cp iredadmin-v100-20091105-01.patch /var/www/iredadmin/
# cd /var/www/iredadmin/

# ---- On Debian/Ubuntu ----
# cp iredadmin-v100-20091105-01.patch /usr/share/apache2/iredadmin/
# cd /usr/share/apache2/iredadmin/</code></pre></div><ul><li><p>Use patch command with &#039;--dry-patch&#039; options to test whether this patch will be applied clearly. If command output is not <strong>SAME</strong> as below, please do <strong>NOT</strong> try further steps, and post a new topic in this forum.</p></li></ul><div class="codebox"><pre><code># patch --dry-run -p1 &lt; iredadmin-v100-20091105-01.patch
patching file libs/__init__.py
patching file libs/iredutils.py</code></pre></div><ul><li><p>Patch it.</p></li></ul><div class="codebox"><pre><code># patch -p1 &lt; iredadmin-v100-20091105-01.patch
patching file libs/__init__.py
patching file libs/iredutils.py</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 05 Nov 2009 08:38:58 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post1729.html#p1729</guid>
		</item>
	</channel>
</rss>
