Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D8ED218DB4 for ; Tue, 21 Jul 2015 14:21:39 +0000 (UTC) Received: (qmail 45979 invoked by uid 500); 21 Jul 2015 14:21:05 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 45951 invoked by uid 500); 21 Jul 2015 14:21:05 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 45939 invoked by uid 99); 21 Jul 2015 14:21:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2015 14:21:05 +0000 Date: Tue, 21 Jul 2015 14:21:05 +0000 (UTC) From: "Philip Thompson (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-9670) Cannot run CQL scripts on Windows AND having error Ubuntu Linux MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-9670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philip Thompson updated CASSANDRA-9670: --------------------------------------- Assignee: Tyler Hobbs (was: Philip Thompson) Reproduced In: 2.1.8, 2.1.7 (was: 2.1.7, 2.1.8) > Cannot run CQL scripts on Windows AND having error Ubuntu Linux > --------------------------------------------------------------- > > Key: CASSANDRA-9670 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9670 > Project: Cassandra > Issue Type: Bug > Components: Core > Environment: - Apache Cassandra 2.1.7 and 2.1.8 in Ubuntu > - DataStax Community Edition on Windows 7, 64 Bit and Ubuntu > Reporter: Sanjay Patel > Assignee: Tyler Hobbs > Labels: cqlsh > Fix For: 2.1.x > > Attachments: cities.cql, germany_cities.cql, germany_cities.cql, india_cities.csv, india_states.csv, sp_setup.cql > > > After installation of 2.1.6 and 2.1.7 it is not possible to execute cql scripts, which were earlier executed on windows + Linux environment successfully. > I have tried to install Python 2 latest version and try to execute, but having same error. > Attaching cities.cql for reference. > ----------- > {code} > cqlsh> source 'shoppoint_setup.cql' ; > shoppoint_setup.cql:16:InvalidRequest: code=2200 [Invalid query] message="Keyspace 'shopping' does not exist" > shoppoint_setup.cql:647:'ascii' codec can't decode byte 0xc3 in position 57: ordinal not in range(128) > cities.cql:9:'ascii' codec can't decode byte 0xc3 in position 51: ordinal not in range(128) > cities.cql:14: > Error starting import process: > cities.cql:14:Can't pickle : it's not found as thread.lock > cities.cql:14:can only join a started process > cities.cql:16: > Error starting import process: > cities.cql:16:Can't pickle : it's not found as thread.lock > cities.cql:16:can only join a started process > Traceback (most recent call last): > File "", line 1, in > File "I:\programm\python2710\lib\multiprocessing\forking.py", line 380, in main > prepare(preparation_data) > File "I:\programm\python2710\lib\multiprocessing\forking.py", line 489, in prepare > Traceback (most recent call last): > File "", line 1, in > file, path_name, etc = imp.find_module(main_name, dirs) > ImportError: No module named cqlsh > File "I:\programm\python2710\lib\multiprocessing\forking.py", line 380, in main > prepare(preparation_data) > File "I:\programm\python2710\lib\multiprocessing\forking.py", line 489, in prepare > file, path_name, etc = imp.find_module(main_name, dirs) > ImportError: No module named cqlsh > shoppoint_setup.cql:663:'ascii' codec can't decode byte 0xc3 in position 18: ordinal not in range(128) > ipcache.cql:28:ServerError: > ccavn_bulkupdate.cql:75:ServerError: > shoppoint_setup.cql:680:'ascii' codec can't decode byte 0xe2 in position 14: ordinal not in range(128){code} > --------------------- > In one of Ubuntu development environment we have similar errors. > ----------------------------- > {code} > shoppoint_setup.cql:647:'ascii' codec can't decode byte 0xc3 in position 57: ordinal not in range(128) > cities.cql:9:'ascii' codec can't decode byte 0xc3 in position 51: ordinal not in range(128) > (corresponding line) COPY cities (city,country_code,state,isactive) FROM 'testdata/india_cities.csv' ; > [19:53:18] j.basu: shoppoint_setup.cql:663:'ascii' codec can't decode byte 0xc3 in position 18: ordinal not in range(128) > {code} > ------------ -- This message was sent by Atlassian JIRA (v6.3.4#6332)