<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — iredadmin ImportError No module named ldap]]></title>
		<link>http://www.iredmail.org/forum/topic4230-iredadmin-importerror-no-module-named-ldap.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic4230.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in iredadmin ImportError No module named ldap.]]></description>
		<lastBuildDate>Sun, 02 Dec 2012 01:11:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: iredadmin ImportError No module named ldap]]></title>
			<link>http://www.iredmail.org/forum/post19322.html#p19322</link>
			<description><![CDATA[<p>Does it work with below commands:<br /></p><div class="codebox"><pre><code># python
&gt;&gt;&gt; import ldap</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 02 Dec 2012 01:11:16 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19322.html#p19322</guid>
		</item>
		<item>
			<title><![CDATA[iredadmin ImportError No module named ldap]]></title>
			<link>http://www.iredmail.org/forum/post19321.html#p19321</link>
			<description><![CDATA[<p>==== Required information ====<br />- iRedMail version: <br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): <br />- Linux/BSD distribution name and version: <br />- Related log if you&#039;re reporting an issue: <br />==== ==== Required information ====<br />- iRedMail version: 0.8.3<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP<br />- Linux/BSD distribution name and version: Debian wheezy/sid<br />- Related log if you&#039;re reporting an issue: <br />==== </p><p>When I try to connect to my iredamin interface, I got an &quot;Internal Error&quot; and apache logs tell me:</p><div class="codebox"><pre><code>2012-12-01 22:35:59 ERROR 500: Internal Server Error.

[Sat Dec 01 22:36:52 2012] [error] [client 82.228.39.195] Traceback (most recent call last):
[Sat Dec 01 22:36:52 2012] [error] [client 82.228.39.195]   File &quot;/usr/local/lib/python2.7/site-packages/web.py-0.37-py2.7.egg/web/application.py&quot;, line 239, in process
[Sat Dec 01 22:36:52 2012] [error] [client 82.228.39.195]     return self.handle()
[Sat Dec 01 22:36:52 2012] [error] [client 82.228.39.195]   File &quot;/usr/local/lib/python2.7/site-packages/web.py-0.37-py2.7.egg/web/application.py&quot;, line 230, in handle
[Sat Dec 01 22:36:52 2012] [error] [client 82.228.39.195]     return self._delegate(fn, self.fvars, args)
[Sat Dec 01 22:36:52 2012] [error] [client 82.228.39.195]   File &quot;/usr/local/lib/python2.7/site-packages/web.py-0.37-py2.7.egg/web/application.py&quot;, line 416, in _delegate
[Sat Dec 01 22:36:52 2012] [error] [client 82.228.39.195]     mod = __import__(mod, None, None, [&#039;&#039;])
[Sat Dec 01 22:36:52 2012] [error] [client 82.228.39.195]   File &quot;/usr/share/apache2/iredadmin/controllers/ldap/basic.py&quot;, line 5, in &lt;module&gt;
[Sat Dec 01 22:36:52 2012] [error] [client 82.228.39.195]     import ldap
[Sat Dec 01 22:36:52 2012] [error] [client 82.228.39.195] ImportError: No module named ldap
[Sat Dec 01 22:36:52 2012] [error] [client 82.228.39.195] </code></pre></div><p>ldap-python is installed on my machine:<br /></p><div class="codebox"><pre><code># dpkg -s python-ldap
Package: python-ldap
Status: install ok installed
Priority: optional
Section: python
Installed-Size: 449
Maintainer: Matej Vela &lt;vela@debian.org&gt;
Architecture: amd64
Version: 2.4.10-1
Replaces: python2.3-ldap (&lt;&lt; 2.2.0-1.1), python2.3-ldap-tls, python2.4-ldap (&lt;&lt; 2.2.0-1.1)
Provides: python2.6-ldap, python2.7-ldap
Depends: python2.7 | python2.6, python (&gt;= 2.6.6-7~), python (&lt;&lt; 2.8), libc6 (&gt;= 2.2.5), libldap-2.4-2 (&gt;= 2.4.7)
Suggests: python-ldap-doc, python-pyasn1
Conflicts: python2.3-ldap (&lt;&lt; 2.2.0-1.1), python2.3-ldap-tls, python2.4-ldap (&lt;&lt; 2.2.0-1.1)
Description: LDAP interface module for Python
 This module provides a Python interface to the OpenLDAP client library
 (LDAP is the Lightweight Directory Access Protocol).
Homepage: http://www.python-ldap.org/</code></pre></div><p>What can y do o solve that? I&#039; ve look at many help, but nothing helps me. :-(</p><p>Thanks in advance,<br />Jacques Foucry</p>]]></description>
			<author><![CDATA[null@example.com (le_jax)]]></author>
			<pubDate>Sat, 01 Dec 2012 21:42:41 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post19321.html#p19321</guid>
		</item>
	</channel>
</rss>
