Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'module' object has no attribute 'attribute' #2

Open
fpgasdr opened this issue Apr 1, 2019 · 3 comments
Open

AttributeError: 'module' object has no attribute 'attribute' #2

fpgasdr opened this issue Apr 1, 2019 · 3 comments

Comments

@fpgasdr
Copy link

fpgasdr commented Apr 1, 2019

Hi,
running some of the examples located in apps folder I get errors with the Attributes passed to the modules.
I don't know if this is an error related with my gnuradio enviroment or with gr-dpd. due in the net there is similar error with different solutons but none of them work for me.
Thanks,
regards.

@SrikanthPagadarai
Copy link
Owner

Can you let me know exactly what attribute is listed as missing?

@fpgasdr
Copy link
Author

fpgasdr commented Apr 2, 2019

Hi @SrikanthPagadarai thanks for reply,
the problems of missing attributes are in blocks located in apps folder, who are the examples I'm trying to run.
for example:

  • run_dpd_simulation_wienerPA_training.grc -> AttributeError: 'module' object has no attribute 'stream_to_message'
  • run_dpd_simulation_wienerPA.grc.grc -> AttributeError: 'module' object has no attribute 'vector_vector_multiply'.
  • save_dpd_training_input_physical_PA_tests.grc -> AttributeError: 'module' object has no attribute 'stream_to_gmp_vector'
  • save_predistorted_input_physical_PA.grc -> AttributeError: 'module' object has no attribute 'vector_vector_multiply'.
  • run_dpd_physical_PA_training.grc and tune_peak_value_estimate_int_delay.grc-> AttributeError: 'module' object has no attribute 'signum_func'

But the parameters are there and if I try to replace the parameters with the values it's the same error.
looking for this error in google normally is due the swig is not installed but in my case is installed but don't know if it's found by gnuradio.
I have this problem in 2 different computers with different setup.

@fpgasdr
Copy link
Author

fpgasdr commented Apr 10, 2019

digging into the code seems like the dpd class is imported but not correctly:
self.dpd_vector_vector_multiply_0 = dpd.vector_vector_multiply.
AttributeError: "'module' object has no attribute 'vector_vector_multiply'"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants