<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Tag: twisted - Recent Posts</title>
		<link>http://www.datastax.com/support-forums/tags/twisted</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Sun, 19 May 2013 13:28:42 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/tags/twisted" rel="self" type="application/rss+xml" />

		<item>
			<title>thobbs on "OpsCenter 1.4.1 problem on Mac OS 10.7.3: ImportError: No module named twisted.scripts.twistd"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenter-141-problem-on-mac-os-1073-importerror-no-module-named-twistedscriptstwistd#post-3431</link>
			<pubDate>Mon, 23 Jul 2012 02:38:31 +0000</pubDate>
			<dc:creator>thobbs</dc:creator>
			<guid isPermaLink="false">3431@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;lotka,&#60;/p&#62;
&#60;p&#62;Fedora isn't a supported distro for OpsCenter at this time. It's &#60;em&#62;possible&#60;/em&#62; that it will run on Fedora with some modification, but I have no idea if it actually will.&#60;/p&#62;
&#60;p&#62;If you want to try, edit bin/opscenter and replace the line&#60;/p&#62;
&#60;p&#62;&#60;code&#62;PY_DISTRO=&#38;quot;./lib/py-redhat/${PY_VER}/shared/${PY_ARCH}:./lib/py-redhat/${PY_VER}/${VER}/${PY_ARCH}&#38;quot;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;with&#60;/p&#62;
&#60;p&#62;&#60;code&#62;PY_DISTRO=&#38;quot;./lib/py-redhat/2.7/shared/amd64:./lib/py-redhat/2.7/6/amd64&#38;quot;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;That assumes you're using a 64 bit system.  If not, replace amd64 with i386.  Hopefully that might work, but if not, there's not much else we can do.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lotka on "OpsCenter 1.4.1 problem on Mac OS 10.7.3: ImportError: No module named twisted.scripts.twistd"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenter-141-problem-on-mac-os-1073-importerror-no-module-named-twistedscriptstwistd#post-3330</link>
			<pubDate>Fri, 20 Jul 2012 13:55:27 +0000</pubDate>
			<dc:creator>lotka</dc:creator>
			<guid isPermaLink="false">3330@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
