[Python-modules-team] Bug#757751: Bug#757751: missing symbol amqp_get_or_create_channel_pool

2014-09-09 Thread Dominique Belhachemi
Based on ( https://github.com/celery/librabbitmq#installation ) I should be
able to run a quick example:

>>> from librabbitmq import Connection

>>> conn = Connection(host="localhost", userid="guest",
...   password="guest", virtual_host="/")

>>> channel = conn.channel()
>>> channel.exchange_declare(exchange, type, ...)
>>> channel.queue_declare(queue, ...)
>>> channel.queue_bind(queue, exchange, routing_key)


But it fails already in the first line:

$ ipython
In [2]: from librabbitmq import Connection
---
ImportError   Traceback (most recent call last)
 in ()
> 1 from librabbitmq import Connection

/usr/lib/python2.7/dist-packages/librabbitmq/__init__.py in ()
  2 import socket
  3
> 4 import _librabbitmq
  5
  6 from amqp.protocol import queue_declare_ok_t

ImportError: /usr/lib/python2.7/dist-packages/_librabbitmq.so: undefined
symbol: amqp_get_server_properties


-Dominique
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#784512: Is anybody working on PySide2?

2017-09-24 Thread Dominique Belhachemi
You can find some pyside2 packages in following Ubuntu PPA

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:thopiekar/pyside-git
sudo apt-get update
apt-get install python3-pyside2



For a quick test you can try to compile the packages in Debian testing.

# compile and install shiboken2
# you need at least clang 3.9, I tried it with 4.0
sudo apt install libclang-4.0-dev llvm-4.0 clang-4.0
dget
https://answers.launchpad.net/~thopiekar/+archive/ubuntu/pyside-git/+files/shiboken2_2.0.0.dev0-0~201708271303~rev1711~pkg53~ubuntu17.10.1.dsc
dpkg-source -x
shiboken2_2.0.0.dev0-0~201708271303~rev1711~pkg53~ubuntu17.10.1.dsc
sudo mk-build-deps --install ~/shiboken2-2.0.0.dev0/debian/control
cd shiboken2-2.0.0.dev0/
# switch to clang/llvm 4.0
PATH=/usr/lib/llvm-4.0/bin:$PATH
# may have to set this in debian/rules: CLANG_INSTALL_DIR :=
"/usr/lib/llvm-4.0/"
debuild -j16
# install the shiboken packages ...


# compile and install pyside2
dget
https://answers.launchpad.net/~thopiekar/+archive/ubuntu/pyside-git/+files/pyside2_2.0.0+dev-0~201708271303~rev1779~pkg53~ubuntu17.10.1.dsc
dpkg-source -x
pyside2_2.0.0+dev-0~201708271303~rev1779~pkg53~ubuntu17.10.1.dsc
sudo mk-build-deps --install ~/pyside2-2.0.0+dev/debian/control
cd pyside2-2.0.0+dev/
rm debian/source/format
debuild -j16
# install pyside2 packages ...


# run a pyside2 examples from http://code.qt.io/cgit/pyside/examples.git
e.g.
http://code.qt.io/cgit/pyside/examples.git/tree/examples/widgets/widgets/tetrix.py
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team