Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Failed to initialize GTK." running grc after "conda upgrade --all" #40

Closed
DeonMarais64 opened this issue Nov 9, 2022 · 6 comments
Closed

Comments

@DeonMarais64
Copy link

DeonMarais64 commented Nov 9, 2022

Hi,
On a Windows 11 machine I am getting the following errors,
After a fresh install of the latest release (2022.09.22) an then running conda upgrade --all

conda_upgrade-all

Any ideas on how to solve this if indeed possible ?
The only way I can get things working is to remove and and reinstall radioconda.

Also while I am here, a couple of other things.
In a windows command prompt,

C:\Users\deon>iio_info -s
Library version: 0.24 (git tag: c4498c2)
Compiled with backends: xml ip usb serial
Available contexts:
        0: 192.168.2.1 (Analog Devices PlutoSDR Rev.C (Z7010-AD9361)), serial=10000023135756120041002703111138a7 [ip:pluto.local]
        1: 192.168.1.40 (Analog Devices PlutoSDR Rev.C (Z7010-AD9361)), serial=1000002313575612002600260311112a3e [ip:plutoplus.local]
        2: 0456:b673 (Analog Devices Inc. PlutoSDR (ADALM-PLUTO)), serial=10000023135756120041002703111138a7 [usb:1.3.5]

On the same machine and in a conda prompt,

(base) C:\Users\deon>iio_info -s
Library version: 0.24 (git tag: v0.24)
Compiled with backends: xml ip usb
Unable to create Local IIO context : Function not implemented (40)
Available contexts:
        0: 0456:b673 (Analog Devices Inc. PlutoSDR (ADALM-PLUTO)), serial=10000023135756120041002703111138a7 [usb:2.2.5]

It seems the conda environment does not see devices that are network attached. Within GRC it is still possible to use the devices.
For example ip:plutoplus.local works within a GRC flow diagram and so does running the resulting python script on its own.
This is not really a showstopper, but it would be great if it could be resolved.

Can SDRplay support be added either retrospectively, or could it also be included as part of the installation ?

Lastly, part of the roadmap to include gr-fosphor in as part of the installation, if not could it be and is there any current method by which to install this and OOT GNURadio modules on Windows ?

Thanks and best regards.

@ryanvolz
Copy link
Owner

ryanvolz commented Nov 9, 2022

Any ideas on how to solve this if indeed possible ?

This error is similar to #37 and may have the same cause. Can you post the output of conda list after the upgrade? Either you're missing the newly-upgraded atk package, or other packages have the same error and seemingly need to be rebuilt.

It seems the conda environment does not see devices that are network attached. Within GRC it is still possible to use the devices.
For example ip:plutoplus.local works within a GRC flow diagram and so does running the resulting python script on its own.
This is not really a showstopper, but it would be great if it could be resolved.

Interesting. I'll have to take a look with my Pluto to see if there's anything that can be done.

Can SDRplay support be added either retrospectively, or could it also be included as part of the installation ?

I'd love to include it if it can be made possible. See #29.

Lastly, part of the roadmap to include gr-fosphor in as part of the installation, if not could it be and is there any current method by which to install this and OOT GNURadio modules on Windows ?

gr-fosphor is on my personal priority list, but I'm unsure how difficult it may be. This is the general procedure to follow for building an OOT with conda + Windows, although gr-fosphor could be less straightforward than the general case. I'd be interested to hear if you are successful though or what problems you run into.

@DeonMarais64
Copy link
Author

DeonMarais64 commented Nov 10, 2022

Thank you for your response.

After the upgrade I also tried running gqrx and I get the following errors ,

image

image

Can you post the output of conda list after the upgrade?

I below is the list before the upgrade,

