TypeError: Unicode bucket name are not supported

Reid Draper reiddraper at gmail.com
Wed Jan 11 16:38:46 EST 2012


Julio,

The Python client currently doesn't support non-ascii bucket names. This deficit is being tracked in these two bugs [1][2].

[1]: https://github.com/basho/riak-python-client/issues/32
[2]: https://issues.basho.com/show_bug.cgi?id=649
On Jan 11, 2012, at 4:26 PM, Julio Cesar Ríos Gutierrez wrote:

>  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
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

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


More information about the riak-users mailing list