[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] boost::serialization/archive -> Attribute Error: 'mod
Ludwig Stephan (CR/AEH4)
[Discuss-gnuradio] boost::serialization/archive -> Attribute Error: 'module' object has no attribute '<blockname>'
Wed, 4 Mar 2015 14:32:28 +0000
I have some problems in getting my OOT module running with boost::serialization
(have never used this part of boost before). The library is installed on a
recent Kubuntu 14.10 with pybombs GNU radio. Once trying to run a GRC model
with a component of this module, I get the error
Attribute Error: 'module' object has no attribute '<blockname>'.
But let's start from the beginning:
I am trying to use the serialization feature of boost
order to be able to make a BLOB out of my transmit data (some integer values
and a std::vector<gr_complex>) to be then passed to gr-ieee802-11 blocks.
I have hunted the problem down to a minimal example block, which does nothing
but has the following two lines in the constructor:
All run smoothly (i.e. block does nothing) without the latter line, but once I
add boost::archive::binary_oarchive [..], I do get the described error. If I
import the module into plain python and try to construct the block - same error
To the standard header I added:
I have not changed CMakeLists.txt, because boost is already linked by GNU radio
(correct?) and such the added part should be.
Could you give any hints, how to further hunt down my problem? Any ideas for a
solution? Do I have to edit some CMakeLists.txt in order to add the
functionality? Where do I have to?
Mit freundlichen Grüßen / Best regards
Robert Bosch GmbH
Corporate Sector Research & Advance Engineering, Communication Technology
Registered Office: Stuttgart, Registration Court: Amtsgericht Stuttgart, HRB
Chairman of the Supervisory Board: Franz Fehrenbach; Managing Directors: Dr.
Dr. Stefan Asenkerschbaumer, Dr. Rolf Bulander, Dr. Stefan Hartung, Dr. Dirk
Hoheisel, Christoph Kübel,
Uwe Raschke, Wolf-Henning Scheider, Dr. Werner Struth, Peter Tyroller
- [Discuss-gnuradio] boost::serialization/archive -> Attribute Error: 'module' object has no attribute '<blockname>',
Ludwig Stephan (CR/AEH4) <=