<?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>Right combination of library versions?</title>
		<link>http://wikipbx.subwiki.com/forum/t-163499/right-combination-of-library-versions</link>
		<description>Posts in the discussion thread &quot;Right combination of library versions?&quot; - Can&#039;t seem to put all the pieces together to make it work...</description>
				<copyright></copyright>
		<lastBuildDate>Mon, 06 Feb 2012 00:43:12 +0000</lastBuildDate>
		
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-163499#post-513161</guid>
				<title>Re: Right combination of library versions?</title>
				<link>http://wikipbx.subwiki.com/forum/t-163499/right-combination-of-library-versions#post-513161</link>
				<description></description>
				<pubDate>Fri, 19 Jun 2009 17:43:41 +0000</pubDate>
				<wikidot:authorName>tleyden</wikidot:authorName>				<wikidot:authorUserId>230690</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>What version of django and twisted are you currently running?</p> <ul> <li>cd /usr/src/django</li> <li>svn info</li> <li>paste output to forum</li> <li>cd /usr/src/twisted</li> <li>svn info</li> <li>paste output to forum</li> </ul> <p>Yes it is a good idea to compare to trixswitch .. the first version that had wikipbx bundled.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-163499#post-513128</guid>
				<title>Re: Right combination of library versions?</title>
				<link>http://wikipbx.subwiki.com/forum/t-163499/right-combination-of-library-versions#post-513128</link>
				<description></description>
				<pubDate>Fri, 19 Jun 2009 17:00:30 +0000</pubDate>
				<wikidot:authorName>stas_shtin</wikidot:authorName>				<wikidot:authorUserId>230176</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Is there any reason why you can't install the correct versions of the libraries like the install guide tells?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-163499#post-513125</guid>
				<title>Re: Right combination of library versions?</title>
				<link>http://wikipbx.subwiki.com/forum/t-163499/right-combination-of-library-versions#post-513125</link>
				<description></description>
				<pubDate>Fri, 19 Jun 2009 16:54:40 +0000</pubDate>
				<wikidot:authorName>cfour</wikidot:authorName>				<wikidot:authorUserId>340807</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'm running this on a RHEL5.3 host, that includes the aforementioned version of python. It looks to be a Twisted/Django problem, but I still can't put my finger on it. I came across TrixSwitch, based on CentOS, and it, too uses Python 2.4 (of, course.) The libraries sets were virtually identical.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-163499#post-512344</guid>
				<title>Re: Right combination of library versions?</title>
				<link>http://wikipbx.subwiki.com/forum/t-163499/right-combination-of-library-versions#post-512344</link>
				<description></description>
				<pubDate>Thu, 18 Jun 2009 18:42:59 +0000</pubDate>
				<wikidot:authorName>tleyden</wikidot:authorName>				<wikidot:authorUserId>230690</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I would say there is 95% chance everything will work fine with python 2.4 .. but as stas_shtin mentioned, all of the testing/usage is done with python 2.5 so it would be better to upgrade if possible. I don't think your particular error is related to the python version though.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-163499#post-512336</guid>
				<title>Re: Right combination of library versions?</title>
				<link>http://wikipbx.subwiki.com/forum/t-163499/right-combination-of-library-versions#post-512336</link>
				<description></description>
				<pubDate>Thu, 18 Jun 2009 18:36:05 +0000</pubDate>
				<wikidot:authorName>stas_shtin</wikidot:authorName>				<wikidot:authorUserId>230176</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Note that python 2.4 is almost 5 years old now, and changes to wikipbx probably aren't even tested against this version. You should consider using python 2.5 or 2.6 if it's possible. That said, your problems are likely caused by not <a href="http://wikipbx.subwiki.com/installation-manual#toc27">installing correct django svn revision</a>.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-163499#post-512284</guid>
				<title>Re: Right combination of library versions?</title>
				<link>http://wikipbx.subwiki.com/forum/t-163499/right-combination-of-library-versions#post-512284</link>
				<description></description>
				<pubDate>Thu, 18 Jun 2009 17:28:16 +0000</pubDate>
				<wikidot:authorName>tleyden</wikidot:authorName>				<wikidot:authorUserId>230690</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>You are probably right that you have an incompatible library version somewhere. Here's what I am running:</p> <ul> <li>Twisted: 25481</li> <li>Django: 5024 (this one is mentioned in the docs)</li> <li>Freeswitch: 13223 (but it probably works with latest trunk)</li> </ul> <p>My guess is that you are running the latest version of twisted, which the install document recommends, but they refactored and moved/removed some method that the code was calling. I updated the docs to recommend twisted version 25481.</p> <p>Double check your Django version .. that one is important.</p> <p>The freeswitch version is probably the least likely to cause issues .. due to the decoupled design that the freeswitch people devised, wikipbx hardly ever breaks when freeswitch changes.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://wikipbx.subwiki.com/forum/t-163499#post-512178</guid>
				<title>Right combination of library versions?</title>
				<link>http://wikipbx.subwiki.com/forum/t-163499/right-combination-of-library-versions#post-512178</link>
				<description></description>
				<pubDate>Thu, 18 Jun 2009 15:03:11 +0000</pubDate>
				<wikidot:authorName>cfour</wikidot:authorName>				<wikidot:authorUserId>340807</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'm really excited about the interface, but I'm having great difficulty getting it working. There seems to be some sensitivity around library versions, i.e. Django 0.9x vs. 1.0, and/or wsgi and/or …? I'm having a hard time interpreting the error messages that get spit out, to point to what library is causing the problem.</p> <p>Can someone identify a working configuration, compatible with Python 2.4.3? I've tried Django 0.95.4, 0.96.3, 1.0.2, and seem to get different errors every time. Example (Django 0.96.3):</p> <p>2009/06/18&nbsp;11:38 -0300 [-] 127.0.0.1 - - [18/Jun/2009:14:38:16 -0300] "POST /xml_dialplan/ HTTP/1.1" 200&nbsp;127 "-" "freeswitch-xml/1.0"<br /> 2009/06/18&nbsp;11:38 -0300 [HTTPChannel,18,127.0.0.1] ERROR!!<br /> 2009/06/18&nbsp;11:38 -0300 [HTTPChannel,18,127.0.0.1] Error generating config: 'module' object has no attribute 'blockingCallFromThread'<br /> 2009/06/18&nbsp;11:38 -0300 [HTTPChannel,18,127.0.0.1] Traceback (most recent call last):<br /> 2009/06/18&nbsp;11:38 -0300 [HTTPChannel,18,127.0.0.1] File "/usr/src/wikipbx/wikipbxweb/views.py", line 1843, in xml_dialplan<br /> 2009/06/18&nbsp;11:38 -0300 [HTTPChannel,18,127.0.0.1] if not request.POST:<br /> 2009/06/18&nbsp;11:38 -0300 [HTTPChannel,18,127.0.0.1] File "/usr/lib/python2.4/site-packages/django/core/handlers/wsgi.py", line 136, in _get_post<br /> 2009/06/18&nbsp;11:38 -0300 [HTTPChannel,18,127.0.0.1] self._load_post_and_files()<br /> 2009/06/18&nbsp;11:38 -0300 [HTTPChannel,18,127.0.0.1] File "/usr/lib/python2.4/site-packages/django/core/handlers/wsgi.py", line 116, in _load_post_and_files<br /> 2009/06/18&nbsp;11:38 -0300 [HTTPChannel,18,127.0.0.1] self._post, self._files = http.QueryDict(self.raw_post_data), datastructures.MultiValueDict()<br /> 2009/06/18&nbsp;11:38 -0300 [HTTPChannel,18,127.0.0.1] File "/usr/lib/python2.4/site-packages/django/core/handlers/wsgi.py", line 165, in _get_raw_post_data<br /> 2009/06/18&nbsp;11:38 -0300 [HTTPChannel,18,127.0.0.1] safe_copyfileobj(self.environ['wsgi.input'], buf, size=content_length)<br /> 2009/06/18&nbsp;11:38 -0300 [HTTPChannel,18,127.0.0.1] File "/usr/lib/python2.4/site-packages/django/core/handlers/wsgi.py", line 67, in safe_copyfileobj<br /> 2009/06/18&nbsp;11:38 -0300 [HTTPChannel,18,127.0.0.1] buf = fsrc.read(min(length, size))<br /> 2009/06/18&nbsp;11:38 -0300 [HTTPChannel,18,127.0.0.1] File "/usr/lib/python2.4/site-packages/twisted/web2/wsgi.py", line 74, in read<br /> 2009/06/18&nbsp;11:38 -0300 [HTTPChannel,18,127.0.0.1] return threads.blockingCallFromThread(<br /> 2009/06/18&nbsp;11:38 -0300 [HTTPChannel,18,127.0.0.1] AttributeError: 'module' object has no attribute 'blockingCallFromThread'</p> <p>[root@agbridge1 wikipbx]# echo $PYTHONPATH<br /> :/usr/src:/opt/freeswitch/scripts/socket</p> <p>(wikipbx installed in '/usr/src/wikipbx')</p> <p>Also using the latest SVN of freeswitch, 1.0.4</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>
