yup, don't forget that when you next do a checkout/build from cvs, you
should probably just delete the gr-wxgui directory, re-check it out.
This goes for anything you happen to change within the source trees.
Otherwise, cvs will see that you've modified the file, it won't fetch
the "official" one. It won't overwrite changes you have made, it
complains with a line something like this:
M gr-wxgui/src/python/waterfallsink.py
That's fine so long as no other changes have been made to
waterfallsink.py in the official source tree. If there have been, you
won't get them.
There's probably a flag you can give it to overwrite.
Alternatively, you could edit the copy in your
lib/python/site-packages/gnuradio/wxgui dir. Now, you're really hacking
things, be careful!
-j
John Ackermann N8UR wrote:
Thanks!
John
----
James Cooley wrote:
Yes, it's just looking for the profile python module which you
probably don't have installed.. I don't either, so I commented it out.
This change should probably be made in cvs, but you can do it yourself
if you are desperate.
In gr-wxgui/src/python/waterfallsink.py, just comment out the
inclusion of profile on line 30 like this:
#import profile
And re-install gr-wxgui
Profile tracks execution time and so forth of python routines. It's
really just used for testing out the code. If you look down in the
code, the place where it was being used is already commented out, I
presume they just forgot to do likewise to the import.
-jamie
John Ackermann N8UR wrote:gr-wxgui/src/python$ l
Subject line says it all -- it appears the waterfall sink is calling a
profile module that's not there. Any suggestions how to resolve this?
Thanks,
John
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio