Is ok, I will manage to fix it, if not I will just remake my VM.
Cheers,
Alex
On Tuesday, July 1, 2014, Sean Cribbs wrote:
> Sorry, I don't know how to fix that then. I don't know whether an updated
> package for any of those is available via Ubuntu or PPA, because I've
> always installed Pytho
Sorry, I don't know how to fix that then. I don't know whether an updated
package for any of those is available via Ubuntu or PPA, because I've
always installed Python dependencies via pip or easy_install. In general, I
would distrust the distribution version because they tend to be out-of-date.
Hi Sean,
I indeed installed the GIT client with "python setup.py install" and then
is when this error happened.
Cheers,
Alex
On Tue, Jul 1, 2014 at 4:03 PM, Sean Cribbs wrote:
> Alex,
>
> As I might have mentioned before, the Python client is in a bit of flux
> right now as we try to complete
Alex,
As I might have mentioned before, the Python client is in a bit of flux
right now as we try to complete support for the Riak 2.0 features. In order
to support Riak 2.0's security capabilities, we have had to pull in
pyOpenSSL as a dependency (which has its own dependencies as well), which
ex
Uhm... I'm new to Python so that sounds like Chinese to me... I will have
to look online how to do all that, see if I can fix it.
Cheers,
Alex
On Tue, Jul 1, 2014 at 3:50 PM, Luke Bakken wrote:
> Alex,
>
> I did a Google search on the following string:
>
> "ImportError: No module named cryptog
Alex,
I did a Google search on the following string:
"ImportError: No module named cryptography.hazmat.bindings.openssl.binding"
Your python2-pyopenssl module may be out of date. I would recommend
first uninstalling the Python Riak client from your global Python
libraries. Then, use virtualenv t
Ok... now is worse... i removed my old Python client EGG and cloned the GIT
repository, and after install it, I get the following error:
Traceback (most recent call last):
File "test.py", line 13, in
import riak
File "build/bdist.linux-x86_64/egg/riak/__init__.py", line 59, in
File "bu
I actually have the latest version available (2.0.3), I got it like this:
easy_install
https://pypi.python.org/packages/2.7/r/riak/riak-2.0.3-py2.7.egg
If I clone the GIT repository, may I have problems as I have the
easy_install package already? would it conflict somehow?
Cheers,
Alex
On Tue,
Hi Alex,
Search in Riak 2.0 does require a JVM to be installed as you found.
create_search_index is part of the master branch of the Python client:
lbakken ~/Projects/basho/riak-python-client (master=)
$ git grep create_search_index
riak/client/operations.py:461:def create_search_index(self,
I found out on http://docs.basho.com/riak/2.0.0beta1/dev/using/search that
in Riak 2.0 additional steps are needed... i fixed my code as follows, but
still crashing:
-+-+-+-+-+-+-+-+-+-+
-+-+-+-+-
import riak
client = riak.RiakClient(prot
Hi there,
I found out why Riak was not starting when I enabled it... JAVA was not
installed!!... However, after installing Java and successfully started Riak
with search enabled, when trying to use "search" it crashes very badly,
this is the Java Version I have under Ubuntu Server 14.04 LTS:
java
Hi Alexander,
Very nice answer, interesting! Can you explain how to do this with Riak
Search? I had to admit I never used it in the past (Riak 0.14 and Riak
1.x), and once installed Riak 2.0 and tried to enable it my Riak cluster
was not starting (I guess I missed something in the configuration).
Hi Alex,
In Riak 2.0 you can create a map data type that can contain a number of
related counters. If you have a limited number of named counters, e.g. for
scorers in the World Cup, this would allow you to update multiple counters
using a single operation and read all of then as a single key retri
A "set" may not be a good solution if you have many counters getting
updated at once and you should do the sorting (if possible) before saving
the "set" back into RIAK.
The goal scoring was a very simple/small example... but imagine you want to
do Twitter's Trending Topics counting which twits has
Not that I know of. I believe keys are independent in this regard. Basho is
introducing sets in riak 2.0 but I don't think they will bee sorted sets like
in redis.
-Alexander
@siculars
http://siculars.posthaven.com
Sent from my iRotaryPhone
> On Jun 29, 2014, at 15:54, Alex De la rosa wrot
Hi there,
I have a question about something that just came up to my mind... can we
determine which counter is higher in a bucket? For example:
# Taking the FIFA World Cup as example:
bucket = client.bucket_type('counter_bucket').bucket('goals')
counter = bucket.new('Neymar')
counter.increment(4)
16 matches
Mail list logo