<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Error : No module named ESL</title>
		<link>http://wikipbx.subwiki.com/forum/t-240891/error:no-module-named-esl</link>
		<description>Posts in the discussion thread &quot;Error : No module named ESL&quot; - Problem with ESL module. Not able to build with make pymod</description>
				<copyright></copyright>
		<lastBuildDate>Mon, 06 Feb 2012 00:43:33 +0000</lastBuildDate>
		
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-240891#post-781913</guid>
				<title>Re: Error : No module named ESL</title>
				<link>http://wikipbx.subwiki.com/forum/t-240891/error:no-module-named-esl#post-781913</link>
				<description></description>
				<pubDate>Wed, 12 May 2010 09:33:31 +0000</pubDate>
				<wikidot:authorName>stas_shtin</wikidot:authorName>				<wikidot:authorUserId>230176</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>According to <a href="http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIPythonPath">mod_wsgi docs</a>, starting from v2.0 it doesn't work it daemon mode. But there's parameter for daemon mode directive that lets you set python path instead.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-240891#post-781544</guid>
				<title>Re: Error : No module named ESL</title>
				<link>http://wikipbx.subwiki.com/forum/t-240891/error:no-module-named-esl#post-781544</link>
				<description></description>
				<pubDate>Tue, 11 May 2010 22:44:37 +0000</pubDate>
				<wikidot:authorName>tleyden</wikidot:authorName>				<wikidot:authorUserId>230690</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I've seen cases where WSGIPythonPath seemed to be ignored and I had to manually add to sys.path in the .wsgi script. Unfortunately I didn't write down the exact mod_wsgi / python versions.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-240891#post-781353</guid>
				<title>Re: Error : No module named ESL</title>
				<link>http://wikipbx.subwiki.com/forum/t-240891/error:no-module-named-esl#post-781353</link>
				<description></description>
				<pubDate>Tue, 11 May 2010 19:01:54 +0000</pubDate>
				<wikidot:authorName>shrenik patel</wikidot:authorName>				<wikidot:authorUserId>481424</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>My mod_wsgi (libapache2-mod-wsgi) version is 2.3. I have install through synaptic package manager in ubuntu 9.04.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-240891#post-781218</guid>
				<title>Re: Error : No module named ESL</title>
				<link>http://wikipbx.subwiki.com/forum/t-240891/error:no-module-named-esl#post-781218</link>
				<description></description>
				<pubDate>Tue, 11 May 2010 16:25:40 +0000</pubDate>
				<wikidot:authorName>stas_shtin</wikidot:authorName>				<wikidot:authorUserId>230176</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>No, that's fine. The only problem you can have from this is if someday freeswitch will change event socket protocol to something incompatible with current version and you update freeswitch but don't copy ESL libs from the new version. But I think that it's a very unlikely situation.</p> <p>Which version of mod_wsgi do you run? It looks like there's some change with its configuration directives, otherwise I don't understand why WSGIPythonPath didn't work.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-240891#post-781094</guid>
				<title>Re: Error : No module named ESL</title>
				<link>http://wikipbx.subwiki.com/forum/t-240891/error:no-module-named-esl#post-781094</link>
				<description></description>
				<pubDate>Tue, 11 May 2010 14:10:23 +0000</pubDate>
				<wikidot:authorName>shrenik patel</wikidot:authorName>				<wikidot:authorUserId>481424</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks for the reply.</p> <p>I followed the steps. I didn't get any error. My python version is 2.6.<br /> I copied libs/esl/python/ESL.py &amp; _ESL.so to /usr/local/lib/python2.6/dist-packages/ and error is solved.<br /> have I done any mistake with that ? is it correct ?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-240891#post-780979</guid>
				<title>Re: Error : No module named ESL</title>
				<link>http://wikipbx.subwiki.com/forum/t-240891/error:no-module-named-esl#post-780979</link>
				<description></description>
				<pubDate>Tue, 11 May 2010 11:11:53 +0000</pubDate>
				<wikidot:authorName>stas_shtin</wikidot:authorName>				<wikidot:authorUserId>230176</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>1. Is python2.6 the default version installed on your OS? What does this command return:</p> <div class="code"> <pre> <code>python --version</code> </pre></div> <p>2. Make sure ESL library is built:</p> <div class="code"> <pre> <code>ls /usr/src/freeswitch/libs/esl/python/_ESL.so</code> </pre></div> <p>Looks like that's the case, but an extra check won't hurt.</p> <p>3. Run python with PYTHONPATH environment variable used for wikipbx:</p> <div class="code"> <pre> <code>PYTHONPATH=/usr/src/wikipbx:/usr/local/lib/python2.6/dist-packages/django:/usr/src/freeswitch/libs/esl/python python2.6</code> </pre></div> <p>Execute this command:</p> <div class="code"> <pre> <code>import ESL</code> </pre></div> <p>Do you get any errors?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-240891#post-780917</guid>
				<title>Re: Error : No module named ESL</title>
				<link>http://wikipbx.subwiki.com/forum/t-240891/error:no-module-named-esl#post-780917</link>
				<description></description>
				<pubDate>Tue, 11 May 2010 09:37:36 +0000</pubDate>
				<wikidot:authorName>shrenik patel</wikidot:authorName>				<wikidot:authorUserId>481424</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thank you for the reply.</p> <p>But still same error</p> <p>ViewDoesNotExist at /<br /> Could not import wikipbx.wikipbxweb.views. Error was: No module named ESL</p> <p>My django install in this /usr/local/lib/python2.6/dist-packages/ &amp; freeswitch &amp; wikipbx stored at /user/src</p> <p>My file /etc/apache2/site-available/wikipbx<br /> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br /> WSGIPythonPath /usr/src/wikipbx:/usr/local/lib/python2.6/dist-packages/django:/usr/src/freeswitch/libs/esl/python</p> <p>&lt;VirtualHost *:80&gt;<br /> ServerAdmin webmaster@localhost<br /> WSGIScriptAlias / /usr/src/wikipbx/wikipbx.wsgi<br /> ServerName localhost<br /> ErrorLog /var/log/apache2/wikipbx.localhost.log<br /> CustomLog /var/log/apache2/wikipbx.localhost.log common<br /> &lt;/VirtualHost&gt;<br /> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</p> <p>Awaiting for your reply</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-240891#post-780903</guid>
				<title>Re: Error : No module named ESL</title>
				<link>http://wikipbx.subwiki.com/forum/t-240891/error:no-module-named-esl#post-780903</link>
				<description></description>
				<pubDate>Tue, 11 May 2010 09:09:01 +0000</pubDate>
				<wikidot:authorName>stas_shtin</wikidot:authorName>				<wikidot:authorUserId>230176</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>As described in <a href="http://wikipbx.subwiki.com/configure-wikipbx-mod-wsgi#toc2">WSGI configuration docs</a>, you should have in your apache config something like:</p> <div class="code"> <pre> <code>WSGIPythonPath /usr/src/wikipbx:/usr/src/django:/usr/src/freeswitch/libs/esl/python</code> </pre></div> <p>The last part of that path contains ESL python bindings directory. I suppose you've missed this step. The message from compiler is not an error - it just tells that you've compiled that library.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-240891#post-780894</guid>
				<title>Error : No module named ESL</title>
				<link>http://wikipbx.subwiki.com/forum/t-240891/error:no-module-named-esl#post-780894</link>
				<description></description>
				<pubDate>Tue, 11 May 2010 08:56:52 +0000</pubDate>
				<wikidot:authorName>shrenik patel</wikidot:authorName>				<wikidot:authorUserId>481424</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have install freeswitch and wikipbx. But When I start web-server<br /> #python manage.py runserver 0.0.0.0:8000</p> <p>in browser I am getting this :</p> <p>ViewDoesNotExist at /<br /> Could not import wikipbx.wikipbxweb.views. Error was: No module named ESL</p> <p>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</p> <p>I am also not able to build ESL module<br /> Build ESL with Python</p> <p>I changed directory to libs/esl directory under freeswitch source tree &amp; try to run following command.<br /> $ make pymod</p> <p>but I got error</p> <p>make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes" CXXFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable" CXX_CFLAGS="" -C python<br /> make[1]: Entering directory ‘/usr/src/freeswitch/libs/esl/python’<br /> make[1]: Nothing to be done for ‘all’.<br /> make[1]: Leaving directory ‘/usr/src/freeswitch/libs/esl/python’</p> <p>Please help!! what should I do?<br /> I will be very much obliged if you can help me.</p> <p>Thank you<br /> regards</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>
