Am 31.05.2015 um 13:59 schrieb Marc Rechté:
> Thanks Tobias,
>
> Finally I ended up in solving all dependencies. Crossbar was able to
> generate a Python template. However it refuses to start (from
> autobahn.twisted.wamp import FutureMixin - ImportError: cannot import
The latest Crossbar.io release is 0.10.4
https://pypi.python.org/pypi/crossbar/0.10.4
and the code does not refer to FutureMixin at all:
oberstet@thinkpad-t430s:~/scm/crossbar/crossbar$ git checkout v0.10.4
Note: checking out 'v0.10.4'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD ist jetzt bei 07f33b4... fix unit test for txaio
oberstet@thinkpad-t430s:~/scm/crossbar/crossbar$ find . -name "*.py"
-exec grep -Hi "FutureMixin" {} \;
oberstet@thinkpad-t430s:~/scm/crossbar/crossbar$
> name FutureMixin). Why is the Router requiring Autobahn that is supposed
> to implement the client ?
Because WAMP clients and routers share certain classes (like e.g. for
WAMP messages).
>
> However I tried with virtualenv and pip install. It fails on compiling
> cryptography and cffi (_cffi_backend.c:13:17: erreur fatale: ffi.h :
> Aucun fichier ou dossier de ce type).
To install using pip into a virtualenv, this is what is needed on a
completely stock Ubuntu:
apt-get install build-essential libssl-dev libffi-dev python-dev python-pip
http://crossbar.io/docs/Installation-on-Ubuntu/#setup-for-cpython
I am not using ArchLinux, so I have no clue what you need there. Sorry.
Cheers,
/Tobias
>
> Marc
>
> --
> You received this message because you are subscribed to the Google
> Groups "Crossbar" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
crossbario+...@googlegroups.com
> <mailto:
crossbario+...@googlegroups.com>.
> To post to this group, send email to
cross...@googlegroups.com
> <mailto:
cross...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/crossbario/d28d7224-f801-4b7f-ad5d-ab0b47b674a2%40googlegroups.com
> <
https://groups.google.com/d/msgid/crossbario/d28d7224-f801-4b7f-ad5d-ab0b47b674a2%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit
https://groups.google.com/d/optout.