Hi,

Am 2015-07-23 18:16, schrieb Bastian Bloessl:
you don't need the import blocks.
I already thought so, I added the import just to be sure it does not see that it
needs to import the package for some reason.

The rest is pretty strange. First I thought that you PYTHONPATH in
GRC is different than in your console (like you just adapted it but
did not restart GRC), but that does not make sense with the strace
output you mention.
Yes seems strange to me too. I'm also not sure, if it might some rare bug in grc. Getting some debugging output on the python part from here would be fine.

Is a script generated? If so, did you try to execute it from the command line?
I cannot build the grc due to the errors inside the diagram.

  Regards
    Bernhard


Best,
Bastian

On 07/23/2015 04:08 PM, Bernhard Dick wrote:
Hi,

currently I try to setup the gr-ieee802-11 package on a debian testing
installation. Compiling foo and gr-ieee802-11 works fine, but when I
open the wifi_phy_hier.grc in GRC it complains about ieee802_11 not
being defined.
Adding an import node with import ieee802_11 does not help, a node with
import foo does work for foo, so I assume installation targets are
correct. I also see access to the ieee802_11 files in the python
dist-packages directory when running strace gnuradio-companion.
Importing the ieee802_11 module in python however works.
Do you have any tips how to resolve that problem?

The gnuradio package version is 3.7.5-5, the python version is 2.7.9-1.

   Regards
     Bernhard Dick



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to