[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] compiling and working with gnuradio in windows

From: Seth Hollar
Subject: Re: [Discuss-gnuradio] compiling and working with gnuradio in windows
Date: Fri, 16 Nov 2012 11:32:20 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

Hi Josh,
Thank you so much for your help.  I replaced fir_filter.cc and 
fir_filter_with_buffer.cc per the fix below.  I recompiled and now 
filter/resampler_demo.grc works!  Thanks!

I just fixed some pretty bad bug in the gr-filter that was causing
access violations. You might be seeing that at play.

Per the hash problem:

To run the GRC examples, I need to delete the first line that starts
with the hash '#'.  It seems like GRC expects the bracket '<' as the
first line.
Is this a .py file or a .grc file? Sorry, can you post a snippet or link.

Resampler_demo.grc's first few lines are here:

<?xml version='1.0' encoding='ASCII'?>
  <timestamp>Tue Jun 19 21:31:30 2012</timestamp>

When I load the resampler_demo.grc into companion, it errors out with the 
message below.  However, when I remove the first line 
(#!C:\Python27\python.exe), it loads just fine.

Loading: "C:\grctestcode\resampler_demo.grc"
Error: Start tag expected, '<' not found, line 1, column 1
Traceback (most recent call last):
  File "C:\gnuradio\install\lib\site-packages\gnuradio\grc\gui\MainWindow.py", l
ine 178, in new_page
  File "C:\gnuradio\install\lib\site-packages\gnuradio\grc\gui\NotebookPage.py",
 line 47, in __init__
    initial_state = flow_graph.get_parent().parse_flow_graph(file_path)
  File "C:\gnuradio\install\lib\site-packages\gnuradio\grc\base\Platform.py", li
ne 113, in parse_flow_graph
    ParseXML.validate_dtd(flow_graph_file, FLOW_GRAPH_DTD)
  File "C:\gnuradio\install\lib\site-packages\gnuradio\grc\base\ParseXML.py", li
ne 38, in validate_dtd
    xml = etree.parse(xml_file, parser=parser)
  File "lxml.etree.pyx", line 2942, in lxml.etree.parse (src/lxml/lxml.etree.c:5
  File "parser.pxi", line 1528, in lxml.etree._parseDocument (src/lxml/lxml.etre
  File "parser.pxi", line 1557, in lxml.etree._parseDocumentFromURL (src/lxml/lx
  File "parser.pxi", line 1457, in lxml.etree._parseDocFromFile (src/lxml/lxml.e
  File "parser.pxi", line 997, in lxml.etree._BaseParser._parseDocFromFile (src/
  File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDo
c (src/lxml/lxml.etree.c:71739)
  File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.e
  File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etr
XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1

reply via email to

[Prev in Thread] Current Thread [Next in Thread]