Re: [Discuss-gnuradio] 'module' object has no attribute

2018-12-19 Thread Guy Durrieu
Le 19/12/2018 à 08:13, Guy Durrieu a écrit : > > I definitely don't understand what happens here during the make process. > Does it mean that boost/chrono functionnalities are not usable with > GNUradio ? > > Thanks for your help. > > -- GD. I got it: "chrono" must be added to the "find_package"

Re: [Discuss-gnuradio] 'module' object has no attribute

2018-12-18 Thread Guy Durrieu
Le 18/12/2018 à 06:50, Guy Durrieu a écrit : > Dave and Andrej, > > Thanks for your help ! I'll try your suggestions as soon as possible. > > Best regards. > > -- GD. Hi, I did the verifications suggested by Dave and Andrej. What puzzle me is: despite the following declarations     boost::

Re: [Discuss-gnuradio] 'module' object has no attribute

2018-12-17 Thread Guy Durrieu
Dave and Andrej, Thanks for your help ! I'll try your suggestions as soon as possible. Best regards. -- GD. Guy Durrieu ONERA - Département Traitement de l'Information et Systèmes CEntRe de Toulouse, 2, avenue Edouard Belin BP 74025 31055 TOULOUSE CEDEX 4 Tél. +33 5 62 25 26 59 avertissement h

Re: [Discuss-gnuradio] 'module' object has no attribute

2018-12-17 Thread Andriy Gelman
Hi Guy, I've had these issues when linking to libraries. Go to the CMakeLists.txt in the root of your OOT module, and look for the line find_package(Boost.. Make sure you include chrono in your components list, i.e.: find_package(Boost "1.35" COMPONENTS filesystem system *chrono*) After compile/

Re: [Discuss-gnuradio] 'module' object has no attribute

2018-12-17 Thread Andrej Rode
Hi Guy, > --- > AttributeError: 'module' object has no attribute 'mac' > --- That usually happens if python can't import the created module. It can have several reasons why it can't: 1. the installed module is not in your (custom) PYTHONPATH 2. The python module tries to import the C++ code wr

Re: [Discuss-gnuradio] 'module' object has no attribute

2018-12-17 Thread Dave NotTelling
Guy, I assume that error is coming from Python. If that's the case, then it might be that your Swig build messed up somewhere or the lib and Swig are not agreeing. When I get those kinds of errors I will edit the __init__.py file for the Python module (likely in /usr/local/lib/python2.7/dis

[Discuss-gnuradio] 'module' object has no attribute

2018-12-17 Thread Guy Durrieu
Hi, I am developing some kind of MAC layer within a GNUradio model. Until now, my C++ mac module works. Now I need to add time functionnalities to my module. I include the following declarations: --- boost::chrono::system_clock::time_point now = boost::chrono::system_clock::now() ; boost::chrono

Re: [Discuss-gnuradio] 'module' object has no attribute

2006-05-14 Thread Lee Patton
Thanks Martin! I was staring at that code for a half hour, and didn't see it. I even grepped 'gr_' to see if it was something like that, and I still didn't see it Thanks for your time. On Mon, 2006-05-15 at 00:55 +0200, Martin Dvh wrote: > Lee Patton wrote: > > I am attempting to build modified v

Re: [Discuss-gnuradio] 'module' object has no attribute

2006-05-14 Thread Martin Dvh
Lee Patton wrote: > I am attempting to build modified versions of gr_file_source, and > gr_file_sink outside of gnuradio-core. I have successfully built, and > used my version of file_source (called rad_wvfm_source). However, I > cannot get my version of file_sink (called rad_wvfm_sink) to build i

[Discuss-gnuradio] 'module' object has no attribute

2006-05-14 Thread Lee Patton
I am attempting to build modified versions of gr_file_source, and gr_file_sink outside of gnuradio-core. I have successfully built, and used my version of file_source (called rad_wvfm_source). However, I cannot get my version of file_sink (called rad_wvfm_sink) to build into a module so that it is