cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | the secret reason for us trying to get PyPy users: to test the JIT well enough that we're somewhat confident about it
DIRT has joined #pypy
speeder39 has joined #pypy
antocuni has quit [Ping timeout: 272 seconds]
moei has quit [Read error: Connection reset by peer]
moei has joined #pypy
jcea has quit [Quit: jcea]
witran has joined #pypy
lritter has quit [Remote host closed the connection]
will has joined #pypy
will has quit [Client Quit]
witrandev has joined #pypy
witran has quit [Quit: Page closed]
witrandev has quit [Client Quit]
witrandev has joined #pypy
<witrandev>
hi pypy devs, I have a question about revdb
<witrandev>
but failed to run the revdb replayer with this error: ImportError: No module named _revdb._ancillary_cffi
<witrandev>
I built revdb (the replayer) using `python setup.py build_ext --inplace`
<witrandev>
pypy-revdb version is: RevDB-pypy2.7-v5.6.2 / a24d6c7 / 2017-07-25
<witrandev>
the python version that I used to run `python setup.py build_ext --inplace` is pypy 6.0.0, on ubuntu 14.0.4 x86_64
<witrandev>
Another thing, if I run `pypy /work/revdb/revdb.py log.rdb` -> ImportError: No module named _revdb._ancillary_cffi
<witrandev>
if I run with CPython `python /work/revdb.revdb.py log.rdb` -> AttributeError: _init_cffi_1_0_exertnal_module
<witrandev>
both are thrown from the line `from ._ancillary_cffi import ffi, lib`
<witrandev>
revdb/_revdb/ancillary.py, line 1
agronholm has joined #pypy
<witrandev>
ok my problem is solved, turned out my python lacks cffi (even though pip said it was already installed?), `sudo easy_install -U cffi` solved the issue
witrandev_ has joined #pypy
witrandev has quit [Ping timeout: 256 seconds]
ssbr has quit [Remote host closed the connection]
speeder39 has quit [Quit: Connection closed for inactivity]
<mattip_>
witrandev_: you know that sudo + easy_install is usually not a good mix, right?
<mattip_>
you should be using sudo together with your platform package manager (apt, yum, ...)
<mattip_>
and easy_install or even better pip with a virtualenv, no sudo needed
<witrandev_>
Thanks for the tip! I got it working using virtualenv without sudo now. I was quite new to python ecosystem.
_whitelogger has joined #pypy
igitoor has quit [Ping timeout: 252 seconds]
igitoor has joined #pypy
igitoor has quit [Changing host]
igitoor has joined #pypy
tayfun26 has joined #pypy
<fijal>
looks like it might make sense to revisit web assembly at some stage