Gnuradio companion problem

Hi everyone,

I am trying to run grc from the terminal. But when i type grc i got:

mehmet@mehmet-laptop:~$ grc
Traceback (most recent call last):
File “/usr/bin/grc”, line 48, in
from gnuradio.grc.python.Platform import Platform
File
“/usr/lib/python2.6/dist-packages/gnuradio/grc/python/Platform.py”,
line 22, in
from … base.Platform import Platform as _Platform
File “/usr/lib/python2.6/dist-packages/gnuradio/grc/base/Platform.py”,
line 22, in
from … base import ParseXML, odict
File “/usr/lib/python2.6/dist-packages/gnuradio/grc/base/ParseXML.py”,
line 20, in
from lxml import etree
File “lxml.etree.pyx”, line 188, in lxml.etree
(src/lxml/lxml.etree.c:124917)
LookupError: unknown encoding: ASCII
Error in sys.excepthook:
Traceback (most recent call last):
File “/usr/lib/python2.6/dist-packages/apport_python_hook.py”, line
38, in
apport_excepthook
from apport.packaging_impl import impl as packaging
File “/usr/lib/python2.6/dist-packages/apport/init.py”, line 1, in

from apport.report import Report
File “/usr/lib/python2.6/dist-packages/apport/report.py”, line 20, in

from problem_report import ProblemReport
File “/usr/lib/python2.6/dist-packages/problem_report.py”, line 17, in

from email.Encoders import encode_base64
File “/usr/lib/python2.6/email/init.py”, line 47, in
sys.setrecursionlimit(1500)
NameError: name ‘sys’ is not defined

Original exception was:
Traceback (most recent call last):
File “/usr/bin/grc”, line 48, in
from gnuradio.grc.python.Platform import Platform
File
“/usr/lib/python2.6/dist-packages/gnuradio/grc/python/Platform.py”,
line 22, in
from … base.Platform import Platform as _Platform
File “/usr/lib/python2.6/dist-packages/gnuradio/grc/base/Platform.py”,
line 22, in
from … base import ParseXML, odict
File “/usr/lib/python2.6/dist-packages/gnuradio/grc/base/ParseXML.py”,
line 20, in
from lxml import etree
File “lxml.etree.pyx”, line 188, in lxml.etree
(src/lxml/lxml.etree.c:124917)
LookupError: unknown encoding: ASCII

Do you have any idea about this?
I use gnuradio 3.2.2 and ubuntu 9.04

On Wed, Dec 02, 2009 at 08:57:58PM +0200, mehmet kabasakal wrote:

from .. base.Platform import Platform as _Platform

Traceback (most recent call last):

line 22, in

Do you have any idea about this?
I use gnuradio 3.2.2 and ubuntu 9.04

I think somebody else reported something like this a week or two ago.
Can you try searching the archives. The problem might have been
the wrong version of lxml. Try searching for gnuradio+lxml+ascii

Eric