I am replaying to this post because I cannot open a new one (how is this possible?)&#60;br /&#62;
I have the same problem to run opscenter 2.1 on Fedora 16.&#60;br /&#62;
I don't have root priviliges so I downloaded tarball. But I've got the same exception. I've Python 2.7 installed.&#60;br /&#62;
And in my configuration I have this line&#60;br /&#62;
&#60;code&#62;+PY_VER=$($PYTHON -c &#38;quot;import platform; v = platform.python_version(); print v[:v.index(&#38;#039;.&#38;#039;, 2)]&#38;quot;)&#60;/code&#62;&#60;br /&#62;
instead of this one:&#60;br /&#62;
&#60;code&#62;-PY_VER=$($PYTHON -c &#38;quot;import sys; v = sys.version; print v[:v.index(&#38;#039;.&#38;#039;, 2)]&#38;quot;)&#60;/code&#62;&#60;br /&#62;
(probably its becouse the fix that you mentioned.&#60;br /&#62;
Any clues?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "OpsCenter 1.4.1 problem on Mac OS 10.7.3: ImportError: No module named twisted.scripts.twistd"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenter-141-problem-on-mac-os-1073-importerror-no-module-named-twistedscriptstwistd#post-1423</link>
			<pubDate>Thu, 22 Mar 2012 16:18:19 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1423@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;That got opscenter working - thanks. I'm on to a new problem: the agent is now displaying this error:&#60;/p&#62;
&#60;p&#62;ERROR [pool-3-thread-1] 2012-03-22 09:15:20,967 Error getting realtime node details&#60;br /&#62;
java.lang.RuntimeException: Agent is failed, needs restart&#60;br /&#62;
	at clojure.lang.Agent.dispatch(Agent.java:225)&#60;br /&#62;
	at clojure.core$send_off.doInvoke(core.clj:1601)&#60;br /&#62;
	at clojure.lang.RestFn.invoke(RestFn.java:464)&#60;br /&#62;
	at opsagent.opsagent$setup_conn$send_message__3661.invoke(opsagent.clj:103)&#60;br /&#62;
...&#60;/p&#62;
&#60;p&#62;But I'll mark this topic resolved and look at this problem separately. I might not have a port number correct or something. Thanks again for your help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbulman on "OpsCenter 1.4.1 problem on Mac OS 10.7.3: ImportError: No module named twisted.scripts.twistd"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenter-141-problem-on-mac-os-1073-importerror-no-module-named-twistedscriptstwistd#post-1416</link>
			<pubDate>Thu, 22 Mar 2012 03:34:37 +0000</pubDate>
			<dc:creator>mbulman</dc:creator>
			<guid isPermaLink="false">1416@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Thanks for that info.  We have a fix for this coming in our next version of opscenter.  In the meantime, if you'd like to apply the following patch to the opscenter script found in ./bin, you may be able to get it working:&#60;/p&#62;
&#60;p&#62;-PY_VER=$($PYTHON -c &#34;import sys; v = sys.version; print v[:v.index('.', 2)]&#34;)&#60;br /&#62;
+PY_VER=$($PYTHON -c &#34;import platform; v = platform.python_version(); print v[:v.index('.', 2)]&#34;)&#60;/p&#62;
&#60;p&#62;If you do apply the patch, please let us know if it does or does not work.&#60;/p&#62;
&#60;p&#62;Thanks again
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "OpsCenter 1.4.1 problem on Mac OS 10.7.3: ImportError: No module named twisted.scripts.twistd"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenter-141-problem-on-mac-os-1073-importerror-no-module-named-twistedscriptstwistd#post-1415</link>
			<pubDate>Wed, 21 Mar 2012 23:09:52 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1415@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Here are the results:&#60;/p&#62;
&#60;p&#62;:python -c &#34;import twisted; print twisted&#34;&#60;br /&#62;
Traceback (most recent call last):&#60;br /&#62;
  File &#34;&#38;lt;string&#38;gt;&#34;, line 1, in &#38;lt;module&#38;gt;&#60;br /&#62;
ImportError: No module named twisted&#60;br /&#62;
:python2.7 -c &#34;import twisted; print twisted&#34;&#60;br /&#62;
Traceback (most recent call last):&#60;br /&#62;
  File &#34;&#38;lt;string&#38;gt;&#34;, line 1, in &#38;lt;module&#38;gt;&#60;br /&#62;
ImportError: No module named twisted&#60;/p&#62;
&#60;p&#62;Adding the echo $PYTHONPATH line:&#60;/p&#62;
&#60;p&#62;:./opscenter&#60;br /&#62;
./src/lib/python2.7 (r27:82508, Jul 3 2010, 21:12:11) [GCC 4/site-packages:./lib/py:./lib/py-osx/2.7 (r27:82508, Jul 3 2010, 21:12:11) [GCC 4/amd64:/Library/Frameworks/Python.framework/Versions/2.7&#60;br /&#62;
Traceback (most recent call last):&#60;br /&#62;
  File &#34;./bin/twistd&#34;, line 18, in &#38;lt;module&#38;gt;&#60;br /&#62;
    from twisted.scripts.twistd import run&#60;br /&#62;
ImportError: No module named twisted.scripts.twistd&#60;/p&#62;
&#60;p&#62;And finally:&#60;/p&#62;
&#60;p&#62;:python -c &#34;import sys; v = sys.version; print v[:v.index('.', 2)], '###'&#34;&#60;br /&#62;
2.7 (r27:82508, Jul  3 2010, 21:12:11)&#60;br /&#62;
[GCC 4 ###&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbulman on "OpsCenter 1.4.1 problem on Mac OS 10.7.3: ImportError: No module named twisted.scripts.twistd"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenter-141-problem-on-mac-os-1073-importerror-no-module-named-twistedscriptstwistd#post-1414</link>
			<pubDate>Wed, 21 Mar 2012 22:16:19 +0000</pubDate>
			<dc:creator>mbulman</dc:creator>
			<guid isPermaLink="false">1414@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Also, can you send the output of the following:&#60;/p&#62;
&#60;p&#62;python -c &#34;import sys; v = sys.version; print v[:v.index('.', 2)], '###'&#34;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbulman on "OpsCenter 1.4.1 problem on Mac OS 10.7.3: ImportError: No module named twisted.scripts.twistd"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenter-141-problem-on-mac-os-1073-importerror-no-module-named-twistedscriptstwistd#post-1413</link>
			<pubDate>Wed, 21 Mar 2012 20:38:14 +0000</pubDate>
			<dc:creator>mbulman</dc:creator>
			<guid isPermaLink="false">1413@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Can you provide the output of the following commands:&#60;br /&#62;
         python -c &#34;import twisted; print twisted&#34;&#60;br /&#62;
         python2.7 -c &#34;import twisted; print twisted&#34;&#60;/p&#62;
&#60;p&#62;Can you also add the following line to line 81 of the opscenter script (right above the last line):&#60;br /&#62;
         echo $PYTHONPATH&#60;/p&#62;
&#60;p&#62;and provide that output as well.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "OpsCenter 1.4.1 problem on Mac OS 10.7.3: ImportError: No module named twisted.scripts.twistd"</title>
			<link>http://www.datastax.com/support-forums/topic/opscenter-141-problem-on-mac-os-1073-importerror-no-module-named-twistedscriptstwistd#post-1412</link>
			<pubDate>Wed, 21 Mar 2012 18:51:46 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1412@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I installed OpsCenter 1.4.1 on my Mac, but opscenter fails to start. Here's the sequence:&#60;br /&#62;
-----------------------&#60;br /&#62;
:java -version&#60;br /&#62;
java version &#34;1.6.0_29&#34;&#60;br /&#62;
:python -V&#60;br /&#62;
Python 2.7&#60;br /&#62;
:openssl version&#60;br /&#62;
OpenSSL 0.9.8r 8 Feb 2011&#60;br /&#62;
:cd bin&#60;br /&#62;
~/opscenter-1.4.1/bin&#60;br /&#62;
:setup.py&#60;br /&#62;
Generating a 1024 bit RSA private key&#60;br /&#62;
................................................................++++++&#60;br /&#62;
.......++++++&#60;br /&#62;
writing new private key to 'ssl/opscenter.key'&#60;br /&#62;
-----&#60;br /&#62;
MAC verified OK&#60;br /&#62;
Certificate was added to keystore&#60;br /&#62;
:./opscenter&#60;br /&#62;
Traceback (most recent call last):&#60;br /&#62;
  File &#34;./bin/twistd&#34;, line 18, in &#38;lt;module&#38;gt;&#60;br /&#62;
    from twisted.scripts.twistd import run&#60;br /&#62;
ImportError: No module named twisted.scripts.twistd&#60;br /&#62;
-----------------------&#60;br /&#62;
As I understand it, OSX comes with twisted installed, but I don't see this file anywhere. Did I miss something?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
