Clearly, you have an issue with importing the cdma module into python.

Can you tell me what is the value of the variable  "prefix" in your
cdma_parameters.py file?
(you can find it in gr-cdma/python/ directory)

Achilleas



On Mon, Sep 28, 2015 at 2:47 PM, alfred noble <alfred.nobl...@gmail.com>
wrote:

> Thanks
> I opened the terminal in gr-cdma folder and ran the following command
> "python"
> after that I ran this :
> "from cdma import cdma_parameters as cp"
> as you told me ,
> I received this ,
>
>  CDMA PARAMETERS : for adaptive modulation
> bits_per_header= 36
> symbols_per_header= 36
>
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/local/lib/python2.7/dist-packages/cdma/__init__.py", line 34,
> in <module>
>     import cdma_parameters
>   File "/usr/local/lib/python2.7/dist-packages/cdma/cdma_parameters.py",
> line 122, in <module>
>     bits_per_coded_symbol=[int(math.log(trellis.fsm(fsm[i]).O(),2)) for i
> in range(len(payload_mod))]
>   File
> "/usr/local/lib/python2.7/dist-packages/gnuradio/trellis/trellis_swig.py",
> line 471, in __init__
>     this = _trellis_swig.new_fsm(*args)
> RuntimeError: fsm::fsm(const char *name): file open error
>
> I really appreciate your help if could help me here once again
> thank you in advance
>
> Alfred
>
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to