PothosSDR-2019.06.09-vc14-x64

174 views
Skip to first unread message

kb3cs

unread,
Dec 7, 2019, 9:21:39 PM12/7/19
to Pothos Users
[tried the #pothos channel on IRC first. doesn't seem to be active enough (after waiting 10 hours) to get support there]

LimeQuickTest, LimeSuiteGUI, LimeUtil and SoapySDRUtil are all able to interrogate my LimeSDR Mini (fw 6, hw 2, gw 1.30).

after carefully reading through the instructions in the wiki, i installed Pothosware using the PothosSDR-2019.06.09-vc14-x64 installer.

CubicSDR crashes after selecting the LimeSDR and hitting "Start". GNURadioCompanion does not start. GQRX starts manually from the PothosSDR/bin directory but not from the Desktop link created during the install. Pothos Flow does not seem to do anything when a simple LimeSDR Source and Spectrogram is activated.

******* here is the output of GNURadioHelper.py

C:\Users\CSylvain\Python27\python.exe GNURadioHelper.py

========================================
== Runtime and import checks
========================================
 * Check locate GNURadio runtime...  PASS
 * Check locate GTK+ runtime...      FAIL
 * Check Python version is 2.7...    PASS
 * Check import gtk module...        FAIL
 * Check import numpy module...      FAIL
 * Check import lxml module...       FAIL
 * Check import Cheetah module...    FAIL
 * Check import wx module...         FAIL
 * Check import OpenGL module...     FAIL
 * Check GRC blocks path set...      PASS
 * Check import GNURadio module...   FAIL

========================================
== Checks passed summary
========================================
GR_RUNTIME:     C:\Users\CSylvain\PothosSDR\bin\gnuradio-runtime.dll
PYVERSION:      2.7.17 (v2.7.17:c2f86d86e6, Oct 19 2019, 21:01:17) [MSC v.1500 64 bit (AMD64)]
GRC_BLOCKS:     C:\Users\CSylvain\PothosSDR\share\gnuradio\grc\blocks

========================================
== Checks failed summary
========================================
GTK_RUNTIME:    failed to locate the GTK+ runtime DLL
IMPORT_GTK:     No module named gtk
IMPORT_NUMPY:   No module named numpy
IMPORT_LXML:    No module named lxml
IMPORT_CHEETAH: No module named Cheetah
IMPORT_WX:      No module named wx
IMPORT_OPENGL:  No module named OpenGL
IMPORT_GR:      No module named numpy

========================================
== Fixing problems
========================================
Handling issues for GTK_RUNTIME...
Traceback (most recent call last):
  File "c:\users\csylvain\python27\lib\runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "c:\users\csylvain\python27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\Users\CSylvain\Python27\Scripts\pip.exe\__main__.py", line 9, in <module>
TypeError: 'module' object is not callable
Error: pip failed to install requests
Error: No module named requests

******* i have Python2.7 and Python3.7 installed from python.org. i cannot find any GTK libraries in the PothosSDR filesystem tree.
******* my PATH and PYTHONPATH and other relevant environment variables are

Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Common Files\Acronis\VirtualFile\;C:\Program Files (x86)\Common Files\Acronis\VirtualFile64\;C:\Program Files (x86)\Common Files\Acronis\FileProtector\;C:\Program Files (x86)\Common Files\Acronis\FileProtector64\;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\Users\CSylvain\Microchip\MPLAB C32 Suite\bin;C:\Users\CSylvain\Microchip\MPLAB IDE\VDI;C:\Users\CSylvain\PothosSDR\bin\;C:\Users\CSylvain\AppData\Local\Microsoft\WindowsApps;C:\Users\CSylvain\Python37\Scripts\;C:\Users\CSylvain\Python37\

GR_PREFIX=C:\Users\CSylvain\PothosSDR
GRC_BLOCKS_PATH=C:\Users\CSylvain\PothosSDR\share\gnuradio\grc\blocks
PYTHONPATH=C:\Users\CSylvain\PothosSDR\lib\python27\site-packages
UHD_PKG_PATH=C:\Users\CSylvain\PothosSDR
VOLK_PREFIX=C:\Users\CSylvain\PothosSDR

******* what is missing? are there dependencies which were not installed by PothosSDR-2019.06.09-vc14-x64 ?

  - 81 (base 9) -

kb3cs

unread,
Dec 13, 2019, 8:05:40 AM12/13/19
to Pothos Users
.. and now it has been one day short of a week.

what PothosSDR release number was the last one to work fully in Windows 10 x64?

here is a hurdle i have found but unable to surmount for the PothosSDR release named in the subject line: Python2.7.x

the dependency chain is: pygtk -> pyobject -> pycairo

pycairo would not install using 'pip' due to a lack of "cairo.h". PothosSDR is either going to have to include Python2 and add-ons AS WHEELS in the package or is going to have to troubleshoot and fix pycairo so that it can continue to rely on installing python and add-ons from existing repos.

i attempted to build pycairo manually and obtained the requisite "cairo*.h" files (note globbing: there's a handful of files). some of the references to header files in the pycairo source were edited to use local copies of the include files ("cairo-pdf.h" vs <cairo-pdf.h> for example).

the modified pycairo build setup proceeded normally until bombing on an incompatible or unsuitable datatype issue.

at that point, i gave up. furthermore, i have for now given up on PothosSDR.

  - 30 -

On Saturday, December 7, 2019 at 9:21:39 PM UTC-5, kb3cs wrote:
[tried the #pothos channel on IRC first. doesn't seem to be active enough (after waiting 10 hours) to get support there]

LimeQuickTest, LimeSuiteGUI, LimeUtil and SoapySDRUtil are all able to interrogate my LimeSDR Mini (fw 6, hw 2, gw 1.30).

after carefully reading through the instructions in the wiki, i installed Pothosware using the PothosSDR-2019.06.09-vc14-x64 installer.

CubicSDR crashes after selecting the LimeSDR and hitting "Start". GNURadioCompanion does not start. GQRX starts manually from the PothosSDR/bin directory but not from the Desktop link created during the install. Pothos Flow does not seem to do anything when a simple LimeSDR Source and Spectrogram is activated.
[...]
 

Josh Blum

unread,
Dec 14, 2019, 9:00:25 PM12/14/19
to pothos...@googlegroups.com


On 12/7/19 8:21 PM, kb3cs wrote:
[tried the #pothos channel on IRC first. doesn't seem to be active enough (after waiting 10 hours) to get support there]

LimeQuickTest, LimeSuiteGUI, LimeUtil and SoapySDRUtil are all able to interrogate my LimeSDR Mini (fw 6, hw 2, gw 1.30).

after carefully reading through the instructions in the wiki, i installed Pothosware using the PothosSDR-2019.06.09-vc14-x64 installer.

CubicSDR crashes after selecting the LimeSDR and hitting "Start". GNURadioCompanion does not start. GQRX starts manually from the PothosSDR/bin directory but not from the Desktop link created during the install. Pothos Flow does not seem to do anything when a simple LimeSDR Source and Spectrogram is activated.

I have seen GQRX fail to start after a crash, and sometimes it needs an extra run to cause it to open the config panal again -- maybe you are seeing that.

There seems to be a common thread with the LimeSDR. You might be interested in trying the SoapySDRUtil --rate option for the rate etst to just see if the basic streaming working. Another caveat with the LimeSDR is that it needs to run compatible firmware, and the PothosSDR installer is a bit old, so its possible there is a firmware mismatch. LimeUtil --update I believe will usually address though.



Traceback (most recent call last):
  File "c:\users\csylvain\python27\lib\runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "c:\users\csylvain\python27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\Users\CSylvain\Python27\Scripts\pip.exe\__main__.py", line 9, in <module>
TypeError: 'module' object is not callable
Error: pip failed to install requests
Error: No module named requests


I'm pretty concerned about this one, its basically just failing to call pip: https://github.com/pothosware/gnuradio-companion-exe/blob/master/GNURadioHelper.py#L89

Its strange to see "C:\Users\CSylvain\Python27\Scripts\pip.exe install requests fail", I dont know what the error means. I think that merits its own investigation.

Looking around on google it seems to be a common problem, they just recommend reinstalling pip. As to why, maybe its a python search path thing. I would reinstall it or dig into __main__.py


******* i have Python2.7 and Python3.7 installed from python.org. i cannot find any GTK libraries in the PothosSDR filesystem tree.


GRC wants a lot of python libraries, and since not everyone downloads the installer for GRC, and also because its large, this script is provided to try to download the dependencies. Of course they can be installed by other means.

-josh


******* my PATH and PYTHONPATH and other relevant environment variables are

Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Common Files\Acronis\VirtualFile\;C:\Program Files (x86)\Common Files\Acronis\VirtualFile64\;C:\Program Files (x86)\Common Files\Acronis\FileProtector\;C:\Program Files (x86)\Common Files\Acronis\FileProtector64\;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\Users\CSylvain\Microchip\MPLAB C32 Suite\bin;C:\Users\CSylvain\Microchip\MPLAB IDE\VDI;C:\Users\CSylvain\PothosSDR\bin\;C:\Users\CSylvain\AppData\Local\Microsoft\WindowsApps;C:\Users\CSylvain\Python37\Scripts\;C:\Users\CSylvain\Python37\

GR_PREFIX=C:\Users\CSylvain\PothosSDR
GRC_BLOCKS_PATH=C:\Users\CSylvain\PothosSDR\share\gnuradio\grc\blocks
PYTHONPATH=C:\Users\CSylvain\PothosSDR\lib\python27\site-packages
UHD_PKG_PATH=C:\Users\CSylvain\PothosSDR
VOLK_PREFIX=C:\Users\CSylvain\PothosSDR

******* what is missing? are there dependencies which were not installed by PothosSDR-2019.06.09-vc14-x64 ?

  - 81 (base 9) -
--
You received this message because you are subscribed to the Google Groups "Pothos Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pothos-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pothos-users/56028cfe-29e8-467e-932f-f24ec0a62f79%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages