This is Drexel's software-defined radio. Please see the DragonRadio documentation for further information.
This project is supported by NSF awards 1717088 and 1730140.
DragonRadio
License: MIT License
This is Drexel's software-defined radio. Please see the DragonRadio documentation for further information.
This project is supported by NSF awards 1717088 and 1730140.
I wanted to install the dragonradio tools in a fresh container and I ran into this error:
How to Reproduce:
In a dragonradio container Run:
Ubuntu version:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
Error message:
ERROR: Command errored out with exit status 1:
command: /root/dragonradio/tools/env/bin/python /root/dragonradio/tools/env/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmp5nztlczq
cwd: /tmp/pip-install-yzsf0lcr/pygobject
Complete output (88 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/pygtkcompat
copying pygtkcompat/__init__.py -> build/lib.linux-x86_64-3.8/pygtkcompat
copying pygtkcompat/generictreemodel.py -> build/lib.linux-x86_64-3.8/pygtkcompat
copying pygtkcompat/pygtkcompat.py -> build/lib.linux-x86_64-3.8/pygtkcompat
creating build/lib.linux-x86_64-3.8/gi
copying gi/__init__.py -> build/lib.linux-x86_64-3.8/gi
copying gi/_constants.py -> build/lib.linux-x86_64-3.8/gi
copying gi/_error.py -> build/lib.linux-x86_64-3.8/gi
copying gi/_gtktemplate.py -> build/lib.linux-x86_64-3.8/gi
copying gi/_option.py -> build/lib.linux-x86_64-3.8/gi
copying gi/_ossighelper.py -> build/lib.linux-x86_64-3.8/gi
copying gi/_propertyhelper.py -> build/lib.linux-x86_64-3.8/gi
copying gi/_signalhelper.py -> build/lib.linux-x86_64-3.8/gi
copying gi/docstring.py -> build/lib.linux-x86_64-3.8/gi
copying gi/importer.py -> build/lib.linux-x86_64-3.8/gi
copying gi/module.py -> build/lib.linux-x86_64-3.8/gi
copying gi/pygtkcompat.py -> build/lib.linux-x86_64-3.8/gi
copying gi/types.py -> build/lib.linux-x86_64-3.8/gi
creating build/lib.linux-x86_64-3.8/gi/repository
copying gi/repository/__init__.py -> build/lib.linux-x86_64-3.8/gi/repository
creating build/lib.linux-x86_64-3.8/gi/overrides
copying gi/overrides/GIMarshallingTests.py -> build/lib.linux-x86_64-3.8/gi/overrides
copying gi/overrides/GLib.py -> build/lib.linux-x86_64-3.8/gi/overrides
copying gi/overrides/GObject.py -> build/lib.linux-x86_64-3.8/gi/overrides
copying gi/overrides/Gdk.py -> build/lib.linux-x86_64-3.8/gi/overrides
copying gi/overrides/GdkPixbuf.py -> build/lib.linux-x86_64-3.8/gi/overrides
copying gi/overrides/Gio.py -> build/lib.linux-x86_64-3.8/gi/overrides
copying gi/overrides/Gtk.py -> build/lib.linux-x86_64-3.8/gi/overrides
copying gi/overrides/Pango.py -> build/lib.linux-x86_64-3.8/gi/overrides
copying gi/overrides/__init__.py -> build/lib.linux-x86_64-3.8/gi/overrides
copying gi/overrides/keysyms.py -> build/lib.linux-x86_64-3.8/gi/overrides
running build_ext
pycairo: new API
Traceback (most recent call last):
File "/root/dragonradio/tools/env/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
main()
File "/root/dragonradio/tools/env/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/root/dragonradio/tools/env/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 204, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/root/dragonradio/tools/env/lib/python3.8/site-packages/setuptools/build_meta.py", line 216, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/root/dragonradio/tools/env/lib/python3.8/site-packages/setuptools/build_meta.py", line 202, in _build_with_temp_dir
self.run_setup()
File "/root/dragonradio/tools/env/lib/python3.8/site-packages/setuptools/build_meta.py", line 253, in run_setup
super(_BuildMetaLegacyBackend,
File "/root/dragonradio/tools/env/lib/python3.8/site-packages/setuptools/build_meta.py", line 145, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 1259, in <module>
main()
File "setup.py", line 1219, in main
setup(
File "/root/dragonradio/tools/env/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/root/dragonradio/tools/env/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 290, in run
self.run_command('build')
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 1088, in run
self._setup_extensions()
File "setup.py", line 1083, in _setup_extensions
add_pycairo(gi_cairo_ext)
File "setup.py", line 1066, in add_pycairo
ext.include_dirs += [get_pycairo_include_dir()]
File "setup.py", line 893, in get_pycairo_include_dir
include_dir = find_path(find_new_api())
File "setup.py", line 848, in find_new_api
import cairo
ModuleNotFoundError: No module named 'cairo'
----------------------------------------
ERROR: Failed building wheel for PyGObject
Building wheel for tornado (setup.py) ... done
Created wheel for tornado: filename=tornado-6.0.4-cp38-cp38-linux_x86_64.whl size=423090 sha256=b1241dd7179da68c805dbb09a859427a6e04160ed08afd9c5017c433c07ac980
Stored in directory: /root/.cache/pip/wheels/88/79/e5/598ba17e85eccf2626eab62e4ee8452895636cd542650d450d
Building wheel for pandocfilters (setup.py) ... done
Created wheel for pandocfilters: filename=pandocfilters-1.4.3-py3-none-any.whl size=7991 sha256=9e190db93ef0b65c9593a2209be9feaba116981662642f89f7de1eeb6d3a4a10
Stored in directory: /root/.cache/pip/wheels/fc/39/52/8d6f3cec1cca4ceb44d658427c35711b19d89dbc4914af657f
Building wheel for pyrsistent (setup.py) ... done
Created wheel for pyrsistent: filename=pyrsistent-0.17.3-cp38-cp38-linux_x86_64.whl size=95798 sha256=fdf005a9575f1608b0591903ab756df4e5bf95fb8b036c6d8c70618bab874237
Stored in directory: /root/.cache/pip/wheels/3d/22/08/7042eb6309c650c7b53615d5df5cc61f1ea9680e7edd3a08d2
Successfully built pycairo cairocffi tornado pandocfilters pyrsistent
Failed to build PyGObject
ERROR: Could not build wheels for PyGObject which use PEP 517 and cannot be installed directly
root@node2:~/dragonradio/tools# version
version: command not found
From @OdayBshara:
I would like to run the dragonradio tool drgui.py. So, I have to install the dragonradio tools. The installation shell script stops before completion and issues an error message.
Steps to reproduce:
On a new lxc container with dragonradio installed run:
cd /root/dragonradio/tools
./install.sh
It will run and give you the message:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
run:
apt-get update
./install.sh
This will result in the below error message:
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /root/dragonradio/tools/env/bin/python /root/dragonradio/tools/env/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-4hh76cni/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel pycairo
cwd: None
Complete output (35 lines):
Collecting setuptools
Using cached setuptools-50.3.2-py3-none-any.whl (785 kB)
Collecting wheel
Downloading wheel-0.35.1-py2.py3-none-any.whl (33 kB)
Collecting pycairo
Downloading pycairo-1.20.0.tar.gz (344 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Building wheels for collected packages: pycairo
Building wheel for pycairo (PEP 517): started
Building wheel for pycairo (PEP 517): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /root/dragonradio/tools/env/bin/python /root/dragonradio/tools/env/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpyksleqkc
cwd: /tmp/pip-install-vz25jb86/pycairo
Complete output (12 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/cairo
copying cairo/__init__.py -> build/lib.linux-x86_64-3.8/cairo
copying cairo/__init__.pyi -> build/lib.linux-x86_64-3.8/cairo
copying cairo/py.typed -> build/lib.linux-x86_64-3.8/cairo
running build_ext
Requested 'cairo >= 1.15.10' but version of cairo is 1.14.6
Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.15.10']' returned non-zero exit status 1.
----------------------------------------
ERROR: Failed building wheel for pycairo
Failed to build pycairo
ERROR: Could not build wheels for pycairo which use PEP 517 and cannot be installed directly
----------------------------------------
ERROR: Command errored out with exit status 1: /root/dragonradio/tools/env/bin/python /root/dragonradio/tools/env/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-4hh76cni/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel pycairo Check the logs for full command output.
The --arq-window
option silently does nothing when it is specified without the --arq
option. The user should see an error message instead.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.