[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] pmt_to_python Python2.6 incompatibility fix (was: Re:
From: |
Marcus Müller |
Subject: |
[Discuss-gnuradio] pmt_to_python Python2.6 incompatibility fix (was: Re: Error in installing GNU Radio v3.7( |
Date: |
Sat, 05 Apr 2014 15:13:26 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I made a patch for this, but I haven't opened a pull request for my branch
https://github.com/marcusmueller/gnuradio.git pmt_to_python-py2.6-compat
since I'm not able to test it, since all my machines are running more
recent pythons.
Does anyone have a RHEL machine around to test my patch?
Thanks'n'Greetings
Marcus
On 05.04.2014 14:26, Marcus Müller wrote:
> Hi Azza,
>
> yes, this is a bug, since the usage of a set in this context
> breaks Python 2.6 compatibility; I will hurry to make a fix for
> this.
>
> Greetings, Marcus
>
> On 04.04.2014 21:28, Azza wrote:
>> Hi All,
>
>
>> I am trying to install GNU Radio v3.7, but at 10% of my "make",
>> it shows the following error:
>
>> Traceback (most recent call last): File
>> "/raid/anb10/gnuradio_3.7/build/python_compile_helper.py", line
>> 6, in <module> py_compile.compile(file=src, cfile=gen,
>> doraise=True) File "/usr/lib64/python2.6/py_compile.py", line
>> 129, in compile raise py_exc py_compile.PyCompileError:
>> SyntaxError: ('invalid syntax',
>> ('/raid/anb10/gnuradio_3.7/gnuradio-runtime/python/pmt/pmt_to_python.py',
>
>>
>
> 67, 88, ' (numpy.float32,pmt.init_f32vector, float,
>> pmt.f32vector_elements, pmt.is_f32vector),\n'))
>
>> make[2]: *** [gnuradio-runtime/python/pmt/__init__.pyc] Error 1
>> make[1]: ***
>> [gnuradio-runtime/python/pmt/CMakeFiles/pygen_gnuradio_runtime_python_pmt_763a1.dir/all]
>
>>
>
> Error 2
>> make: *** [all] Error 2
>
>> What does it mean? And how to solve it? Any help is appreciated.
>
>
>> Thank you, Azza
>
>
>
>> -- View this message in context:
>> http://gnuradio.4.n7.nabble.com/Error-in-installing-GNU-Radio-v3-7-tp47402.html
>
>>
>
> Sent from the GnuRadio mailing list archive at Nabble.com.
>
>> _______________________________________________ Discuss-gnuradio
>> mailing list address@hidden
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
> _______________________________________________ Discuss-gnuradio
> mailing list address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTQAF2AAoJEBQ6EdjyzlHtxsMH/R9bNA+sxzkmjkCfGl8pO1oZ
2QkFiLw05+LdVA+RH7DfR6+vmhrlbcGcDSR6/IDa/mv+6agiP2ABAgwNjg/YlWxp
3VPumH1BxJw5lObz8vLwuV/ZCGS8cvM0gtHqpaTK2rJc9SXj0tFZfnxDQ+Z21PpI
+dhZE0Q7qxql30XI7hybcwegdvBeRk1YlF31M4EXgkRP0bD1yhLrnRevUEylEhfu
wFJ5gyxz0OO3RwLVW+wwb16M8IgkUnQ0/AbIsqe6xTHdrOb8E3X+cXZOoVZYSJFy
0jH1rPHml80EiUDo6sDJOyR8iESEZCRBkfGX6arbOV15N+O0HVV4tlNexuiNHnM=
=EJM7
-----END PGP SIGNATURE-----