<?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 running Wikipbx 0.8</title>
		<link>http://wikipbx.subwiki.com/forum/t-214140/error-running-wikipbx-0-8</link>
		<description>Posts in the discussion thread &quot;Error running Wikipbx 0.8&quot; - Once installed, Wikipbx just logs an error about not being able to find wikipbx.settings. CentOS 5.4</description>
				<copyright></copyright>
		<lastBuildDate>Sun, 05 Sep 2010 03:19:39 +0000</lastBuildDate>
		
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-214140#post-686410</guid>
				<title>Re: Error running Wikipbx 0.8</title>
				<link>http://wikipbx.subwiki.com/forum/t-214140/error-running-wikipbx-0-8#post-686410</link>
				<description></description>
				<pubDate>Thu, 28 Jan 2010 21:20:04 +0000</pubDate>
				<wikidot:authorName>tleyden</wikidot:authorName>				<wikidot:authorUserId>230690</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Are you all sorted out? Looks like its just a misconfigured WSGIPythonPath.. should be easy to fix.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-214140#post-684373</guid>
				<title>Re: Error running Wikipbx 0.8</title>
				<link>http://wikipbx.subwiki.com/forum/t-214140/error-running-wikipbx-0-8#post-684373</link>
				<description></description>
				<pubDate>Tue, 26 Jan 2010 10:58:15 +0000</pubDate>
				<wikidot:authorName>stas_shtin</wikidot:authorName>				<wikidot:authorUserId>230176</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>It looks like you don't have '/usr/src/wikipbx' on your python path and you have '/usr/src/wikipbx/wikipbx/wikipbxweb' that I don't think is needed, although the latter shouldn't be relevant here. So what's your WSGIPythonPath in apache mod_wsgi config?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-214140#post-684362</guid>
				<title>Re: Error running Wikipbx 0.8</title>
				<link>http://wikipbx.subwiki.com/forum/t-214140/error-running-wikipbx-0-8#post-684362</link>
				<description></description>
				<pubDate>Tue, 26 Jan 2010 10:34:46 +0000</pubDate>
				<wikidot:authorName>stas_shtin</wikidot:authorName>				<wikidot:authorUserId>230176</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Traun is talking about WSGIPythonPath directive in apache config. It's describe in <a href="http://wikipbx.subwiki.com/configure-wikipbx-mod-wsgi">apache configuration docs</a>.</p> <p>Also note that python 2.4 is not an officially supported version, so you should upgrade to python 2.5 or higher if you get messages with SyntaxError exceptions later.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-214140#post-684357</guid>
				<title>Re: Error running Wikipbx 0.8</title>
				<link>http://wikipbx.subwiki.com/forum/t-214140/error-running-wikipbx-0-8#post-684357</link>
				<description></description>
				<pubDate>Tue, 26 Jan 2010 10:27:59 +0000</pubDate>
				<wikidot:authorName>profhell</wikidot:authorName>				<wikidot:authorUserId>432733</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Here is the result from error_log after adding the print line:</p> <p>[error] sys.path: ['/usr/lib/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-i686.egg', '/usr/lib/python2.4', '/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/wsgiproxy', '/usr/lib/python2.4/site-packages/wsgiref', '/usr/lib/python2.4/site-packages/wsgiref-0.1.2-py2.4.egg-info', '/usr/src/wikipbx/wikipbx', '/usr/src/wikipbx/wikipbx/wikipbxweb', '/usr/lib/python24.zip', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages/Numeric', '/usr/lib/python2.4/site-packages/PIL', '/usr/lib/python2.4/site-packages/gtk-2.0']</p> <p>Any clues ?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-214140#post-684343</guid>
				<title>Re: Error running Wikipbx 0.8</title>
				<link>http://wikipbx.subwiki.com/forum/t-214140/error-running-wikipbx-0-8#post-684343</link>
				<description></description>
				<pubDate>Tue, 26 Jan 2010 10:00:26 +0000</pubDate>
				<wikidot:authorName>profhell</wikidot:authorName>				<wikidot:authorUserId>432733</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks very much for this.</p> <p>Excuse my ignorance of both python and wsgi, but I couldn't locate WSGIPythonPath anywhere in the scripts installed.</p> <p>My install has the following hierarchy:</p> <p>/usr/src/wikipbx: this is where the wikipbx tree is installed<br /> /usr/lib/python2.4: this is where python 2.4 is installed<br /> /usr/lib/python2.4/site-pakages</p> <p>What is your recommendation for setting this path and in which file should that definition go ?</p> <p>Thanks again.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-214140#post-684336</guid>
				<title>Re: Error running Wikipbx 0.8</title>
				<link>http://wikipbx.subwiki.com/forum/t-214140/error-running-wikipbx-0-8#post-684336</link>
				<description></description>
				<pubDate>Tue, 26 Jan 2010 09:50:09 +0000</pubDate>
				<wikidot:authorName>profhell</wikidot:authorName>				<wikidot:authorUserId>432733</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks for this.</p> <p>Already copied and customised.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-214140#post-683961</guid>
				<title>Re: Error running Wikipbx 0.8</title>
				<link>http://wikipbx.subwiki.com/forum/t-214140/error-running-wikipbx-0-8#post-683961</link>
				<description></description>
				<pubDate>Mon, 25 Jan 2010 21:54:08 +0000</pubDate>
				<wikidot:authorName>tleyden</wikidot:authorName>				<wikidot:authorUserId>230690</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>If you did indeed copy settings_template.py -&gt; settings.py, double check your WSGIPythonPath variable for typo's. That's happened to me a few times .. got that same error because it couldn't find the settings.py module.</p> <p>Essentially what's happening is that the python interpreter running in apache simply cannot find a python module called "settings", which it expects to find in a package called "wikipbx".</p> <p>If you can't get it working it shouldn't be too hard to debug, just print out the sys.path from the wikipbx.wsgi file using:</p> <div class="code"> <pre> <code>print &gt;&gt; sys.stderr, "sys.path: %s" % sys.path</code> </pre></div> <p>.. something like that at least, and you would see output in the /var/log/apache2/error.log file</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-214140#post-683900</guid>
				<title>Re: Error running Wikipbx 0.8</title>
				<link>http://wikipbx.subwiki.com/forum/t-214140/error-running-wikipbx-0-8#post-683900</link>
				<description></description>
				<pubDate>Mon, 25 Jan 2010 20:47:25 +0000</pubDate>
				<wikidot:authorName>stas_shtin</wikidot:authorName>				<wikidot:authorUserId>230176</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>As <a href="http://wikipbx.subwiki.com/installation-manual-0-8#toc3">described in installation manual</a>, you should copy wikipbx/settings_template.py flie to wikipbx/settings.py and customize it as necessary.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-214140#post-683896</guid>
				<title>Error running Wikipbx 0.8</title>
				<link>http://wikipbx.subwiki.com/forum/t-214140/error-running-wikipbx-0-8#post-683896</link>
				<description></description>
				<pubDate>Mon, 25 Jan 2010 20:40:30 +0000</pubDate>
				<wikidot:authorName>profhell</wikidot:authorName>				<wikidot:authorUserId>432733</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Gents,</p> <p>Perhaps a FAQ, but I couldn't find it anywhere on the FAQ list.</p> <p>I've installed and configured all the pre-requisites for 0.8 on my CentOS 5.4 install, and all's well. That is until I open a page to wikipbx.mydomein.com.</p> <p>All I get is an Error 500 page, and an error in the web server logs as follows:</p> <p>[Mon Jan 25&nbsp;20:27:45&nbsp;2010] [error] [client 82.28.143.247] mod_wsgi (pid=6327): Exception occurred process<br /> ing WSGI script '/usr/src/wikipbx/wikipbx.wsgi'.<br /> [Mon Jan 25&nbsp;20:27:45&nbsp;2010] [error] [client 82.28.143.247] Traceback (most recent call last):<br /> [Mon Jan 25&nbsp;20:27:45&nbsp;2010] [error] [client 82.28.143.247] File "/usr/lib/python2.4/site-packages/django<br /> /core/handlers/wsgi.py", line 230, in <span style="text-decoration: underline;">call</span><br /> [Mon Jan 25&nbsp;20:27:45&nbsp;2010] [error] [client 82.28.143.247] self.load_middleware()<br /> [Mon Jan 25&nbsp;20:27:45&nbsp;2010] [error] [client 82.28.143.247] File "/usr/lib/python2.4/site-packages/django<br /> /core/handlers/base.py", line 33, in load_middleware<br /> [Mon Jan 25&nbsp;20:27:45&nbsp;2010] [error] [client 82.28.143.247] for middleware_path in settings.MIDDLEWARE_<br /> CLASSES:<br /> [Mon Jan 25&nbsp;20:27:45&nbsp;2010] [error] [client 82.28.143.247] File "/usr/lib/python2.4/site-packages/django<br /> /utils/functional.py", line 269, in <span style="text-decoration: underline;">getattr</span><br /> [Mon Jan 25&nbsp;20:27:45&nbsp;2010] [error] [client 82.28.143.247] self._setup()<br /> [Mon Jan 25&nbsp;20:27:45&nbsp;2010] [error] [client 82.28.143.247] File "/usr/lib/python2.4/site-packages/django<br /> /conf/<span style="text-decoration: underline;">init</span>.py", line 40, in _setup<br /> [Mon Jan 25&nbsp;20:27:45&nbsp;2010] [error] [client 82.28.143.247] self._wrapped = Settings(settings_module)<br /> [Mon Jan 25&nbsp;20:27:45&nbsp;2010] [error] [client 82.28.143.247] File "/usr/lib/python2.4/site-packages/django<br /> /conf/<span style="text-decoration: underline;">init</span>.py", line 75, in <span style="text-decoration: underline;">init</span><br /> [Mon Jan 25&nbsp;20:27:45&nbsp;2010] [error] [client 82.28.143.247] raise ImportError, "Could not import settin<br /> gs '%s' (Is it on sys.path? Does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e)<br /> [Mon Jan 25&nbsp;20:27:45&nbsp;2010] [error] [client 82.28.143.247] ImportError: Could not import settings 'wikipbx<br /> .settings' (Is it on sys.path? Does it have syntax errors?): No module named wikipbx.settings</p> <p>There is a reference to wikipbx.settings in a number of files under the install directory, but I could not locate such a module anywhere.</p> <p>Can anyone shed some light on this ?</p> <p>Thanks in advance.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>