Hi to all,
I work with grc 3.9.0.0 und linux Debian 11.
Since the last days I am trying to find out some very mystic (in my eyes):
I created a very simple flowgraph with
Error:
File "/home/tom/grc-data-3.9/gr-gpredict-doppler/examples/gpredict.py", line 81, in __init__
self.gpredict_doppler_0 = gpredict.doppler('127.0.0.1', 4532, True)
AttributeError: type object 'gpredict' has no attribute 'doppler'
--------------------------------------------------------
But:
I want to get gr_predict-doppler running and it works, even it can communicate with the GPredict satellite program.
--------------------------------------------------------
This works:
Generating: '/home/tom/grc-data-3.9/gr-gpredict-doppler/examples/test_doppler.py'
Executing: /usr/bin/python3 -u /home/tom/grc-data-3.9/gr-gpredict-doppler/examples/test_doppler.py
[doppler] Waiting for connection on: 127.0.0.1:4532
[doppler] Connected from: 127.0.0.1:46078
[doppler] New frequency: 145826597
[doppler] New frequency: 145826598
[doppler] New frequency: 145826599
--------------------------------------------------------
When starting the same flowgraph in my regular working directory I get an error:Generating: '/home/tom/grc-data-3.9/test_doppler.py'
Executing: /usr/bin/python3 -u /home/tom/grc-data-3.9/test_doppler.py
Traceback (most recent call last):
File "/home/tom/grc-data-3.9/test_doppler.py", line 210, in <module>
main()
File "/home/tom/grc-data-3.9/test_doppler.py", line 188, in main
tb = top_block_cls()
File "/home/tom/grc-data-3.9/test_doppler.py", line 136, in __init__
self.gpredict_doppler_0 = gpredict.doppler('127.0.0.1', 4532, True)
AttributeError: module 'gpredict' has no attribute 'doppler'
--------------------------------------------------------
When moving it again to ...examples it works again.
I find out that maybe the directory __pycache__ can have an impact on my trials...
What is wrong in my setup (or thinking)?
73, Tom
No comments:
Post a Comment