|
From: | Nemanja Savic |
Subject: | Re: [Discuss-gnuradio] 3.6.4.2 test fail |
Date: | Tue, 3 Sep 2013 15:41:56 +0200 |
On Tue, Sep 3, 2013 at 9:26 AM, Nemanja Savic <address@hidden> wrote:Afraid of updating to a new version or afraid of applying that small diff?
> Hm, I must say I am affraid of screwing version that works, and had problems
> to make it work.
Well, not Python 2.7 under Ubuntu. Just Python 2.7:
> The TestCase class in unittest module at my computer doesn't implement the
> functions like assertGreater, like is the case with 2.7 python under ubuntu.
http://docs.python.org/2/library/unittest.html
You either have to update with the bug fix in the new version or patch
it yourself unless you want to update your version of Python.
Or you could simply ignore that test case as known bad because of the
software versions you're running. You can even disable tests using
'ctest -E <regex>'.
> On Tue, Sep 3, 2013 at 1:59 PM, Martin Braun (CEL) <address@hidden>
> wrote:
>>
>> On Tue, Sep 03, 2013 at 01:03:31PM +0200, Nemanja Savic wrote:
>> > I figured out that in my version of python < 2.7 (because i use rhel6)
>> > this
>> > function is not defined. Is there any workarround or I can simply do
>> > sudo make
>> > install?
>>
>> I think Python 2.6 works, too. Surprised that your make test fails,
>> though. Just go ahead and try.
>>
>> MB
>>
>> >
>> >
>> >
>> > On Tue, Sep 3, 2013 at 11:11 AM, Nemanja Savic <address@hidden>
>> > wrote:
>> >
>> >
>> > Hi all guys,
>> >
>> >
>> > I am currently using 3.6.4git version of gnuradio at one of my
>> > computers.
>> > In order to use messages passing system from python i deceided to
>> > move to
>> > 3.6.4.2 but the test fails with following error:
>> >
>> >
>> > 182/194 Testing qa_file_metadata
>> > Test command: /bin/sh
>> > /home/savi_ne/tools/gnuradio-3.6.4.2/build/gr-blocks/
>> > python/qa_file_metadata_test.sh
>> > Test timeout computed to be: 9.99988e+06
>> > EE
>> >
>> > ======================================================================
>> > ERROR: test_001 (__main__.test_file_metadata)
>> >
>> > ----------------------------------------------------------------------
>> > Traceback (most recent call last):
>> > File "/home/savi_ne/tools/gnuradio-3.6.4.2/gr-blocks/python/
>> > qa_file_metadata.py", line 81, in test_001
>> > self.assertGreater(len(extra_str), 0)
>> > AttributeError: 'test_file_metadata' object has no attribute
>> > 'assertGreater'
>> >
>> >
>> > ======================================================================
>> > ERROR: test_002 (__main__.test_file_metadata)
>> >
>> > ----------------------------------------------------------------------
>> > Traceback (most recent call last):
>> > File "/home/savi_ne/tools/gnuradio-3.6.4.2/gr-blocks/python/
>> > qa_file_metadata.py", line 160, in test_002
>> > self.assertGreater(len(extra_str), 0)
>> > AttributeError: 'test_file_metadata' object has no attribute
>> > 'assertGreater'
>> >
>> >
>> > ----------------------------------------------------------------------
>> > Ran 2 tests in 0.007s
>> >
>> > FAILED (errors=2)
>> > <pmt_swig.swig_int_ptr; proxy of <Swig Object of type
>> > 'boost::intrusive_ptr
>> > < pmt::pmt_base > *' at 0x1783360> >
>> > <pmt_swig.swig_int_ptr; proxy of <Swig Object of type
>> > 'boost::intrusive_ptr
>> > < pmt::pmt_base > *' at 0x1783bd0> >
>> > -- Process completed
>> > ***Failed
>> >
>> >
>> > Is there any aidea why is this happening and may I use gnuradio
>> > 3.6.4.2
>> > even with this error?
>> >
>> >
>> > Thank you
>> >
>> >
>> > --
>> > Nemanja Savić
>> >
>> >
>> >
>> >
>> > --
>> > Nemanja Savić
>> >
>>
>> > _______________________________________________
>> > Discuss-gnuradio mailing list
>> > address@hidden
>> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>>
>> --
>> Karlsruhe Institute of Technology (KIT)
>> Communications Engineering Lab (CEL)
>>
>> Dipl.-Ing. Martin Braun
>> Research Associate
>>
>> Kaiserstraße 12
>> Building 05.01
>> 76131 Karlsruhe
>>
>> Phone: +49 721 608-43790
>> Fax: +49 721 608-46071
>> www.cel.kit.edu
>>
>> KIT -- University of the State of Baden-Württemberg and
>> National Laboratory of the Helmholtz Association
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>
>
>
> --
> Nemanja Savić
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
[Prev in Thread] | Current Thread | [Next in Thread] |