incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mobiledream...@gmail.com
Subject Re: lazyboy does not work with cassandra
Date Tue, 25 Aug 2009 09:04:03 GMT
python a.py
Traceback (most recent call last):
  File "a.py", line 3, in <module>
    print cassandra.ttypes.Column().__hash__()
AttributeError: Column instance has no attribute '__hash__'


On Mon, Aug 24, 2009 at 11:51 PM, Drew Schleck <drew.schleck@gmail.com>wrote:

> Hi,
>  I can't reproduce this with Python 2.6.2, the latest Thrift
> interface, and commit 575c5f3057450e22ec6503ea1b1cb467616715da of my
> Lazyboy branch. Can you run the following program and tell me if it
> exceptions?
>
> #!/usr/bin/python
> import cassandra.ttypes
> print cassandra.ttypes.Column().__hash__()
>
>  If it does exception I don't know how to fix it and I can't help
> you, my version of Thrift and Python will happily hash that.
>
> Drew
>
> On Mon, Aug 24, 2009 at 21:33, <mobiledreamers@gmail.com> wrote:
> > Thanks for the pointer Joe and Arin
> > I now used Drew's new lazyboy
> > Example Code: http://pastie.org/593767
> >
> > Error http://pastie.org/593766
> > That does not work either
> > Git version of cassandra
> > commit dcabc0e3431ccff56b20caef7f7805e49a6aac13
> > Author: Eric Evans <eevans@apache.org>
> > Date:   Thu Aug 20 21:17:59 2009 +0000
> >
> > On Mon, Aug 24, 2009 at 9:29 PM, Joe Stump <joe@joestump.net> wrote:
> >
> >>
> >> On Aug 24, 2009, at 10:25 PM, Arin Sarkissian wrote:
> >>
> >>  Did you compile the cassandra.thrift file and make sure the generated
> >>> files are in PYTHONPATH?
> >>>
> >>
> >> This is the exact error I got when I attempted to use Ian's 0.3 lazyboy
> >> with a 0.4 version of the Python generated by cassandra.thrift.
> >>
> >> --Joe
> >>
> >
> >
> >
> > --
> > Bidegg worlds best auction site
> > http://bidegg.com
> >
>



-- 
Bidegg worlds best auction site
http://bidegg.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message