GRC on Debian

Anyone using GRC on Debian testing? I’ve build it from git but it won’t
run:

$ gnuradio-companion
Traceback (most recent call last):
File “/usr/local/bin/gnuradio-companion”, line 58, in
from gnuradio.grc.python.Platform import Platform
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/grc/python/Platform.py”,
line
22, in
from … base.Platform import Platform as _Platform
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py”,
line 22, in
from … base import ParseXML, odict
File
“/usr/local/lib/python2.7/dist-packages/gnuradio/grc/base/ParseXML.py”,
line 20, in
from lxml import etree
File “lxml.etree.pyx”, line 67, in init lxml.etree
(src/lxml/lxml.etree.c:159915)
File “/usr/lib/python2.7/io.py”, line 60, in
import _io
TypeError: type ‘_io._IOBase’ participates in gc and is a base type but
has inappropriate tp_free slot
Segmentation fault

I can see someone else had this problem as they’ve pastebinned the same
error but can’t find a resolution for this. I’ve built and run gqrx
[which is full of gnuradio goodness] on the same machine without issue
so it’s probably a Python problem.

alexd

On 05/12/2012 02:45 AM, Alex DEKKER wrote:

Anyone using GRC on Debian testing? I’ve build it from git but it won’t
run:

from lxml import etree

File “lxml.etree.pyx”, line 67, in init lxml.etree
(src/lxml/lxml.etree.c:159915)
File “/usr/lib/python2.7/io.py”, line 60, in
import _io
TypeError: type ‘_io._IOBase’ participates in gc and is a base type but
has inappropriate tp_free slot
Segmentation fault

Looks like lxml is dying upon import. Maybe find an older lxml pkg? or
compile it from source?

-josh