FS#47636 - [gnuradio-osmosdr] python2-opengl dependency needs to be added

Attached to Project: Community Packages
Opened by Kameron Larsen (kroylar) - Tuesday, 05 January 2016, 16:36 GMT
Last edited by Kyle Keen (keenerd) - Friday, 22 January 2016, 01:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: python2-opengl dependency needs to be added

Steps to reproduce:

$ sudo pacman -Sy gnuradio-osmosdr

$ osmocom_fft
linux; GNU C++ version 5.3.0; Boost_106000; UHD_003.009.001-0-unknown

gr-osmosdr 0.1.4 (0.1.4) gnuradio v3.7.x-xxx-xunknown
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy
[INFO @ version_compat.c:84] Firmware version (v1.9.0) is newer than entries in libbladeRF's compatibility table. Please update libbladeRF if problems arise.
[INFO @ version_compat.c:115] FPGA version (v0.5.0) is newer than entries in libbladeRF's compatibility table. Please update libbladeRF if problems arise.
[bladeRF source] Using nuand LLC bladeRF #0 SN ee09...5dfd FW v1.9.0 FPGA v0.5.0
[INFO @ bladerf.c:648] Clamping bandwidth to 1500000Hz
Using Volk machine: avx_64_mmx_orc
Traceback (most recent call last):
File "/usr/bin/osmocom_fft", line 841, in <module>
main ()
File "/usr/bin/osmocom_fft", line 837, in main
app = stdgui2.stdapp(app_top_block, "osmocom Spectrum Browser", nstatus=1)
File "/usr/lib/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 46, in __init__
wx.App.__init__ (self, redirect=False)
File "/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8628, in __init__
self._BootstrapApp()
File "/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 49, in OnInit
frame = stdframe (self.top_block_maker, self.title, self._nstatus)
File "/usr/lib/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 76, in __init__
self.panel = stdpanel (self, self, top_block_maker)
File "/usr/lib/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 98, in __init__
self.top_block = top_block_maker (frame, self, vbox, sys.argv)
File "/usr/bin/osmocom_fft", line 246, in __init__
fft_rate=options.fft_rate)
File "/usr/lib/python2.7/site-packages/gnuradio/wxgui/fftsink_nongl.py", line 198, in __init__
self.win = fft_window(self, parent, size=size)
File "/usr/lib/python2.7/site-packages/gnuradio/wxgui/fftsink_nongl.py", line 331, in __init__
self.control_panel = control_panel(self)
File "/usr/lib/python2.7/site-packages/gnuradio/wxgui/fftsink_nongl.py", line 256, in __init__
wx.Panel.__init__(self, parent, -1, style=wx.SIMPLE_BORDER)
File "/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/_windows.py", line 68, in __init__
_windows_.Panel_swiginit(self,_windows_.new_Panel(*args, **kwargs))
wx._core.PyAssertionError: C++ assertion "m_window" failed at ./src/gtk/dcclient.cpp(2043) in DoGetSize(): GetSize() doesn't work without window
This task depends upon

Closed by  Kyle Keen (keenerd)
Friday, 22 January 2016, 01:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  gnuradio-osmosdr 0.1.4-14
Comment by Kameron Larsen (kroylar) - Tuesday, 05 January 2016, 16:38 GMT
I forgot to update the title and can't seem to find a way to edit it. It should be "[gnuradio-osmosdr] python2-opengl dependency needs to be added".
Comment by Kyle Keen (keenerd) - Tuesday, 05 January 2016, 16:50 GMT
Gnuradio is often used headless, I'd prefer to not make this a hard dependency. How does
optdepends=("python2-opengl: osmocom_fft")
sound?

Also, never install packages with -Sy
Comment by Kameron Larsen (kroylar) - Tuesday, 05 January 2016, 17:50 GMT
Yeah, an optional dependency is the way to go.

Point taken about -Sy. Thanks!

Loading...