(base) C:\Users\deon>conda list
# packages in environment at C:\Programs\Radio\GNURadio\radioconda:
#
# Name                    Version                   Build  Channel
adwaita-icon-theme        41.0                 h57928b3_1    conda-forge
airspy                    1.0.10               h8ffe710_0    conda-forge
airspyhf                  1.6.8                h8ffe710_0    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
asttokens                 2.0.8              pyhd8ed1ab_0    conda-forge
atk-1.0                   2.38.0               hdff456e_0    conda-forge
attrs                     22.1.0             pyh71513ae_1    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
bcrypt                    3.2.2           py310he2412df_0    conda-forge
bladerf                   2021.10              h8ffe710_0    conda-forge
boost-cpp                 1.78.0               h9f4b32c_1    conda-forge
brotli                    1.0.9                h8ffe710_7    conda-forge
brotli-bin                1.0.9                h8ffe710_7    conda-forge
brotlipy                  0.7.0           py310he2412df_1004    conda-forge
bzip2                     1.0.8                h8ffe710_4    conda-forge
ca-certificates           2022.9.14            h5b45459_0    conda-forge
cached-property           1.5.2                hd8ed1ab_1    conda-forge
cached_property           1.5.2              pyha770c72_1    conda-forge
cairo                     1.16.0            hd694305_1014    conda-forge
certifi                   2022.9.14          pyhd8ed1ab_0    conda-forge
cffi                      1.15.1          py310hcbf9ad4_0    conda-forge
charset-normalizer        2.1.1              pyhd8ed1ab_0    conda-forge
click                     8.1.3           py310h5588dad_0    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
codec2                    1.0.3                hcd874cb_0    conda-forge
colorama                  0.4.5              pyhd8ed1ab_0    conda-forge
conda                     4.14.0          py310h5588dad_0    conda-forge
conda-package-handling    1.9.0           py310h635b8f1_0    conda-forge
construct                 2.10.68            pyhd8ed1ab_0    conda-forge
contourpy                 1.0.5           py310h232114e_0    conda-forge
cryptography              37.0.4          py310ha857299_0    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
digital_rf                2.6.7           py310h3aa5818_3    conda-forge
epoxy                     1.5.10               h8d14728_1    conda-forge
executing                 1.0.0              pyhd8ed1ab_0    conda-forge
expat                     2.4.9                h1537add_0    conda-forge
fftw                      3.3.10          nompi_h38027f0_105    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.0               hce3cb01_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.37.3          py310h8d17308_0    conda-forge
freetype                  2.12.1               h546665d_0    conda-forge
fribidi                   1.0.10               h8d14728_0    conda-forge
fs                        2.4.15             pyhd8ed1ab_0    conda-forge
gdk-pixbuf                2.42.8               h56bf1b2_1    conda-forge
gettext                   0.19.8.1          ha2e2712_1008    conda-forge
glew                      2.1.0                h39d44d4_2    conda-forge
glib                      2.72.1               h7755175_0    conda-forge
glib-tools                2.72.1               h7755175_0    conda-forge
gnuradio                  3.10.4.0        py310h6c50af4_2    conda-forge
gnuradio-core             3.10.4.0        py310hf7df68c_2    conda-forge
gnuradio-grc              3.10.4.0        py310h4a85852_2    conda-forge
gnuradio-iio              3.10.4.0        py310hfd4675a_2    conda-forge
gnuradio-inspector        0.0.0.20220919.dev+g719bdfb py310hd541363_0    ryanvolz
gnuradio-iridium          1!1.0.0         py310hd2c9a96_0    conda-forge
gnuradio-leo              1.0.0.post68+0fb18e1 py310h5efcb39_0    ryanvolz
gnuradio-osmosdr          0.2.3           py310hd1b8586_25    conda-forge
gnuradio-paint            0.0.0.20220919.dev+g3ba0f0f py310hbe5e3de_0    ryanvolz
gnuradio-qtgui            3.10.4.0        py310hf96cbf1_2    conda-forge
gnuradio-satellites       5.0.0           py310h0159cc5_1    conda-forge
gnuradio-soapy            3.10.4.0        py310he3b2a14_2    conda-forge
gnuradio-uhd              3.10.4.0        py310ha82c60f_2    conda-forge
gnuradio-video-sdl        3.10.4.0        py310h4a85852_2    conda-forge
gnuradio-zeromq           3.10.4.0        py310h6fac1be_2    conda-forge
gqrx                      2.15.9               h20b1ca9_4    conda-forge
graphite2                 1.3.13                     1000    conda-forge
gsl                       2.7                  hdfb1a43_0    conda-forge
gst-plugins-base          1.20.3               h001b923_2    conda-forge
gstreamer                 1.20.3               h6b5321d_2    conda-forge
gtk3                      3.24.34              h90033bc_1    conda-forge
h5py                      3.7.0           nompi_py310h425bae0_101    conda-forge
hackrf                    2021.03.1            hbb36527_0    conda-forge
harfbuzz                  5.2.0                h27de254_0    conda-forge
hdf5                      1.12.2          nompi_h2a0e4a3_100    conda-forge
hicolor-icon-theme        0.17                 h57928b3_2    conda-forge
icu                       70.1                 h0e60522_0    conda-forge
idna                      3.4                pyhd8ed1ab_0    conda-forge
importlib-metadata        4.11.4          py310h5588dad_0    conda-forge
importlib_resources       5.9.0              pyhd8ed1ab_0    conda-forge
intel-openmp              2022.1.0          h57928b3_3787    conda-forge
ipython                   8.5.0              pyh08f2357_1    conda-forge
jedi                      0.18.1             pyhd8ed1ab_2    conda-forge
jpeg                      9e                   h8ffe710_2    conda-forge
jsonschema                4.16.0             pyhd8ed1ab_0    conda-forge
kiwisolver                1.4.4           py310h476a331_0    conda-forge
krb5                      1.19.3               h1176d77_0    conda-forge
lcms2                     2.12                 h2a16943_0    conda-forge
lerc                      4.0.0                h63175ca_0    conda-forge
libad9361-iio             0.2                  hd08dcc8_3    conda-forge
libairspy                 1.0.10               h8ffe710_0    conda-forge
libairspyhf               1.6.8                h8ffe710_0    conda-forge
libarchive                3.5.2                hb45042f_3    conda-forge
libbladerf-python         2021.10                    py_0    conda-forge
libbladerf2               2021.10              h8ffe710_0    conda-forge
libblas                   3.9.0              16_win64_mkl    conda-forge
libbrotlicommon           1.0.9                h8ffe710_7    conda-forge
libbrotlidec              1.0.9                h8ffe710_7    conda-forge
libbrotlienc              1.0.9                h8ffe710_7    conda-forge
libcblas                  3.9.0              16_win64_mkl    conda-forge
libclang                  14.0.6          default_h77d9078_0    conda-forge
libclang13                14.0.6          default_h77d9078_0    conda-forge
libcodec2                 1.0.3                hcd874cb_0    conda-forge
libcurl                   7.83.1               h789b8ee_0    conda-forge
libdeflate                1.14                 hcfcfb64_0    conda-forge
libffi                    3.4.2                h8ffe710_5    conda-forge
libflac                   1.3.4                h0e60522_0    conda-forge
libgirepository           1.72.0               h234efe0_1    conda-forge
libglib                   2.72.1               h3be07f2_0    conda-forge
libhackrf0                2021.03.1            h8ffe710_0    conda-forge
libhwloc                  2.8.0                h039e092_1    conda-forge
libiconv                  1.16                 he774522_0    conda-forge
libiio                    0.24                 h57928b3_0    conda-forge
libiio-c                  0.24                 h7bb1080_0    conda-forge
liblapack                 3.9.0              16_win64_mkl    conda-forge
liblimesuite              22.09.0              h63175ca_0    conda-forge
libm2k                    0.7.0           py310h6b2dc8b_0    conda-forge
libmamba                  0.25.0               h81a967f_2    conda-forge
libmambapy                0.25.0          py310hd80b381_2    conda-forge
libogg                    1.3.4                h8ffe710_1    conda-forge
libopus                   1.3.1                h8ffe710_1    conda-forge
libpng                    1.6.38               h19919ed_0    conda-forge
librsvg                   2.54.4               h51e1523_0    conda-forge
libsndfile                1.0.31               h0e60522_1    conda-forge
libsodium                 1.0.18               h8d14728_1    conda-forge
libsolv                   0.7.22               h7755175_0    conda-forge
libsqlite                 3.39.3               hcfcfb64_0    conda-forge
libssh2                   1.10.0               h680486a_3    conda-forge
libtiff                   4.4.0                h8e97e67_4    conda-forge
libusb                    1.0.26             h8ffe710_100    conda-forge
libvorbis                 1.3.7                h0e60522_0    conda-forge
libwebp-base              1.2.4                h8ffe710_0    conda-forge
libxcb                    1.13              hcd874cb_1004    conda-forge
libxml2                   2.9.14               hf5bbc77_4    conda-forge
libxslt                   1.1.35               h34f844d_0    conda-forge
libzlib                   1.2.12               hcfcfb64_3    conda-forge
limesuite                 22.09.0              hdee86e2_0    conda-forge
lxml                      4.9.1           py310he2412df_0    conda-forge
lz4-c                     1.9.3                h8ffe710_1    conda-forge
lzo                       2.10              he774522_1000    conda-forge
m2w64-gcc-libgfortran     5.3.0                         6    conda-forge
m2w64-gcc-libs            5.3.0                         7    conda-forge
m2w64-gcc-libs-core       5.3.0                         7    conda-forge
m2w64-gmp                 6.1.0                         2    conda-forge
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    conda-forge
mako                      1.2.2              pyhd8ed1ab_0    conda-forge
mamba                     0.25.0          py310h9376f3e_2    conda-forge
markupsafe                2.1.1           py310he2412df_1    conda-forge
matplotlib                3.6.0           py310h5588dad_0    conda-forge
matplotlib-base           3.6.0           py310h51140c5_0    conda-forge
matplotlib-inline         0.1.6              pyhd8ed1ab_0    conda-forge
menuinst                  1.4.19          py310h5588dad_0    conda-forge
mkl                       2022.1.0           h6a75c08_874    conda-forge
mpir                      3.0.0             he025d50_1002    conda-forge
msys2-conda-epoch         20160418                      1    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
numpy                     1.23.3          py310h4a8f9c9_0    conda-forge
openjpeg                  2.5.0                hc9384bd_1    conda-forge
openssl                   1.1.1q               h8ffe710_0    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pandas                    1.5.0           py310h1c4a608_0    conda-forge
pango                     1.50.10              hc1549de_0    conda-forge
paramiko                  2.11.0             pyhd8ed1ab_0    conda-forge
parso                     0.8.3              pyhd8ed1ab_0    conda-forge
pcre                      8.45                 h0e60522_0    conda-forge
pcre2                     10.37                hdfff0fc_1    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pillow                    9.2.0           py310h52929f7_2    conda-forge
pip                       22.2.2             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h8ffe710_0    conda-forge
pkgutil-resolve-name      1.3.10             pyhd8ed1ab_0    conda-forge
ply                       3.11                       py_1    conda-forge
portaudio                 19.6.0               h0e60522_6    conda-forge
prompt-toolkit            3.0.31             pyha770c72_0    conda-forge
pthread-stubs             0.4               hcd874cb_1001    conda-forge
pthreads-win32            2.9.1                hfa6e2cd_3    conda-forge
pure_eval                 0.2.2              pyhd8ed1ab_0    conda-forge
pyadi-iio                 0.0.13             pyhd8ed1ab_0    conda-forge
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pycairo                   1.21.0          py310h3255e4b_1    conda-forge
pycosat                   0.6.3           py310he2412df_1010    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pygments                  2.13.0             pyhd8ed1ab_0    conda-forge
pygobject                 3.42.2          py310hbc2de80_0    conda-forge
pylibiio                  0.24                       py_0    conda-forge
pynacl                    1.5.0           py310h4f637d6_1    conda-forge
pyopenssl                 22.0.0             pyhd8ed1ab_1    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pyqt                      5.15.7          py310hbabf5d4_0    conda-forge
pyqt5-sip                 12.11.0         py310h8a704f9_0    conda-forge
pyqtgraph                 0.12.4             pyhd8ed1ab_0    conda-forge
pyrsistent                0.18.1          py310he2412df_1    conda-forge
pysocks                   1.7.1              pyh0701188_6    conda-forge
python                    3.10.6          h9a09f29_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python_abi                3.10                    2_cp310    conda-forge
pytz                      2022.2.1           pyhd8ed1ab_0    conda-forge
pyyaml                    6.0             py310he2412df_4    conda-forge
pyzmq                     24.0.1          py310hcd737a0_0    conda-forge
qt-main                   5.15.6               hf0cf448_0    conda-forge
qwt                       6.2.0                h2db317d_4    conda-forge
radioconda_console_shortcut 1.0                           0    ryanvolz
reproc                    14.2.3               h8ffe710_0    conda-forge
reproc-cpp                14.2.3               h0e60522_0    conda-forge
requests                  2.28.1             pyhd8ed1ab_1    conda-forge
rtl-sdr                   0.6.0.post20220126      h8ffe710_0    conda-forge
ruamel.yaml               0.17.21         py310he2412df_1    conda-forge
ruamel.yaml.clib          0.2.6           py310he2412df_1    conda-forge
ruamel_yaml               0.15.80         py310he2412df_1007    conda-forge
scipy                     1.9.1           py310h578b7cb_0    conda-forge
sdl                       1.2.56               h63175ca_0    conda-forge
sdl2                      2.0.22               h0e60522_2    conda-forge
setuptools                65.3.0             pyhd8ed1ab_1    conda-forge
sip                       6.6.2           py310h8a704f9_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
soapysdr                  0.8.1           py310h476a331_2    conda-forge
soapysdr-module-airspy    0.2.0                h23704b7_0    conda-forge
soapysdr-module-airspyhf  0.2.0                h23704b7_0    conda-forge
soapysdr-module-bladerf   0.4.1                h23704b7_0    conda-forge
soapysdr-module-hackrf    0.3.4                h23704b7_0    conda-forge
soapysdr-module-lms7      22.09.0              h83e77cb_0    conda-forge
soapysdr-module-plutosdr  0.2.1                h3cbcf99_3    conda-forge
soapysdr-module-remote    0.5.2                h23704b7_2    conda-forge
soapysdr-module-rtlsdr    0.3.0                h23704b7_1    conda-forge
soapysdr-module-uhd       0.4.1                hf73a73f_6    conda-forge
spdlog                    1.10.0               h2d74725_0    conda-forge
stack_data                0.5.0              pyhd8ed1ab_0    conda-forge
tbb                       2021.5.0             h91493d7_3    conda-forge
tk                        8.6.12               h8ffe710_0    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
toolz                     0.12.0             pyhd8ed1ab_0    conda-forge
tornado                   6.2             py310he2412df_0    conda-forge
tqdm                      4.64.1             pyhd8ed1ab_0    conda-forge
traitlets                 5.4.0              pyhd8ed1ab_0    conda-forge
typing_extensions         4.3.0              pyha770c72_0    conda-forge
tzdata                    2022c                h191b570_0    conda-forge
ucrt                      10.0.20348.0         h57928b3_0    conda-forge
uhd                       4.3.0.0         py310h5b121ee_0    conda-forge
unicodedata2              14.0.0          py310he2412df_1    conda-forge
urllib3                   1.26.11            pyhd8ed1ab_0    conda-forge
vc                        14.2                 hb210afc_7    conda-forge
volk                      2.5.2                h63175ca_0    conda-forge
vs2015_runtime            14.29.30139          h890b9b1_7    conda-forge
watchdog                  2.1.9           py310h5588dad_0    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
win_inet_pton             1.1.0           py310h5588dad_4    conda-forge
wxwidgets                 3.2.1                hd1f7ea3_0    conda-forge
xorg-libxau               1.0.9                hcd874cb_0    conda-forge
xorg-libxdmcp             1.1.3                hcd874cb_0    conda-forge
xz                        5.2.6                h8d14728_0    conda-forge
yaml                      0.2.5                h8ffe710_2    conda-forge
yaml-cpp                  0.7.0                h0e60522_1    conda-forge
zeromq                    4.3.4                h0e60522_1    conda-forge
zipp                      3.8.1              pyhd8ed1ab_0    conda-forge
zlib                      1.2.12               hcfcfb64_3    conda-forge
zstd                      1.5.2                h7755175_4    conda-forge

