You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Hobbs (JIRA)" <ji...@apache.org> on 2015/09/03 18:29:45 UTC

[jira] [Commented] (CASSANDRA-10255) AttributeError: 'module' object has no attribute 'compress'

    [ https://issues.apache.org/jira/browse/CASSANDRA-10255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14729349#comment-14729349 ] 

Tyler Hobbs commented on CASSANDRA-10255:
-----------------------------------------

I think that's failing on using {{snappy.compress}} after successfully importing {{snappy}}.  Do you have an old snappy python library installed, perhaps?

> AttributeError: 'module' object has no attribute 'compress' 
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-10255
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10255
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Config, Packaging
>         Environment: Linux fedora 21
>            Reporter: navithejesh
>            Priority: Critical
>              Labels: newbie
>             Fix For: 2.1.x
>
>         Attachments: error.jpeg
>
>
> Hi Recently i have upgrade my server from cassandra version 2.0.11 to 2.1.8 using tarball installation.And i have added one node to existing culster with the same version of 2.1.8. All the configuration settings are done but am not able to run cqlsh from bin directory.and this is the error
> AttributeError: 'module' object has no attribute 'compress'
> ./cqlsh
> Traceback (most recent call last):
>  File "./cqlsh", line 111, in <module>
>     from cassandra.cluster import Cluster, PagedResult
> File "/home/cassandra/apache-cassandra-2.1.8/bin/../lib/cassandra-driver-internal-only-2.6.0c2.post.zip/cassandra-driver-2.6.0c2.post/cassandra/cluster.py", line 49, in <module>
>  File "/home/cassandra/apache-cassandra-2.1.8/bin/../lib/cassandra-driver-internal-only-2.6.0c2.post.zip/cassandra-driver-2.6.0c2.post/cassandra/connection.py", line 88, in <module>
> AttributeError: 'module' object has no attribute 'compress'



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