Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E4DF10846 for ; Thu, 19 Sep 2013 09:34:39 +0000 (UTC) Received: (qmail 56083 invoked by uid 500); 19 Sep 2013 09:34:33 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 55842 invoked by uid 500); 19 Sep 2013 09:34:33 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 55819 invoked by uid 99); 19 Sep 2013 09:34:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Sep 2013 09:34:30 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of oisin.kim@cayova.com designates 213.199.154.185 as permitted sender) Received: from [213.199.154.185] (HELO db8outboundpool.messaging.microsoft.com) (213.199.154.185) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Sep 2013 09:34:23 +0000 Received: from mail74-db8-R.bigfish.com (10.174.8.231) by DB8EHSOBE018.bigfish.com (10.174.4.81) with Microsoft SMTP Server id 14.1.225.22; Thu, 19 Sep 2013 09:34:00 +0000 Received: from mail74-db8 (localhost [127.0.0.1]) by mail74-db8-R.bigfish.com (Postfix) with ESMTP id 0B528DC0118 for ; Thu, 19 Sep 2013 09:34:00 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.252.37;KIP:(null);UIP:(null);IPV:NLI;H:DB3PRD0510HT003.eurprd05.prod.outlook.com;RD:none;EFVD:NLI X-SpamScore: 0 X-BigFish: PS0(zzc857hzz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzzz2fh2a8h839hd25he5bhf0ah1176h1288h12a5h12bdh137ah139eh1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h19ceh1ad9h1b0ah1bceh1d0ch1d2eh1d3fh1dc1h1dfeh1dffh1e23h1f44h1fe8h1ff5h20f0h1155h) Received-SPF: pass (mail74-db8: domain of cayova.com designates 157.56.252.37 as permitted sender) client-ip=157.56.252.37; envelope-from=oisin.kim@cayova.com; helo=DB3PRD0510HT003.eurprd05.prod.outlook.com ;.outlook.com ; Received: from mail74-db8 (localhost.localdomain [127.0.0.1]) by mail74-db8 (MessageSwitch) id 1379583238235877_9282; Thu, 19 Sep 2013 09:33:58 +0000 (UTC) Received: from DB8EHSMHS032.bigfish.com (unknown [10.174.8.225]) by mail74-db8.bigfish.com (Postfix) with ESMTP id 2C4DEA40049 for ; Thu, 19 Sep 2013 09:33:58 +0000 (UTC) Received: from DB3PRD0510HT003.eurprd05.prod.outlook.com (157.56.252.37) by DB8EHSMHS032.bigfish.com (10.174.4.42) with Microsoft SMTP Server (TLS) id 14.16.227.3; Thu, 19 Sep 2013 09:33:58 +0000 Received: from [10.10.10.116] (87.198.140.46) by pod51015.outlook.com (10.255.46.38) with Microsoft SMTP Server (TLS) id 14.16.359.1; Thu, 19 Sep 2013 09:33:57 +0000 Date: Thu, 19 Sep 2013 10:33:54 +0100 From: Oisin Kim To: Message-ID: Subject: cqlsh startup error "Can't locate transport factory function cqlshlib.tfactory.regular_transport_factory" X-Mailer: sparrow 1.6.4 (build 1178) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="523ac502_2e8a6394_87d2" X-Originating-IP: [87.198.140.46] X-OriginatorOrg: cayova.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% X-Virus-Checked: Checked by ClamAV on apache.org --523ac502_2e8a6394_87d2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, cqlsh stopped working for me recently, I'm unsure how / why it broke and I couldn't find anything from the mail archives (or google) that gave me an indication of how to fix the problem. Here's the output I see when I have cassandra running locally (default config except using Random Partitioner) and try run cqlsh (running with --debug and with the local IP makes no difference) oisin@/usr/local/Cellar/cassandra/1.2.9/bin: ./cqlsh Can't locate transport factory function cqlshlib.tfactory.regular_transport_factory I Installed cassandra 1.2.9 and Python 2.7.2 via brew and used pip to install cql. I can connect via the cassandra-cli to create and view keyspaces etc without any issues. Any help greatly appreciated, thanks. Regards, Oisin Versions: oisin@/usr/local/Cellar/cassandra/1.2.9/bin: ./cassandra -v xss = -ea -javaagent:/usr/local/Cellar/cassandra/1.2.9/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms4096M -Xmx4096M -Xmn800M -XX:+HeapDumpOnOutOfMemoryError 1.2.9 oisin@/usr/local/Cellar: python -V Python 2.7.2 oisin@/usr/local/Cellar: pip -V pip 1.4.1 from /usr/local/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg (python 2.7) --523ac502_2e8a6394_87d2 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi,

cqlsh stopped working fo= r me recently, I'm unsure how / why it broke and I couldn't find any= thing from the mail archives (or google) that gave me an indication of ho= w to fix the problem.

Here's the output I see wh= en I have cassandra running locally (default config except using Random P= artitioner) and try run cqlsh (running with --debug and with the local IP= makes no difference) 

oisin=40/u= sr/local/Cellar/cassandra/1.2.9/bin: ./cqlsh
Can't locate trans= port factory function cqlshlib.tfactory.regular=5Ftransport=5Ffactory

I Installed cassandra 1.2.9 and Python = 2.7.2 via brew and used pip to install cql.  I can connect= via the cassandra-cli to create and view keyspaces etc without any issue= s.

Any help greatly appreciated, thanks.

Regards,
Oisin

Versi= ons:

oisin=40/usr/local/Cellar/cassandr= a/1.2.9/bin: ./cassandra -v
xss =3D  -ea -javaagent:/usr/l= ocal/Cellar/cassandra/1.2.9/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:T= hreadPriorityPolicy=3D42 -Xms4096M -Xmx4096M -Xmn800M -XX:+HeapDumpOnOutO= fMemoryError
1.2.9

oisin=40= /usr/local/Cellar: python -V
Python 2.7.2
<= br>
oisin=40/usr/local/Cellar: pip -V
pip 1.4.1 from /u= sr/local/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg (python 2.7)
--523ac502_2e8a6394_87d2--