I below is the list after the upgrade,

(base) C:\Users\deon>conda list
# packages in environment at C:\Programs\Radio\GNURadio\radioconda:
#
# Name                    Version                   Build  Channel
adwaita-icon-theme        41.0                 h57928b3_1    conda-forge
airspy                    1.0.10               h8ffe710_0    conda-forge
airspyhf                  1.6.8                h8ffe710_0    conda-forge
appdirs                   1.4.4              pyhd3eb1b0_0
asttokens                 2.0.5              pyhd3eb1b0_0
atk-1.0                   2.38.0               hdff456e_0    conda-forge
attrs                     21.4.0             pyhd3eb1b0_0
backcall                  0.2.0              pyhd3eb1b0_0
bcrypt                    3.2.0           py310h2bbff1b_1
bladerf                   2021.10              h8ffe710_0    conda-forge
blas                      1.0                         mkl
boost-cpp                 1.78.0               h9f4b32c_1    conda-forge
bottleneck                1.3.5           py310h9128911_0
brotli                    1.0.9                h2bbff1b_7
brotli-bin                1.0.9                h2bbff1b_7
brotlipy                  0.7.0           py310h2bbff1b_1002
bzip2                     1.0.8                he774522_0
ca-certificates           2022.10.11           haa95532_0
cached-property           1.5.2                      py_0
cairo                     1.16.0               he04af86_2
certifi                   2022.9.24       py310haa95532_0
cffi                      1.15.1          py310h2bbff1b_0
charset-normalizer        2.0.4              pyhd3eb1b0_0
click                     8.0.4           py310haa95532_0
click-plugins             1.1.1              pyhd3eb1b0_0
codec2                    1.0.3                hcd874cb_0    conda-forge
colorama                  0.4.5           py310haa95532_0
conda                     22.9.0          py310haa95532_0
conda-package-handling    1.9.0           py310h8cc25b3_1
construct                 2.10.68            pyhd8ed1ab_0    conda-forge
cryptography              38.0.1          py310h21b164f_0
cycler                    0.11.0             pyhd3eb1b0_0
decorator                 5.1.1              pyhd3eb1b0_0
digital_rf                2.6.7           py310h1cf5ec1_4    conda-forge
epoxy                     1.5.10               h8d14728_1    conda-forge
executing                 0.8.3              pyhd3eb1b0_0
expat                     2.4.9                h6c2663c_0
fftw                      3.3.10          nompi_h38027f0_105    conda-forge
fmt                       9.1.0                h181d51b_0    conda-forge
fonttools                 4.25.0             pyhd3eb1b0_0
freetype                  2.12.1               ha860e81_0
fribidi                   1.0.10               h62dcd97_0
fs                        2.4.15             pyhd8ed1ab_0    conda-forge
gdk-pixbuf                2.42.8               h9552727_0
gettext                   0.19.8.1          ha2e2712_1008    conda-forge
glew                      2.1.0                hd77b12b_3
glib                      2.72.1               h7755175_0    conda-forge
glib-tools                2.72.1               h7755175_0    conda-forge
gnuradio                  3.10.4.0        py310h6c50af4_5    conda-forge
gnuradio-core             3.10.4.0        py310hf7df68c_5    conda-forge
gnuradio-grc              3.10.4.0        py310h4a85852_5    conda-forge
gnuradio-iio              3.10.4.0        py310hfd4675a_5    conda-forge
gnuradio-inspector        0.0.0.20220919.dev+g719bdfb py310hd541363_0    ryanvolz
gnuradio-iridium          1!1.0.0         py310hd2c9a96_1    conda-forge
gnuradio-leo              1.0.0.post68+0fb18e1 py310h5efcb39_0    ryanvolz
gnuradio-osmosdr          0.2.3           py310hd1b8586_27    conda-forge
gnuradio-paint            0.0.0.20220919.dev+g3ba0f0f py310hbe5e3de_0    ryanvolz
gnuradio-qtgui            3.10.4.0        py310hf96cbf1_5    conda-forge
gnuradio-satellites       5.1.0           py310h0159cc5_1    conda-forge
gnuradio-soapy            3.10.4.0        py310he3b2a14_5    conda-forge
gnuradio-uhd              3.10.4.0        py310ha82c60f_5    conda-forge
gnuradio-video-sdl        3.10.4.0        py310h4a85852_5    conda-forge
gnuradio-zeromq           3.10.4.0        py310h6fac1be_5    conda-forge
gqrx                      2.15.9               h20b1ca9_5    conda-forge
graphite2                 1.3.14               hd77b12b_1
gsl                       2.7.1                h6051b90_1
gst-plugins-base          1.20.3               h001b923_2    conda-forge
gstreamer                 1.20.3               h6b5321d_2    conda-forge
gtk3                      3.24.34              h70717e1_0    conda-forge
h5py                      3.7.0           nompi_py310hae7a582_102    conda-forge
hackrf                    2022.09.1            h9647d90_1    conda-forge
harfbuzz                  4.4.1                h27de254_0    conda-forge
hdf5                      1.12.2          nompi_h2a0e4a3_100    conda-forge
hicolor-icon-theme        0.17                 haa95532_2
icc_rt                    2022.1.0             h6049295_2
icu                       70.1                 h0e60522_0    conda-forge
idna                      3.4             py310haa95532_0
intel-openmp              2021.4.0          haa95532_3556
ipython                   8.6.0           py310haa95532_0
jedi                      0.18.1          py310haa95532_1
jpeg                      9e                   h2bbff1b_0
jsonschema                4.16.0          py310haa95532_0
kiwisolver                1.4.2           py310hd77b12b_0
krb5                      1.19.3               h1176d77_0    conda-forge
lame                      3.100             hcfcfb64_1003    conda-forge
lerc                      3.0                  hd77b12b_0
libad9361-iio             0.2                  hd08dcc8_3    conda-forge
libairspy                 1.0.10               h8ffe710_0    conda-forge
libairspyhf               1.6.8                h8ffe710_0    conda-forge
libarchive                3.5.2                h214662b_0
libbladerf-python         2021.10                    py_0    conda-forge
libbladerf2               2021.10              h8ffe710_0    conda-forge
libbrotlicommon           1.0.9                h2bbff1b_7
libbrotlidec              1.0.9                h2bbff1b_7
libbrotlienc              1.0.9                h2bbff1b_7
libclang                  14.0.6          default_hf4acfee_0
libclang13                14.0.6          default_h8992b79_0
libcodec2                 1.0.3                hcd874cb_0    conda-forge
libcurl                   7.86.0               heaf79c2_1    conda-forge
libdeflate                1.8                  h2bbff1b_5
libffi                    3.4.2                hd77b12b_4
libflac                   1.4.2                h63175ca_0    conda-forge
libgirepository           1.72.0               h234efe0_1    conda-forge
libglib                   2.72.1               h3be07f2_0    conda-forge
libhackrf0                2022.09.1            hcfcfb64_1    conda-forge
libiconv                  1.16                 h2bbff1b_2
libiio                    0.24                 h57928b3_0    conda-forge
libiio-c                  0.24                 h7bb1080_0    conda-forge
liblimesuite              22.09.0              h63175ca_0    conda-forge
libm2k                    0.7.0           py310h6b2dc8b_1    conda-forge
libmamba                  1.0.0                hb1e518d_2    conda-forge
libmambapy                1.0.0           py310h10c372a_2    conda-forge
libogg                    1.3.5                h2bbff1b_1
libopus                   1.3.1                h8ffe710_1    conda-forge
libpng                    1.6.37               h2a8f88b_0
librsvg                   2.54.4               h51e1523_0    conda-forge
libsndfile                1.1.0                h63175ca_0    conda-forge
libsodium                 1.0.18               h62dcd97_0
libsolv                   0.7.22               h23ce68f_0
libsqlite                 3.39.4               hcfcfb64_0    conda-forge
libssh2                   1.10.0               hcd4344a_0
libtiff                   4.4.0                h8a3f274_1
libusb                    1.0.26             h8ffe710_100    conda-forge
libvorbis                 1.3.7                he774522_0
libwebp                   1.2.4                h2bbff1b_0
libwebp-base              1.2.4                h2bbff1b_0
libxml2                   2.9.14               h0ad7f3c_0
libxslt                   1.1.35               h2bbff1b_0
libzlib                   1.2.13               hcfcfb64_4    conda-forge
limesuite                 22.09.0              hdee86e2_0    conda-forge
lxml                      4.9.1           py310h1985fb9_0
lz4-c                     1.9.3                h2bbff1b_1
m2w64-gcc-libgfortran     5.3.0                         6
m2w64-gcc-libs            5.3.0                         7
m2w64-gcc-libs-core       5.3.0                         7
m2w64-gmp                 6.1.0                         2
m2w64-libwinpthread-git   5.0.0.4634.697f757               2
mako                      1.2.3           py310haa95532_0
mamba                     1.0.0           py310h9376f3e_2    conda-forge
markupsafe                2.1.1           py310h2bbff1b_0
matplotlib                3.5.3           py310haa95532_0
matplotlib-base           3.5.3           py310hd77b12b_0
matplotlib-inline         0.1.6           py310haa95532_0
menuinst                  1.4.19          py310h59b6b97_0
mkl                       2021.4.0           haa95532_640
mkl-service               2.4.0           py310h2bbff1b_0
mkl_fft                   1.3.1           py310ha0764ea_0
mkl_random                1.2.2           py310h4ed8f06_0
mpg123                    1.30.2               h63175ca_1    conda-forge
mpir                      3.0.0                hec2e145_1
msys2-conda-epoch         20160418                      1
munkres                   1.1.4                      py_0
numexpr                   2.8.3           py310hb57aa6b_0
numpy                     1.23.3          py310h60c9a35_0
numpy-base                1.23.3          py310h04254f7_0
openssl                   1.1.1s               h2bbff1b_0
packaging                 21.3               pyhd3eb1b0_0
pandas                    1.4.4           py310hd77b12b_0
pango                     1.50.7               h78c2152_0
paramiko                  2.8.1              pyhd3eb1b0_0
parso                     0.8.3              pyhd3eb1b0_0
pcre                      8.45                 hd77b12b_0
pcre2                     10.37                h0ff8eda_1
pickleshare               0.7.5           pyhd3eb1b0_1003
pillow                    9.2.0           py310hdc2b20a_1
pip                       22.2.2          py310haa95532_0
pixman                    0.40.0               h2bbff1b_1
ply                       3.11            py310haa95532_0
portaudio                 19.6.0               he774522_4
prompt-toolkit            3.0.20             pyhd3eb1b0_0
pthreads-win32            2.9.1                hfa6e2cd_3    conda-forge
pure_eval                 0.2.2              pyhd3eb1b0_0
pyadi-iio                 0.0.13             pyhd8ed1ab_0    conda-forge
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pycairo                   1.21.0          py310h501fba9_0
pycosat                   0.6.4           py310h2bbff1b_0
pycparser                 2.21               pyhd3eb1b0_0
pygments                  2.11.2             pyhd3eb1b0_0
pygobject                 3.42.2          py310hbc2de80_0    conda-forge
pylibiio                  0.24                       py_0    conda-forge
pynacl                    1.5.0           py310h8cc25b3_0
pyopenssl                 22.0.0             pyhd3eb1b0_0
pyparsing                 3.0.9           py310haa95532_0
pyqt                      5.15.7          py310hd77b12b_0
pyqt5-sip                 12.11.0         py310hd77b12b_0
pyqtgraph                 0.12.3          py310haa95532_0
pyrsistent                0.18.0          py310h2bbff1b_0
pysocks                   1.7.1           py310haa95532_0
python                    3.10.6               hbb2ffb3_1
python-dateutil           2.8.2              pyhd3eb1b0_0
python_abi                3.10                    2_cp310    conda-forge
pytz                      2022.1          py310haa95532_0
pyyaml                    6.0             py310h2bbff1b_0
pyzmq                     23.2.0          py310hd77b12b_0
qt-main                   5.15.6               hf0cf448_0    conda-forge
qt-webengine              5.15.9               hb9a9bb5_4
qtwebkit                  5.212                h0db62b3_6    conda-forge
qwt                       6.2.0                h2db317d_4    conda-forge
radioconda_console_shortcut 1.0                           0    ryanvolz
reproc                    14.2.4               hd77b12b_1
reproc-cpp                14.2.4               hd77b12b_1
requests                  2.28.1          py310haa95532_0
rtl-sdr                   0.6.0.post20220126      h8ffe710_0    conda-forge
ruamel.yaml               0.17.21         py310h2bbff1b_0
ruamel.yaml.clib          0.2.6           py310h2bbff1b_1
ruamel_yaml               0.15.100        py310h2bbff1b_0
scipy                     1.9.3           py310h86744a3_0
sdl                       1.2.60               h63175ca_0    conda-forge
sdl2                      2.0.22               h0e60522_2    conda-forge
setuptools                65.5.0          py310haa95532_0
sip                       6.6.2           py310hd77b12b_0
six                       1.16.0             pyhd3eb1b0_1
soapysdr                  0.8.1           py310h232114e_3    conda-forge
soapysdr-module-airspy    0.2.0                h23704b7_0    conda-forge
soapysdr-module-airspyhf  0.2.0                h23704b7_0    conda-forge
soapysdr-module-bladerf   0.4.1                h23704b7_0    conda-forge
soapysdr-module-hackrf    0.3.4                h23704b7_0    conda-forge
soapysdr-module-lms7      22.09.0              h83e77cb_0    conda-forge
soapysdr-module-plutosdr  0.2.1                h3cbcf99_3    conda-forge
soapysdr-module-remote    0.5.2                h23704b7_2    conda-forge
soapysdr-module-rtlsdr    0.3.0                h23704b7_1    conda-forge
soapysdr-module-uhd       0.4.1                hf73a73f_6    conda-forge
spdlog                    1.10.0               h2d74725_0    conda-forge
sqlite                    3.39.3               h2bbff1b_0
stack_data                0.2.0              pyhd3eb1b0_0
tk                        8.6.12               h2bbff1b_0
toml                      0.10.2             pyhd3eb1b0_0
toolz                     0.12.0          py310haa95532_0
tornado                   6.2             py310h2bbff1b_0
tqdm                      4.64.1          py310haa95532_0
traitlets                 5.1.1              pyhd3eb1b0_0
tzdata                    2022f                h04d1e81_0
ucrt                      10.0.20348.0         haa95532_0
uhd                       4.3.0.0         py310h947664d_1    conda-forge
urllib3                   1.26.12         py310haa95532_0
vc                        14.2                 h21ff451_1
volk                      2.5.2                h63175ca_1    conda-forge
vs2015_runtime            14.32.31332          h1d6e394_9    conda-forge
watchdog                  2.1.6           py310haa95532_0
wcwidth                   0.2.5              pyhd3eb1b0_0
wheel                     0.37.1             pyhd3eb1b0_0
win_inet_pton             1.1.0           py310haa95532_0
wincertstore              0.2             py310haa95532_2
wxwidgets                 3.2.1                hd1f7ea3_0    conda-forge
xz                        5.2.6                h8cc25b3_0
yaml                      0.2.5                he774522_0
yaml-cpp                  0.7.0                hd77b12b_1
zeromq                    4.3.4                hd77b12b_0
zlib                      1.2.13               hcfcfb64_4    conda-forge
zstd                      1.5.2                h19a0ad4_0

