Hi,
 I think this is what that test is supposed to look like, so reading that is a 
good sign!
You say you get a segfault when running GRC, right? That's a bit surprising, 
because GRC is pure Python, so it's probably something that gets loaded along 
the way. Have you uninstalled your previous GNU Radio installation?
By the way, I thought pre-2.7 Python was practically extinct; out of curiosity: 
which OS are you on?

Best regards,
Marcus

Am 26. Oktober 2015 09:10:04 MEZ, schrieb Nemanja Savic <vlasi...@gmail.com>:
>Hello,
>
>I use Python 2.6.6.
>When I make suggested change I got Segmentation Fault error.
>I don't know if it is connected with this, but when I run test, it
>blocks
>in test n. 10. with this output:
>
>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_min
>
>
>Can these two be connected?
>
>Nemanja
>
>On Mon, Oct 26, 2015 at 2:25 AM, Marcus Müller
><marcus.muel...@ettus.com>
>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 <
>> vlasi...@gmail.com>:
>>
>>> 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 arguments
>>>
>>>
>>> It 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
>>> Discuss-gnuradio@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>>
>>>
>> --
>> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>>
>
>
>
>-- 
>Nemanja Savić

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to