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

error about mapper #13

Open
hongdehua opened this issue Jan 13, 2018 · 13 comments
Open

error about mapper #13

hongdehua opened this issue Jan 13, 2018 · 13 comments

Comments

@hongdehua
Copy link

Traceback (most recent call last):
File "/home/winlab/PycharmProjects/GeneralGNU/dataset-master/generate_RML2016.10a.py", line 42, in
mod = mod_type()
File "/home/winlab/PycharmProjects/GeneralGNU/dataset-master/transmitters.py", line 35, in init
transmitter_mapper.init(self, mapper.BPSK,
AttributeError: 'module' object has no attribute 'BPSK'

There is a error. I've tried several versions of mapper but it still failed. What is the proper and correct version of mapper?

@lbb123
Copy link

lbb123 commented Jan 17, 2018

The same question I meet.Directly,I have downloaded the dataset "2016.10b.dat" and It's to big to open.I just want to see the python code to find the format of the dataset.

@kwmcclintick
Copy link

I am also seeing this run time error. I have the dataset but I want to change the way its generated. Help please!

@kwmcclintick
Copy link

there appears to be a mapper made by tim o'shea
https://github.com/gr-vt/gr-mapper/tree/master/python

and this other one made by a Daniel Mullner
http://danifold.net/mapper/
...Daniel's is called when I type "import mapper" as v0.1.17, i downloaded it using pip

@kwmcclintick
Copy link

Ok yes I was right. to download gr-mapper (THE RIGHT ONE! :) ), type the following in the same location as your generate_RML2016.10a.py file and transmitters.py file

sudo git clone https://github.com/gr-vt/gr-mapper.git

cd gr-mapper

sudo mkdir build

cd build

sudo cmake ..

sudo make

sudo make install

sudo ldconfig

then exit your gr-mapper directory and type:

python generate_RML2016.10a.py
and you should be good! Not sure if you need all those sudo's, but I did.

@hongdehua
Copy link
Author

Thanks for your detailed instruction, I've solved this on Linux system. Happy Spring Festival !

@kevinbdsouza
Copy link

This procedure does not work on MacOS. Says No module named mapper. Any suggestions?

@hongdehua
Copy link
Author

You should install gr-mapper library when error is " No module named mapper".

I've not tried on MacOs.

@pingguokiller
Copy link

This procedure does not work on MacOS. Says No module named mapper. Any suggestions?

Have u succeed in MACOS? I meet the same problem.

@jinglld43
Copy link

Ok yes I was right. to download gr-mapper (THE RIGHT ONE! :) ), type the following in the same location as your generate_RML2016.10a.py file and transmitters.py file

sudo git clone https://github.com/gr-vt/gr-mapper.git

cd gr-mapper

sudo mkdir build

cd build

sudo cmake ..

sudo make

sudo make install

sudo ldconfig

then exit your gr-mapper directory and type:

python generate_RML2016.10a.py
and you should be good! Not sure if you need all those sudo's, but I did.

I am wondering if there is a gr-mapper version for GNU radio3.8, the gr-mapper uploaded from the URL as you showed is an old version which is not applicable. Thanks a lot!

@roman-popenov
Copy link

gr-vt/gr-mapper#20 - this PR makes it compatible with GNU Radio 3.8

@sumit429
Copy link

Screenshot from 2022-11-24 16-56-18

Still my problem is not resolved.

@roman-popenov
Copy link

Screenshot from 2022-11-24 16-56-18

Still my problem is not resolved.

Have you tried porting the code from gr-vt/gr-mapper#20, it solved the issue for 3.8 only, but it might be compatible with other versions.

@sumit429
Copy link

sumit429 commented Nov 25, 2022 via email

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

8 participants