[ 
https://issues.apache.org/jira/browse/CASSANDRA-10853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Shuler reopened CASSANDRA-10853:
----------------------------------------

I believe my initial test environment was tainted with cqlshlib in PYTHONPATH 
or similar.. A package build of trunk after this commit and installation on a 
fresh m3.medium gave me an error on import:
{noformat}
21:20:22 + /var/lib/jenkins/automaton/bin/ctool run --stream 
jenkins-mshuler_trunk_deb-17 0 echo "DESCRIBE TABLES;" | cqlsh
21:20:24 Traceback (most recent call last):
21:20:24   File "/usr/bin/cqlsh.py", line 167, in <module>
21:20:24     from cqlshlib import cql3handling, cqlhandling, pylexotron, 
sslhandling
21:20:24 ImportError: No module named cqlshlib
21:20:24 
21:20:24 Results for Node 0:
21:20:24 Host: ec2-54-172-207-27.compute-1.amazonaws.com
21:20:24 Private: 172.31.25.94
21:20:24 Start: 1461705623.42
21:20:24 Finished: 1461705624.03
21:20:24 Elapsed: 0.610841035843
21:20:24 Return Code: 1
21:20:24 Out: 
21:20:24 Traceback (most recent call last):
21:20:24 File "/usr/bin/cqlsh.py", line 167, in <module>
21:20:24 from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling
21:20:24 ImportError: No module named cqlshlib
21:20:24 Err: 
21:20:24 
21:20:24 
{noformat}

I'll see if I can find the problem.

> deb package migration to dh_python2
> -----------------------------------
>
>                 Key: CASSANDRA-10853
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10853
>             Project: Cassandra
>          Issue Type: Task
>          Components: Packaging
>            Reporter: Michael Shuler
>            Assignee: Michael Shuler
>             Fix For: 2.1.15, 3.6, 3.0.6, 2.2.7
>
>         Attachments: 10853_2.1.txt, 10853_3.0.txt
>
>
> I'm working on a deb job in jenkins, and I had forgotten to open a bug for 
> this. There is no urgent need, since {{python-support}} is in Jessie, but 
> this package is currently in transition to be removed.
> http://deb.li/dhs2p
> During deb build:
> {noformat}
> dh_pysupport: This program is deprecated, you should use dh_python2 instead. 
> Migration guide: http://deb.li/dhs2p
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to