Re: [Discuss-gnuradio] SWIG std::vector issue
Anyone able to help with this? I had to create helper methods to serialize the PMT objects and return a vector of strings. Not the best solution :( On Thu, Jul 28, 2016 at 11:04 AM, Dave NotTellingwrote: > I have a utility lib in C++ created with 'gr_modtool add noblock' that has > a function that returns a vector of pmt::pmt_t values. I need to then be > able to access the elements of that vector via Python. Right now I get the > following error when using a for loop to iterate over the vector: > > > TypeError: 'SwigPyObject' object is not iterable > swig/python detected a memory leak of type 'std::vector< > boost::intrusive_ptr< pmt::pmt_base >,std::allocator< boost::intrusive_ptr< > pmt::pmt_base > > > *', no destructor found. > > > How does one iterate over the elements of a std::vector in > Python? > > Thanks! > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] ZMQ REQ / REP naming Swap?
Hi Michael. Code isn't published, because it belongs to a project for the company I work for. But it was all in python and just for the combinations I needed... so you are probably not missing anything. :) Sorry. 2016-07-29 9:08 GMT-03:00 Michael Dickens: > Hi Francisco - Yes, I think having a generic ZMQ block would be awesome. > Do you have an OOT module or block that does what you listed: a generic ZMQ > block? If so, how do I gain access to it? This would save me lots of time! > Thanks! - MLD > > On Thu, Jul 28, 2016, at 10:21 PM, Francisco Albani wrote: > > Michael, I found the need to do the same for some applications. I also > needed to choose between bind and connect (I made this a parameter of my > block). > Wouldn't be better to have just one sink and one source with selectable > options, like: > * socket_type: REP/REQ/SUB/PUB/PUSH/PULL > * method: bind / connect > * interface: stream / message > > > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] PyBOMBS: Error installing package libtalloc-dev
Hi, with PyBOMBS, I'm compiling gr-gsm on archlinux: sudo pybombs -v install gr-gsm and I get the following error: error: No such command 'CC=' (see the end of the attached verbose log) Any ideas? Best regards. Cyrille DERORY [cderory@cyrille-E6540 ~]$ sudo pybombs install gr-gsm PyBOMBS - INFO - PyBOMBS Version 2.1.0 Install tree: | \- gr-gsm | +- gr-osmosdr | | | +- airspy | | | +- gr-iqbal | | | | | \- gnuradio | | | +- osmo-sdr | | | +- bladeRF | | | \- gnuradio | +- gnuradio | \- libosmocore | \- libtalloc-dev PyBOMBS.install_manager - INFO - Installing package: libtalloc-dev Configuring: (100%) [] PyBOMBS.Packager.source - WARNING - Configuration failed. Re-trying with higher verbosity. Checking for program gcc or cc : /usr/bin/gcc Checking for program cpp : /usr/bin/cpp Checking for program ar : /usr/bin/ar Checking for program ranlib : /usr/bin/ranlib Checking for gcc : ok Checking for program git : /usr/bin/git Check for -MD: yes Checking for program gdb : /usr/bin/gdb Checking build system: Linux cyrille-E6540 4.6.4-1-ARCH #1 SMP PREEMPT Mon Jul 11 19:12:32 CEST 2016 x86_64 GNU/Linux Checking for header sys/utsname.h: yes Checking uname sysname type : Linux Checking uname machine type : x86_64 Checking uname release type : 4.6.4-1-ARCH Checking uname version type : #1 SMP PREEMPT Mon Jul 11 19:12:32 CEST 2016 Checking for header stdio.h : yes Checking simple C program: ok Checking compiler accepts ['-Werror']: yes Checking linker accepts ['-Wl,-rpath,.'] : yes Checking for rpath library support : ok Checking for -Wl,--version-script support : ok Checking compiler accepts ['-fvisibility=hidden', '-Werror'] : yes Checking for HAVE_VISIBILITY_ATTR: ok Checking for library constructor support : ok Checking for library destructor support : ok Checking for __attribute__ : ok Checking compiler accepts -fPIC : yes Checking for inline : inline Checking for pkg-config version >= 0.0.0 : yes Checking compiler accepts [''] : yes Checking for header sys/types.h : yes Checking for header sys/stat.h : yes Checking for header stdlib.h : yes Checking for header stddef.h : yes Checking for header memory.h : yes Checking for header string.h : yes Checking for header strings.h: yes Checking for header inttypes.h : yes Checking for header stdint.h : yes Checking for header unistd.h : yes Checking for header minix/config.h : no Checking for header ctype.h : yes Checking for header standards.h : no Checking for header stdbool.h: yes Checking for header stdarg.h : yes Checking for header vararg.h : no Checking for header limits.h : yes Checking for header assert.h : yes Checking getconf LFS_CFLAGS : not found Checking getconf large file support flags work : ok Checking for large file support without additional flags : ok Checking for header sys/time.h : yes Checking for header time.h : yes Checking for header endian.h : yes Checking for header sys/endian.h : no Checking for HAVE_LITTLE_ENDIAN : ok Checking for HAVE_BIG_ENDIAN : not found Checking for header signal.h : yes Checking if signal handlers return int : not found Checking for variable __FUNCTION__ : ok Checking for va_copy : ok Checking for HAVE__VA_ARGS__MACRO: ok Checking for header linux/types.h: yes Checking for header crypt.h
[Discuss-gnuradio] PyBOMBS: error compiling file uhd_swigPYTHON_wrap.cxx
Hi, with PyBOMBS, I'm compiling gnuradio on archlinux: sudo pybombs -v install gnuradio and I get errors with uhd_swigPYTHON_wrap.cxx. (see end of the attached verbose log) Any ideas? Best regards. Cyrille DERORY [cderory@cyrille-E6540 ~]$ sudo pybombs -v install gnuradio PyBOMBS.ConfigManager - DEBUG - Reading config info from file: /etc/pybombs/config.yml PyBOMBS.ConfigManager - DEBUG - New config items: {} PyBOMBS.ConfigManager - DEBUG - Reading config info from file: /root/.pybombs/config.yml PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix': 'default_prx'} PyBOMBS.ConfigManager - DEBUG - Template directory: /usr/lib/python3.5/site-packages/pybombs/templates PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file: /etc/pybombs/config.yml PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file: /root/.pybombs/config.yml PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Using CWD as prefix (/home/cderory) PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Choosing default prefix config dir: /home/cderory/.pybombs PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Inspecting config file: /home/cderory/.pybombs/config.yml PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix source dir is: /home/cderory/src PyBOMBS.Inventory - DEBUG - Trying to load inventory file /home/cderory/.pybombs/inventory.yml... PyBOMBS.ConfigManager.PrefixInfo - DEBUG - Prefix-local recipe dir is: /home/cderory/.pybombs/recipes PyBOMBS.ConfigManager - DEBUG - Reading config info from file: /home/cderory/.pybombs/config.yml PyBOMBS.ConfigManager - DEBUG - New config items: {'default_prefix': 'default'} PyBOMBS.ConfigManager - DEBUG - Full list of recipe locations: ['/home/cderory/.pybombs/recipes', '/home/cderory/.pybombs/recipes/gr-recipes', '/home/cderory/.pybombs/recipes/gr-etcetera', '/root/.pybombs/recipes/gr-recipes', '/root/.pybombs/recipes/gr-etcetera', '/usr/lib/python3.5/site-packages/pybombs/recipes'] PyBOMBS.ConfigManager - DEBUG - Named recipe locations: {'gr-recipes': 'git+ https://github.com/gnuradio/gr-recipes.git', 'gr-etcetera': 'git+ https://github.com/gnuradio/gr-etcetera.git'} PyBOMBS - INFO - PyBOMBS Version 2.1.0 PyBOMBS.RecipeListManager - DEBUG - Adding recipe location: /home/cderory/.pybombs/recipes PyBOMBS.RecipeListManager - DEBUG - Scanning directory '/home/cderory/.pybombs/recipes' for recipes... PyBOMBS.RecipeListManager - DEBUG - Found 0 new recipes. PyBOMBS.RecipeListManager - DEBUG - Loading templates. PyBOMBS.RecipeListManager - DEBUG - Adding recipe location: /home/cderory/.pybombs/recipes/gr-recipes PyBOMBS.RecipeListManager - DEBUG - Scanning directory '/home/cderory/.pybombs/recipes/gr-recipes' for recipes... PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes. PyBOMBS.RecipeListManager - DEBUG - Loading templates. PyBOMBS.RecipeListManager - DEBUG - Adding recipe location: /home/cderory/.pybombs/recipes/gr-etcetera PyBOMBS.RecipeListManager - DEBUG - Scanning directory '/home/cderory/.pybombs/recipes/gr-etcetera' for recipes... PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes. PyBOMBS.RecipeListManager - DEBUG - Loading templates. PyBOMBS.RecipeListManager - DEBUG - Adding recipe location: /root/.pybombs/recipes/gr-recipes PyBOMBS.RecipeListManager - DEBUG - Scanning directory '/root/.pybombs/recipes/gr-recipes' for recipes... PyBOMBS.RecipeListManager - DEBUG - Found 166 new recipes. PyBOMBS.RecipeListManager - DEBUG - Loading templates. PyBOMBS.RecipeListManager - DEBUG - Adding recipe location: /root/.pybombs/recipes/gr-etcetera PyBOMBS.RecipeListManager - DEBUG - Scanning directory '/root/.pybombs/recipes/gr-etcetera' for recipes... PyBOMBS.RecipeListManager - DEBUG - Found 59 new recipes. PyBOMBS.RecipeListManager - DEBUG - Loading templates. PyBOMBS.RecipeListManager - DEBUG - Adding recipe location: /usr/lib/python3.5/site-packages/pybombs/recipes PyBOMBS.RecipeListManager - DEBUG - Scanning directory '/usr/lib/python3.5/site-packages/pybombs/recipes' for recipes... PyBOMBS.RecipeListManager - DEBUG - Found 11 new recipes. PyBOMBS.RecipeListManager - DEBUG - Loading templates. PyBOMBS.install - DEBUG - Initializing command class for command install PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager pip PyBOMBS.PackageManager - DEBUG - pip is supported! PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager apt-get PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager yumdnf PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager port PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager brew PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager pacman PyBOMBS.PackageManager - DEBUG - pacman is supported! PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager portage PyBOMBS.PackageManager - DEBUG - Attempting to add binary package manager pkgconfig PyBOMBS.PackageManager - DEBUG - pkgconfig is supported!
Re: [Discuss-gnuradio] PyBOMBS: Error installing package python-zmq
Thank you Andrej and Jacob, I've just uncommented the line in gnuradio.lwr that adds python-zmq as a dependency. I will wait for future solutions. Cyrille 2016-08-01 20:18 GMT+02:00 Andrej Rode: > Hi, > > I'm currently testing pybombs with arch in a chroot. I found some more > issues besides python-zmq with ArchLinux and going to tackle them now. > > @Cyrille: try removing your prefix-directory and then installing again. > I added python2-pyzmq to the recipe and now installation gets stuck > somewhene else. > > Best Regards, > Andrej > > On 01/08/16 20:14, Jacob Gilbert wrote: > > Cyrille, I recently PR'd python-zmq as a dependency to GR as it is > required > > for the ZMQ blocks to work from python. I did not check to see if this > > worked on arch though. If you want a workaround in the near term you can > > uncomment the line in gnuradio.lwr that adds python-zmq as a dependency. > > > > Jacob > > > > On Mon, Aug 1, 2016 at 10:55 AM, Cyrille DERORY > wrote: > > > >> I modified the file ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below > the > >> port line: > >> > >> # > >> # This file is part of PyBOMBS > >> # > >> # PyBOMBS is free software; you can redistribute it and/or modify > >> # it under the terms of the GNU General Public License as published by > >> # the Free Software Foundation; either version 3, or (at your option) > >> # any later version. > >> # > >> # PyBOMBS is distributed in the hope that it will be useful, > >> # but WITHOUT ANY WARRANTY; without even the implied warranty of > >> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > >> # GNU General Public License for more details. > >> # > >> # You should have received a copy of the GNU General Public License > >> # along with PyBOMBS; see the file COPYING. If not, write to > >> # the Free Software Foundation, Inc., 51 Franklin Street, > >> # Boston, MA 02110-1301, USA. > >> # > >> > >> category: baseline > >> satisfy: > >> deb: python-zmq > >> rpm: python-zmq > >> port: py27-zmq > >> pacman: python2-pyzmq > >> > >> > >> > >> > >> But it still not working even after I did a manual install of > >> python2-pyzmq package with command line: > >> sudo pacman -S python2-pyzmq > >> (python2-pyzmq-15.2.0-1 is installed) > >> https://www.archlinux.org/packages/community/x86_64/python2-pyzmq/ > >> > >> verbosity mode: > >> > >> PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is > >> installed. > >> PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is > >> installed. > >> Install tree: > >> | > >> \- gr-gsm > >>| > >>+- libosmocore > >>| | > >>| \- libtalloc-dev > >>| > >>+- gr-osmosdr > >>| | > >>| +- gr-iqbal > >>| | | > >>| | \- gnuradio > >>| | | > >>| | \- python-zmq > >>| | > >>| \- gnuradio > >>| | > >>| \- python-zmq > >>| > >>\- gnuradio > >> | > >> \- python-zmq > >> PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is > >> installed. > >> PyBOMBS.install_manager - INFO - Installing package: python-zmq > >> PyBOMBS.PackageManager - DEBUG - install(python-zmq, static=False) > >> PyBOMBS.PackageManager - DEBUG - Using packager pip > >> PyBOMBS.PackageManager - DEBUG - Using packager pacman > >> PyBOMBS.PackageManager - DEBUG - Using packager pkgconfig > >> PyBOMBS.PackageManager - DEBUG - Using packager cmd > >> PyBOMBS.PackageManager - DEBUG - Using packager source > >> PyBOMBS.Packager.source - WARNING - Cannot find a source URI for package > >> python-zmq > >> PyBOMBS.install_manager - ERROR - Error installing package python-zmq. > >> Aborting. > >> > >> > >> Cyrille > >> > >> > >> 2016-08-01 17:55 GMT+02:00 Andrej Rode : > >> > >>> Hey Cyrille, > >>> > >>> > >>> On 01/08/16 17:20, Cyrille DERORY wrote: > Thank you for your reply, > > my distro/OS is archlinux and package manager is pacman: > https://wiki.archlinux.org/index.php/pacman > >>> > >>> Try adding: > >>> pacman: python2-pyzmq > >>> in ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the port line. > >>> If you can install gnuradio successfully I'll submit a pull-request > >>> against gr-recipes master. > >>> > >>> Best Regards, > >>> Andrej > >>> > >>> P.S. Don't forget to add the mailing-list in your reply. Your answer > >>> might be interesting for other folks. > >>> > >>> > >>> > >> > >> ___ > >> Discuss-gnuradio mailing list > >> Discuss-gnuradio@gnu.org > >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > >> > >> > > > > > ___ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] PyBOMBS: Error installing package python-zmq
Hi, I'm currently testing pybombs with arch in a chroot. I found some more issues besides python-zmq with ArchLinux and going to tackle them now. @Cyrille: try removing your prefix-directory and then installing again. I added python2-pyzmq to the recipe and now installation gets stuck somewhene else. Best Regards, Andrej On 01/08/16 20:14, Jacob Gilbert wrote: > Cyrille, I recently PR'd python-zmq as a dependency to GR as it is required > for the ZMQ blocks to work from python. I did not check to see if this > worked on arch though. If you want a workaround in the near term you can > uncomment the line in gnuradio.lwr that adds python-zmq as a dependency. > > Jacob > > On Mon, Aug 1, 2016 at 10:55 AM, Cyrille DERORYwrote: > >> I modified the file ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the >> port line: >> >> # >> # This file is part of PyBOMBS >> # >> # PyBOMBS is free software; you can redistribute it and/or modify >> # it under the terms of the GNU General Public License as published by >> # the Free Software Foundation; either version 3, or (at your option) >> # any later version. >> # >> # PyBOMBS is distributed in the hope that it will be useful, >> # but WITHOUT ANY WARRANTY; without even the implied warranty of >> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> # GNU General Public License for more details. >> # >> # You should have received a copy of the GNU General Public License >> # along with PyBOMBS; see the file COPYING. If not, write to >> # the Free Software Foundation, Inc., 51 Franklin Street, >> # Boston, MA 02110-1301, USA. >> # >> >> category: baseline >> satisfy: >> deb: python-zmq >> rpm: python-zmq >> port: py27-zmq >> pacman: python2-pyzmq >> >> >> >> >> But it still not working even after I did a manual install of >> python2-pyzmq package with command line: >> sudo pacman -S python2-pyzmq >> (python2-pyzmq-15.2.0-1 is installed) >> https://www.archlinux.org/packages/community/x86_64/python2-pyzmq/ >> >> verbosity mode: >> >> PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is >> installed. >> PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is >> installed. >> Install tree: >> | >> \- gr-gsm >>| >>+- libosmocore >>| | >>| \- libtalloc-dev >>| >>+- gr-osmosdr >>| | >>| +- gr-iqbal >>| | | >>| | \- gnuradio >>| | | >>| | \- python-zmq >>| | >>| \- gnuradio >>| | >>| \- python-zmq >>| >>\- gnuradio >> | >> \- python-zmq >> PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is >> installed. >> PyBOMBS.install_manager - INFO - Installing package: python-zmq >> PyBOMBS.PackageManager - DEBUG - install(python-zmq, static=False) >> PyBOMBS.PackageManager - DEBUG - Using packager pip >> PyBOMBS.PackageManager - DEBUG - Using packager pacman >> PyBOMBS.PackageManager - DEBUG - Using packager pkgconfig >> PyBOMBS.PackageManager - DEBUG - Using packager cmd >> PyBOMBS.PackageManager - DEBUG - Using packager source >> PyBOMBS.Packager.source - WARNING - Cannot find a source URI for package >> python-zmq >> PyBOMBS.install_manager - ERROR - Error installing package python-zmq. >> Aborting. >> >> >> Cyrille >> >> >> 2016-08-01 17:55 GMT+02:00 Andrej Rode : >> >>> Hey Cyrille, >>> >>> >>> On 01/08/16 17:20, Cyrille DERORY wrote: Thank you for your reply, my distro/OS is archlinux and package manager is pacman: https://wiki.archlinux.org/index.php/pacman >>> >>> Try adding: >>> pacman: python2-pyzmq >>> in ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the port line. >>> If you can install gnuradio successfully I'll submit a pull-request >>> against gr-recipes master. >>> >>> Best Regards, >>> Andrej >>> >>> P.S. Don't forget to add the mailing-list in your reply. Your answer >>> might be interesting for other folks. >>> >>> >>> >> >> ___ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> >> > signature.asc Description: OpenPGP digital signature ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] PyBOMBS: Error installing package python-zmq
Cyrille, I recently PR'd python-zmq as a dependency to GR as it is required for the ZMQ blocks to work from python. I did not check to see if this worked on arch though. If you want a workaround in the near term you can uncomment the line in gnuradio.lwr that adds python-zmq as a dependency. Jacob On Mon, Aug 1, 2016 at 10:55 AM, Cyrille DERORYwrote: > I modified the file ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the > port line: > > # > # This file is part of PyBOMBS > # > # PyBOMBS is free software; you can redistribute it and/or modify > # it under the terms of the GNU General Public License as published by > # the Free Software Foundation; either version 3, or (at your option) > # any later version. > # > # PyBOMBS is distributed in the hope that it will be useful, > # but WITHOUT ANY WARRANTY; without even the implied warranty of > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > # GNU General Public License for more details. > # > # You should have received a copy of the GNU General Public License > # along with PyBOMBS; see the file COPYING. If not, write to > # the Free Software Foundation, Inc., 51 Franklin Street, > # Boston, MA 02110-1301, USA. > # > > category: baseline > satisfy: > deb: python-zmq > rpm: python-zmq > port: py27-zmq > pacman: python2-pyzmq > > > > > But it still not working even after I did a manual install of > python2-pyzmq package with command line: > sudo pacman -S python2-pyzmq > (python2-pyzmq-15.2.0-1 is installed) > https://www.archlinux.org/packages/community/x86_64/python2-pyzmq/ > > verbosity mode: > > PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is > installed. > PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is > installed. > Install tree: > | > \- gr-gsm >| >+- libosmocore >| | >| \- libtalloc-dev >| >+- gr-osmosdr >| | >| +- gr-iqbal >| | | >| | \- gnuradio >| | | >| | \- python-zmq >| | >| \- gnuradio >| | >| \- python-zmq >| >\- gnuradio > | > \- python-zmq > PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is > installed. > PyBOMBS.install_manager - INFO - Installing package: python-zmq > PyBOMBS.PackageManager - DEBUG - install(python-zmq, static=False) > PyBOMBS.PackageManager - DEBUG - Using packager pip > PyBOMBS.PackageManager - DEBUG - Using packager pacman > PyBOMBS.PackageManager - DEBUG - Using packager pkgconfig > PyBOMBS.PackageManager - DEBUG - Using packager cmd > PyBOMBS.PackageManager - DEBUG - Using packager source > PyBOMBS.Packager.source - WARNING - Cannot find a source URI for package > python-zmq > PyBOMBS.install_manager - ERROR - Error installing package python-zmq. > Aborting. > > > Cyrille > > > 2016-08-01 17:55 GMT+02:00 Andrej Rode : > >> Hey Cyrille, >> >> >> On 01/08/16 17:20, Cyrille DERORY wrote: >> > Thank you for your reply, >> > >> > my distro/OS is archlinux and package manager is pacman: >> > https://wiki.archlinux.org/index.php/pacman >> >> Try adding: >> pacman: python2-pyzmq >> in ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the port line. >> If you can install gnuradio successfully I'll submit a pull-request >> against gr-recipes master. >> >> Best Regards, >> Andrej >> >> P.S. Don't forget to add the mailing-list in your reply. Your answer >> might be interesting for other folks. >> >> >> > > ___ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] PyBOMBS: Error installing package python-zmq
I modified the file ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the port line: # # This file is part of PyBOMBS # # PyBOMBS is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # PyBOMBS is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with PyBOMBS; see the file COPYING. If not, write to # the Free Software Foundation, Inc., 51 Franklin Street, # Boston, MA 02110-1301, USA. # category: baseline satisfy: deb: python-zmq rpm: python-zmq port: py27-zmq pacman: python2-pyzmq But it still not working even after I did a manual install of python2-pyzmq package with command line: sudo pacman -S python2-pyzmq (python2-pyzmq-15.2.0-1 is installed) https://www.archlinux.org/packages/community/x86_64/python2-pyzmq/ verbosity mode: PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is installed. PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is installed. Install tree: | \- gr-gsm | +- libosmocore | | | \- libtalloc-dev | +- gr-osmosdr | | | +- gr-iqbal | | | | | \- gnuradio | | | | | \- python-zmq | | | \- gnuradio | | | \- python-zmq | \- gnuradio | \- python-zmq PyBOMBS.PackageManager - DEBUG - Checking if package python-zmq is installed. PyBOMBS.install_manager - INFO - Installing package: python-zmq PyBOMBS.PackageManager - DEBUG - install(python-zmq, static=False) PyBOMBS.PackageManager - DEBUG - Using packager pip PyBOMBS.PackageManager - DEBUG - Using packager pacman PyBOMBS.PackageManager - DEBUG - Using packager pkgconfig PyBOMBS.PackageManager - DEBUG - Using packager cmd PyBOMBS.PackageManager - DEBUG - Using packager source PyBOMBS.Packager.source - WARNING - Cannot find a source URI for package python-zmq PyBOMBS.install_manager - ERROR - Error installing package python-zmq. Aborting. Cyrille 2016-08-01 17:55 GMT+02:00 Andrej Rode: > Hey Cyrille, > > > On 01/08/16 17:20, Cyrille DERORY wrote: > > Thank you for your reply, > > > > my distro/OS is archlinux and package manager is pacman: > > https://wiki.archlinux.org/index.php/pacman > > Try adding: > pacman: python2-pyzmq > in ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the port line. > If you can install gnuradio successfully I'll submit a pull-request > against gr-recipes master. > > Best Regards, > Andrej > > P.S. Don't forget to add the mailing-list in your reply. Your answer > might be interesting for other folks. > > > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] PyBOMBS: Error installing package python-zmq
Hey Cyrille, On 01/08/16 17:20, Cyrille DERORY wrote: > Thank you for your reply, > > my distro/OS is archlinux and package manager is pacman: > https://wiki.archlinux.org/index.php/pacman Try adding: pacman: python2-pyzmq in ~/.pybombs/recipes/gr-recipes/python-zmq.lwr below the port line. If you can install gnuradio successfully I'll submit a pull-request against gr-recipes master. Best Regards, Andrej P.S. Don't forget to add the mailing-list in your reply. Your answer might be interesting for other folks. signature.asc Description: OpenPGP digital signature ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] PyBOMBS: Error installing package python-zmq
Hi Cyrille, > this is my first time with PyBOMBS. > Do you have any idea what is the problem with: > "PyBOMBS.Packager.source - WARNING - Cannot find a source URI for package > python-zmq" the python-zmq recipe can be satisfied if installed on a system with deb, rpm or port package manager. Which distro/OS are you using? None of the above package managers is found on your system and then PyBOMBs falls back to installation from source and there is no source-installation defined for python-zmq. Bet Regards, Andrej signature.asc Description: OpenPGP digital signature ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Problem with gnuradio-companion
I can't fix this one - 3 hours trying and I have given up. Ubuntu 16.04. gnuradio-companion isn't working. Everything else seems to be fine, existing flowgraphs run OK, even gqrx. I have tried a complete re-installation, right back to the pybombs prefix init stage but no dice. Any ideas? mike@mjw-i7:~/.gnuradio$ gnuradio-companion Traceback (most recent call last): File "/home/mike/gnuradio/bin/gnuradio-companion", line 29, in from gnuradio.grc.main import main ImportError: No module named main I have set the environment etc. All looks good except there is no lib64 director in my prefix /home/mike/gnuradio mike@mjw-i7:~/.gnuradio$ env |grep gnuradio LIBRARY_PATH=/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/: LD_LIBRARY_PATH=/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/:/home/mike/gnuradio/lib:/home/mike/gnuradio/lib64/: PYBOMBS_PREFIX=/home/mike/gnuradio PATH=/home/mike/gnuradio/bin:/home/mike/gnuradio/bin:/home/mike/gnuradio/bin:/home/mike/gnuradio/bin:/home/mike/gnuradio/bin:/home/mike/gnuradio/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD=/home/mike/gnuradio PYTHONPATH=/home/mike/gnuradio/python:/home/mike/gnuradio/lib/python2.6/site-packages:/home/mike/gnuradio/lib64/python2.6/site-packages:/home/mike/gnuradio/lib/python2.6/dist-packages:/home/mike/gnuradio/lib64/python2.6/dist-packages:/home/mike/gnuradio/lib/python2.7/site-packages:/home/mike/gnuradio/lib64/python2.7/site-packages:/home/mike/gnuradio/lib/python2.7/dist-packages:/home/mike/gnuradio/lib64/python2.7/dist-packages: PKG_CONFIG_PATH=/home/mike/gnuradio/lib/pkgconfig:/home/mike/gnuradio/lib64/pkgconfig:/home/mike/gnuradio/lib/pkgconfig:/home/mike/gnuradio/lib64/pkgconfig:/home/mike/gnuradio/lib/pkgconfig:/home/mike/gnuradio/lib64/pkgconfig:/home/mike/gnuradio/lib/pkgconfig:/home/mike/gnuradio/lib64/pkgconfig:/home/mike/gnuradio/lib/pkgconfig:/home/mike/gnuradio/lib64/pkgconfig:/home/mike/gnuradio/lib/pkgconfig:/home/mike/gnuradio/lib64/pkgconfig: ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Fwd: Complex_to_float doubles number of samples in stream
Hi, I sent that message a week ago, but now I see it didn't get to the list. Possibly it was not accepted because I was not subscribed. I think I found a bug in the QT GUI Sink. Please see the details in the message below. Jerzy -- Forwarded message -- From: MikuslawDate: Mon, Jul 25, 2016 at 10:23 PM Subject: Complex_to_float doubles number of samples in stream To: discuss-gnuradio@gnu.org Hi, I'm struggling with some issue on the gnuradio 3.7.10-1. I'm using an attached flowgraph. When you run it, and open (quickly) waterfall graphs from both of sinks, you will notice that two graphs scroll at different speed. It doesn't matter they have the same time scale. This seems to be directly connected with the conversion to float from complex. At first I thought that conversion from complex to float introduced additional samples. The same graph, but using QT GUI Waterfall Sink instead of QT GUI Sink work correctly. Seems to be a bug in the sink itself. Started the process of creating the account, and am writing here as instructed in the faq. complexToFloatIssue.grc Description: Binary data ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio