Code Monkey home page Code Monkey logo

Comments (6)

git-artes avatar git-artes commented on July 16, 2024

Hi,
See the FAQ at the end of the README. I'm copying it here:

Q: I got the following error: "AttributeError: 'module' object has no attribute 'sampling_synchronization'" (or some other block). Why?
A: This problem may be generated by several factors. Did you "sudo ldconfig"? Another possibility is that you don't have swig installed (in this case, you must uninstall gr-tempest, delete CMakeCache.txt in the build directory, and re-install; that is, after installing swig).

Let me know if any of the above solved the problem.
best

from gr-tempest.

israelccarvalho avatar israelccarvalho commented on July 16, 2024

I saw other person's comment about the same problem. Well i'm using Kali linux, debian, and the path to gnuradio is different. Well think that should be the problem.
You work with ubuntu 18?
have you ever thought about tempest on smartphones?
Thanks for the support. I really liked your research.

from gr-tempest.

git-artes avatar git-artes commented on July 16, 2024

Glad you liked the project.

Let me know if you solved the problem so that we may close this issue. I've tested gr-tempest with both Ubuntu 20 and 18.

Regarding tempest on smartphones, sure thing we have thought about it. There are a couple of papers on this sense, for instance https://arxiv.org/abs/2011.09877, but we haven't tried it yet. Next year we should start experiments on this direction.

from gr-tempest.

jlxsolutions avatar jlxsolutions commented on July 16, 2024

Using Debian Bullseye and having same error and ldconfig has been run and swig is installed.
Anyway i could provide more info on what is going wrong?

from gr-tempest.

israelccarvalho avatar israelccarvalho commented on July 16, 2024

Jlxsolutions, my problem was compiling the code. On debian you have to install manualy some packets. Pay attention when you compile the code with make command. Some erros may occur on some libraries. You will have to install then manualy and then run the script again.
Worked for me.

from gr-tempest.

MarcosRamo avatar MarcosRamo commented on July 16, 2024

File "/home/kali/gr-tempest/examples/semi_automatic_tempest_example.py", line 149, in init self.tempest_normalize_flow_0 = tempest.normalize_flow(10, 245, interpolatedHsize, 1e-2, 0.1) AttributeError: module 'tempest' has no attribute 'normalize_flow'

every time, on every sample that i try, it gives this error. any idea of what it could be?

I was having the same trouble here and I fixed by this way bellow:
When you run executes the flow graph on GNURADIO, he generates first of all the .py file of the flow graph on your specific folder
image

But analyzing the python code generated I found out that there is an "import of tempest" (I don't know the reason), after the import of tempest from gnuradio
image

I fixed just deleting the second import "import tempest", maintaining only the tempest import from gnuradio. But in this case you need to run the code after on terminal using the command "python3 <name_of_file.py>, because if you try to run on GnuRadio again, he going rewrite the file with the incorrect import again and it probably gonna fail again.

I hope can helped you!

from gr-tempest.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.