There is a problem with the installed version of python-lxml package. My
machine has lxml version 2.1.1. The latest version of lxml is 2.1.5
(http://codespeak.net/lxml/index.html#download).
Perhaps you have a very old version of lxml that is missing some feature
(in this case DTD). Install the latest lxml from the website, or see if
your package manager has an update available.
For the record, what version of lxml do you have? Either check your
package manager (yast2?) or run this commmand:
python -c "from lxml import etree;print etree.LXML_VERSION"
-Josh
feldmaus wrote:
Hi,
i am trying to compile gnuradio on my Suse 11.1 PC.
For compiling and <make> i am using my normal user <markus>.
For <make install> i am using the user <root>.
I downloaded and installed SDCC from Source.
Then i downloaded and compiled the gnuradio source from the branch.
The compilation goes right, but when i try to execute <grc>:
Traceback (most recent call last):
File "/usr/local/bin/grc", line 45, in <module>
ActionHandler(args, Platform())
File "/usr/local/lib/python2.6/site-packages/gnuradio/grc/platforms/python
/Platform.py", line 61, in __init__
generator=Generator,
File "/usr/local/lib/python2.6/site-packages/gnuradio/grc/platforms
/base/Platform.py", line 63, in __init__
self._load_blocks(os.path.join(dirpath, filename))
File "/usr/local/lib/python2.6/site-packages/gnuradio/grc/platforms
/base/Platform.py", line 74, in _load_blocks
try: ParseXML.validate_dtd(f, self._block_dtd)
File "/usr/local/lib/python2.6/site-packages/gnuradio/grc/utils/ParseXML.py",
line 42, in validate_dtd
dtd = etree.DTD(dtd_file)
AttributeError: 'module' object has no attribute 'DTD'
And when i execute <usrp_probe>:
Traceback (most recent call last):
File "/usr/local/bin/usrp_probe", line 31, in <module>
platform = Platform(block_paths_internal_only=['usrp_probe.xml'])
File "/usr/local/lib/python2.6/site-packages/gnuradio/grc/platforms/python
/Platform.py", line 61, in __init__
generator=Generator,
File "/usr/local/lib/python2.6/site-packages/gnuradio/grc/platforms
/base/Platform.py", line 59, in __init__
if os.path.isfile(block_path): self._load_blocks(block_path)
File "/usr/local/lib/python2.6/site-packages/gnuradio/grc/platforms
/base/Platform.py", line 74, in _load_blocks
try: ParseXML.validate_dtd(f, self._block_dtd)
File "/usr/local/lib/python2.6/site-packages/gnuradio/grc/utils/ParseXML.py",
line 42, in validate_dtd
dtd = etree.DTD(dtd_file)
AttributeError: 'module' object has no attribute 'DTD'
Any Idea?
Regards Markus
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio