Hi all:
I have installed the gr_specest toolbox successfully.And I use
the gnuradio 3.7.5.But when I run the specest_from_file.py,error
exists:
File "/usr/local/bin/specest_from_file.py", line 142
SyntaxError: Non-ASCII character ‘\xce’ in file
/usr/local/bin/specest_from_file.py on line 142, but no encoding
declared; see PEP 263 – Defining Python Source Code Encodings | peps.python.org for details
Can someone explain it to me?Also I can't find the file 4cos.dat as
https://www.cgran.org/wiki/SpecEst#HowToRun shows.
Thank you so much.
Best regards,
xd
xianda
August 6, 2014, 11:06am
2
That’s actually a bug; I’ve submitted a pull request. You can locally
use my change by doing
git pull GitHub - marcusmueller/gr-specest: A module adding spectral estimation routines to GNU Radio. fix_encoding
Greetings,
Marcus
xianda
August 6, 2014, 2:10pm
3
Sorry, my bad. Fixed my fix, should be clear now. Maybe you have to pull
–force, sorry about that.
xianda
August 6, 2014, 12:21pm
4
Hi Marcus:
Thank you so much.And I’m doing:
git pull
GitHub - marcusmueller/gr-specest: A module adding spectral estimation routines to GNU Radio. fix_encoding
And I also type:
cd build
cmake …
make
sudo make install
sudo ldconfig
But the error also exists.Can you help me?Or need I remove all the
document and git clone from
GitHub - marcusmueller/gr-specest: A module adding spectral estimation routines to GNU Radio. ?
Best regards,
xd
At 2014-08-06 05:04:46, “Marcus M.” [email protected] wrote:
That’s actually a bug; I’ve submitted a pull request. You can locally
use my change by doing
git pull GitHub - marcusmueller/gr-specest: A module adding spectral estimation routines to GNU Radio. fix_encoding
Greetings,
Marcus
On 06.08.2014 08:58, xianda wrote:
Hi all:
I have installed the gr_specest toolbox successfully.And I use
the gnuradio 3.7.5.But when I run the specest_from_file.py,error
exists:
File "/usr/local/bin/specest_from_file.py", line 142
SyntaxError: Non-ASCII character ‘\xce’ in file
/usr/local/bin/specest_from_file.py on line 142, but no encoding
declared; see PEP 263 – Defining Python Source Code Encodings | peps.python.org for details
Can someone explain it to me?Also I can't find the file 4cos.dat as
https://www.cgran.org/wiki/SpecEst#HowToRun shows.
Thank you so much.
Best regards,
xd
xianda
August 6, 2014, 2:51pm
5
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I guess that is just an invocation example, so there is no 4cos.dat;
you should supply your own signal file.
On 06.08.2014 14:35, xianda wrote:
And I also type: cd build cmake … make sudo make install sudo
Can someone explain it to me?Also I can’t find the file
Discuss-gnuradio mailing list [email protected]
Discuss-gnuradio Info Page
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJT4iRTAAoJEAFxB7BbsDrL4ZAH/3xDrpsZI1iZZTR3DXcmVUim
31tyYy5O/4uHPVI6vjIc6/sB9wFyEEyB/NUfM6hTvtKTifZ23O8kWSR3ifRYQSz1
XptqfDYDaiUSY0NrHfixVaCb9PrmQzL44IUSwOUgpsN/YD4Ngjpu700YxZyST5gA
2OTuIrCjmGAQtpfoC3V3FXJRay8+7c534Rb3sigNi2e1AAHYbn2OXM9z+pDUfE31
NieuI91DAlMp/QwYxxFka30ZwW/HQ8IA18peZbR6/9BrLHctrrBoVqLRhgQX91p6
gPQTaih6bbiQNlPR5nX8qRLTjszDOF18LUJLrgTtvLwbeonJOTkUnHfRcKuVXwM=
=0FrN
-----END PGP SIGNATURE-----
xianda
August 7, 2014, 10:31am
6
On 08/06/2014 11:04 AM, Marcus M. wrote:
That’s actually a bug; I’ve submitted a pull request. You can locally
In fact, it’s a bug in GNU Radio.
See: http://gnuradio.org/redmine/issues/707
And: Source code encoding not properly declared · Issue #9 · kit-cel/gr-specest · GitHub
M
xianda
August 6, 2014, 2:36pm
7
Hi Marcus:
Thank you so much for your kindly reply.It now can
run.And I want to know where can I find the docuement 4cos.dat as some
examples shows.
Just like this:
specest_from_file.py -M welch -S 4cos.dat
4cos.dat: No such file or directory
Best regards,
xd