Git Product home page Git Product logo

fhss_gnuradio's People

Contributors

agrim9 avatar harshvardhan1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fhss_gnuradio's Issues

demod blocks fail

Ubuntu 16.04 64-bit, GNU Radio Companion 3.7.9

When creating a demod block, an error message is given. For demod_64:
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/ActionHandler.py", line 348, in _handle_action self.get_flow_graph().update() File "/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/FlowGraph.py", line 403, in update self.create_labels() File "/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/Element.py", line 78, in create_labels for child in self.get_children():child.create_labels() File "/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/Block.py", line 212, in create_labels markups = [param.get_markup() for param in self.get_params() if param.get_hide() not in ('all', 'part')] File "/usr/lib/python2.7/dist-packages/gnuradio/grc/python/Param.py", line 170, in get_hide lambda p: ' '.join([p._type, p._nports]), self.get_parent().get_ports()) File "/usr/lib/python2.7/dist-packages/gnuradio/grc/python/Param.py", line 170, in <lambda> lambda p: ' '.join([p._type, p._nports]), self.get_parent().get_ports()) TypeError: sequence item 0: expected string, instance found Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/DrawingArea.py", line 150, in _handle_window_expose self._flow_graph.draw(gc, self._pixmap) File "/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/FlowGraph.py", line 372, in draw element.draw(gc, window) File "/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/Block.py", line 318, in draw window.draw_drawable(gc, self.horizontal_label, 0, 0, x+BLOCK_LABEL_PADDING, y+(self.H-self.label_height)/2, -1, -1) AttributeError: 'Block' object has no attribute 'horizontal_label'

For demod_8:

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/ActionHandler.py", line 348, in _handle_action self.get_flow_graph().update() File "/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/FlowGraph.py", line 403, in update self.create_labels() File "/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/Element.py", line 78, in create_labels for child in self.get_children():child.create_labels() File "/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/Block.py", line 212, in create_labels markups = [param.get_markup() for param in self.get_params() if param.get_hide() not in ('all', 'part')] File "/usr/lib/python2.7/dist-packages/gnuradio/grc/python/Param.py", line 170, in get_hide lambda p: ' '.join([p._type, p._nports]), self.get_parent().get_ports()) File "/usr/lib/python2.7/dist-packages/gnuradio/grc/python/Param.py", line 170, in <lambda> lambda p: ' '.join([p._type, p._nports]), self.get_parent().get_ports()) TypeError: sequence item 0: expected string, instance found Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/DrawingArea.py", line 150, in _handle_window_expose self._flow_graph.draw(gc, self._pixmap) File "/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/FlowGraph.py", line 372, in draw element.draw(gc, window) File "/usr/lib/python2.7/dist-packages/gnuradio/grc/gui/Block.py", line 318, in draw window.draw_drawable(gc, self.horizontal_label, 0, 0, x+BLOCK_LABEL_PADDING, y+(self.H-self.label_height)/2, -1, -1) AttributeError: 'Block' object has no attribute 'horizontal_label'

EOF

creating Custom-GNURadio-Python-Blocks

Sear Sir,
I created a block in Python using these instructions: (module is Energy and block is Energy_ff)
gr_modtool newmod Energy
cd gr-Energy
ls
cd gr-Energy
gr_modtool add -t sync -l python
Taking accout that i open Enery_ff.py and i change my code and i save it
after that i build and install project
cmake ../
make
sudo make install
sudo ldconfig
Generating and installing are done successfully:
-- Installing: /usr/local/share/gnuradio/grc/blocks/Energy_detection.block.yml

Finally i run gnu radio, this bloc is not able to be created and the windows show this error:

column 16
<<< Welcome to GNU Radio Companion 3.10.8.0-rc2 >>>

Block paths:
/usr/local/share/gnuradio/grc/blocks

Loading: "/home/crm/x310_rx_v3.grc"

Check: /usr/local/share/gnuradio/grc/blocks/Energy_detection.block.yml
FlowGraph Error: mapping values are not allowed here
in "/usr/local/share/gnuradio/grc/blocks/Energy_detection.block.yml", line 17, column 16
Done

Loading: "/home/crm/x310_rx_v1.grc"

Check: /usr/local/share/gnuradio/grc/blocks/Energy_detection.block.yml
FlowGraph Error: mapping values are not allowed here
in "/usr/local/share/gnuradio/grc/blocks/Energy_detection.block.yml", line 17, column 16
Done

Loading: "/home/crm/x310_rx_v2.grc"

Check: /usr/local/share/gnuradio/grc/blocks/Energy_detection.block.yml
FlowGraph Error: mapping values are not allowed here
in "/usr/local/share/gnuradio/grc/blocks/Energy_detection.block.yml", line 17, column 16
Done

How can i solve this problem please

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.