TypeError: Unicode bucket name are not supported

Julio Cesar Ríos Gutierrez jctaurys at gmail.com
Wed Jan 11 16:26:54 EST 2012


 I have this code but this has a Error: TypeError: Unicode bucket name are
not supported, Why happen this?

import csv
import json
import riak

client = riak.RiakClient ( )

search_query = client.search ( 'medicinas','descripcion:A' )

for result in search_query.run ( ):
    clave = result.get ( ) #"Here is the Error"****************
    clave_desc  = clave.get_data ( )
    print 'imprimiendo'
    print clave_desc['descripcion']

in line: 10

-- 
JCesar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20120111/b7a75940/attachment.html>


More information about the riak-users mailing list