I'd love to include it if it can be made possible. See #29.

Thanks, I will take a look.
I don't know if it could apply here but cemaxecuter in DragonOS provides preconfigured Soapy drivers and then once the OS is installed you need to run a script to install the SDRplay API were you need to agree to their license conditions. Could it possibly be done in a silimar fashion ?

This is the general procedure to follow for building an OOT with conda + Windows

Thanks, I will have a go at that when I get some time to do so.

@DeonMarais64
Copy link
Author

DeonMarais64 commented Nov 10, 2022

I subsequently did another re-installation and then upgraded,

I did mamba upgrade --all as apposed to conda upgrade --all.

I was under the impression that they effectively do the same thing ?

This time the upgrade went without any warnings or errors and gqrx now runs, however running grc gives the following error,

image

Attempts at listing as you requested above,

(base) C:\Users\deon>conda list
Traceback (most recent call last):
  File "C:\Programs\Radio\GNURadio\radioconda\Scripts\conda-script.py", line 12, in <module>
    sys.exit(main())
  File "C:\Programs\Radio\GNURadio\radioconda\lib\site-packages\conda\cli\main.py", line 118, in main
    from ..exceptions import conda_exception_handler
  File "C:\Programs\Radio\GNURadio\radioconda\lib\site-packages\conda\exceptions.py", line 24, in <module>
    from .models.channel import Channel
  File "C:\Programs\Radio\GNURadio\radioconda\lib\site-packages\conda\models\channel.py", line 17, in <module>
    from ..base.context import context, Context
  File "C:\Programs\Radio\GNURadio\radioconda\lib\site-packages\conda\base\context.py", line 58, in <module>
    from ..common._os.linux import linux_get_libc_version
  File "C:\Programs\Radio\GNURadio\radioconda\lib\site-packages\conda\common\_os\__init__.py", line 12, in <module>
    from .windows import get_free_space_on_windows as get_free_space
  File "C:\Programs\Radio\GNURadio\radioconda\lib\site-packages\conda\common\_os\windows.py", line 14, in <module>
    from ctypes import (POINTER, Structure, WinError, byref, c_ulong, c_char_p, c_int, c_ulonglong,
  File "C:\Programs\Radio\GNURadio\radioconda\lib\ctypes\__init__.py", line 8, in <module>
    from _ctypes import Union, Structure, Array
ImportError: DLL load failed while importing _ctypes: The specified module could not be found.

(base) C:\Users\deon>mamba list
Traceback (most recent call last):
  File "C:\Programs\Radio\GNURadio\radioconda\Scripts\mamba-script.py", line 6, in <module>
    from mamba.mamba import main
  File "C:\Programs\Radio\GNURadio\radioconda\lib\site-packages\mamba\mamba.py", line 15, in <module>
    from conda.base.context import context
  File "C:\Programs\Radio\GNURadio\radioconda\lib\site-packages\conda\base\context.py", line 58, in <module>
    from ..common._os.linux import linux_get_libc_version
  File "C:\Programs\Radio\GNURadio\radioconda\lib\site-packages\conda\common\_os\__init__.py", line 12, in <module>
    from .windows import get_free_space_on_windows as get_free_space
  File "C:\Programs\Radio\GNURadio\radioconda\lib\site-packages\conda\common\_os\windows.py", line 14, in <module>
    from ctypes import (POINTER, Structure, WinError, byref, c_ulong, c_char_p, c_int, c_ulonglong,
  File "C:\Programs\Radio\GNURadio\radioconda\lib\ctypes\__init__.py", line 8, in <module>
    from _ctypes import Union, Structure, Array
ImportError: DLL load failed while importing _ctypes: The specified module could not be found.

Thanks in advance

@ryanvolz
Copy link
Owner

Curious that when I do mamba upgrade --all from my default install of 2022.09.22, it doesn't give me the same package upgrades.

I did mamba upgrade --all as apposed to conda upgrade --all.

I was under the impression that they effectively do the same thing ?

Maybe it's because conda and mamba don't actually give the same solution, although in principle they should.

Anyway, one thing I see from your upgraded package list is that many of the packages are now from the default (Anaconda, no channel name listed) channel instead of the conda-forge channel. I don't know how that happened, because the default channel should be disabled by, well, default. But the upshot is that there could definitely be binary incompatibility there of the type that you are seeing. Given that lots of things are throwing errors that are different, that's my guess. You also don't have the atk 2.38.0 *_0 with glib 2.74.1 combination where I previously saw the particular intl.dll error before, so I guess that's not it.

I would try setting

conda config --add channels conda-forge
conda config --set channel_priority strict

before another mamba upgrade --all to see if you can get a consistent conda-forge-only environment. I've just tweaked the configuration so that the next installer will set strict priority by default to try to avoid this problem.

Barring that, is there a reason you want to upgrade from the 2022.09.22 release? Might be easiest to stick with that, where at least I'm reasonably sure that set of packages works well together.

I don't know if it could apply here but cemaxecuter in DragonOS provides preconfigured Soapy drivers and then once the OS is installed you need to run a script to install the SDRplay API were you need to agree to their license conditions. Could it possibly be done in a silimar fashion ?

I'll have to think about that. I'm pretty sure I've heard of a conda package or two that does something similar, so maybe I'll try to dig that information up.

@DeonMarais64
Copy link
Author

DeonMarais64 commented Nov 11, 2022

I would try setting

conda config --add channels conda-forge
conda config --set channel_priority strict

before another mamba upgrade --all

I did that after reinstalling and that seems to have solved the problem. So far everything works.

Barring that, is there a reason you want to upgrade from the 2022.09.22 release? Might be easiest to stick with that, where at least I'm reasonably sure that set of packages works well together.

No reason in particular, other than having the impression that it is generally good practice to do so. I have hitherto applied updates immediately after installation (which AFAIK is general and widespread advice and practice after most software packages are installed) and then every month or so beyond that. I will henceforth be more circumspect about doing so.

Thanks again for your responses.

PS, I am unsure if I should close this issue. For that reason I will for the time being leave it open. Please indicate if you prefer that I do.

@ryanvolz
Copy link
Owner

No reason in particular, other than having the impression that it is generally good practice to do so. I have hitherto applied updates immediately after installation (which AFAIK is general and widespread advice and practice after most software packages are installed) and then every moth or so beyond that. I will henceforth be more circumspect about doing so.

It's generally not a terrible idea, but evidently it has some risks! It's been illuminating for me because I didn't think that much binary incompatibility was lurking out there with the defaults channel, and that's resulted in me making a change that should help all users generally in the future. Thanks!

I think I'll close this since the problem has been figured out, but feel free to open new issues if you want to separately document the requests for gr-fosphor and SDRPlay. Those aren't likely to ever drop off my radar, but extra reminders couldn't hurt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants