|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] Error when running GRC |
Date: | Mon, 26 Oct 2015 10:23:37 +0100 |
User-agent: | K-9 Mail for Android |
NemanjaCan these two be connected?I don't know if it is connected with this, but when I run test, it blocks in test n. 10. with this output:When I make suggested change I got Segmentation Fault error.Hello,I use Python 2.6.6.
10: Test command: /bin/sh "/scr1/nemanja/tools/gnuradio-3.7.8/build/gr-blocks/lib/test_gr_blocks_test.sh"
10: Test timeout computed to be: 9.99988e+06
10:
10: NOTE: This is supposed to produce an error from block_executor
10: Error: block_executor: propagation_policy 'ONE-TO-ONE' requires ninputs == noutputs
10: ........Using Volk machine: avx_64_mmx_orc
10: ......................
10:
10/170 Test #10: test_gr_blocks ....................... Passed 0.86 sec
test 11
Start 11: qa_minOn Mon, Oct 26, 2015 at 2:25 AM, Marcus Müller <address@hidden> wrote:Hi!
First intuition is that there might be something wrong with the Python version in use. Which is it? Python pre-2.7 doesn't know the keyword arguments, so it would have to read
.decode('utf-8','replace')
Instead of
.decode('utf-8',errors='replace')
Cheetah is, as far as I know, not Python 3 compatible.
Best regards,
Marcus
Am 26. Oktober 2015 01:46:09 MEZ, schrieb Nemanja Savic <address@hidden>:Hi all guys,i built yesterday 3.7.8. When I wanted to run GRC the following error occured:
Traceback (most recent call last):
File "/scr1/nemanja/install/bin/gnuradio-companion", line 128, in <module>
main()
File "/scr1/nemanja/install/bin/gnuradio-companion", line 121, in main
ActionHandler(args, Platform())
File "/scr1/nemanja/install/lib64/python2.6/site-packages/gnuradio/grc/gui/ActionHandler.py", line 62, in __init__
self.main_window = MainWindow(platform)
File "/scr1/nemanja/install/lib64/python2.6/site-packages/gnuradio/grc/gui/MainWindow.py", line 96, in __init__
self.btwin = BlockTreeWindow(platform, self.get_flow_graph);
File "/scr1/nemanja/install/lib64/python2.6/site-packages/gnuradio/grc/gui/BlockTreeWindow.py", line 107, in __init__
self.platform.load_block_tree(self)
File "/scr1/nemanja/install/lib64/python2.6/site-packages/gnuradio/grc/base/Platform.py", line 228, in load_block_tree
block_tree.add_block(block.get_category(), block)
File "/scr1/nemanja/install/lib64/python2.6/site-packages/gnuradio/grc/gui/BlockTreeWindow.py", line 144, in add_block
treestore.set_value(iter, DOC_INDEX, Utils.parse_template(DOC_MARKUP_TMPL, doc=block.get_doc()))
File "/scr1/nemanja/install/lib64/python2.6/site-packages/gnuradio/grc/gui/Utils.py", line 116, in parse_template
return str(Template(tmpl_str, kwargs))
File "/usr/lib64/python2.6/site-packages/Cheetah/Template.py", line 1003, in __str__
rc = getattr(self, mainMethName)()
File "cheetah_DynamicallyCompiledCheetahTemplate_1445820074_12_55642.py", line 83, in respond
File "/scr1/nemanja/install/lib64/python2.6/site-packages/gnuradio/grc/gui/Utils.py", line 100, in encode
valid_utf8 = value.decode('utf-8', errors='replace').encode('utf-8')
TypeError: decode() takes no keyword argumentsIt looks like Cheetah problem but can't make it work. There was suggestion few years ago to remove errors='replace', but it didn't work for me.THanx--Nemanja Savić
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
[Prev in Thread] | Current Thread | [Next in Thread] |