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

Add path to UHD images #6

Closed
chrishaw opened this Issue Mar 20, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@chrishaw
Copy link

commented Mar 20, 2019

How do I add the uhd_images_downloader command to run inside the docker container?

Here's the output:

Starting trunk-recorder-docker_recorder_1 ... done
Attaching to trunk-recorder-docker_recorder_1
recorder_1 | linux; GNU C++ version 5.3.1 20151219; Boost_105800; UHD_003.009.002-0-unknown
recorder_1 |
recorder_1 | [2019-03-20 17:57:26.817417] (info) Using Config file: /app/config/config.json
recorder_1 |
recorder_1 | [2019-03-20 17:57:26.818821] (info)
recorder_1 | -------------------------------------
recorder_1 | SYSTEMS
recorder_1 | -------------------------------------
recorder_1 | 0
recorder_1 | [2019-03-20 17:57:26.818869] (info)
recorder_1 |
recorder_1 | System Number: 1
recorder_1 | -------------------------------------
recorder_1 | 1
recorder_1 | [2019-03-20 17:57:26.818897] (info) Short Name: sys_1
recorder_1 | [2019-03-20 17:57:26.818919] (info) System Type: p25
recorder_1 | [2019-03-20 17:57:26.818939] (info) Control Channels:
recorder_1 | [2019-03-20 17:57:26.818996] (info) 8.55462e+08
recorder_1 | [2019-03-20 17:57:26.819035] (info) API Key:
recorder_1 | [2019-03-20 17:57:26.819057] (info) Upload Script:
recorder_1 | [2019-03-20 17:57:26.819081] (info) Call Log: true
recorder_1 | [2019-03-20 17:57:26.819106] (info) Audio Archive: true
recorder_1 | [2019-03-20 17:57:26.819120] (info) Loading Talkgroups...
recorder_1 | [2019-03-20 17:57:26.820180] (info) Read 135 talkgroups.
recorder_1 | [2019-03-20 17:57:26.820209] (info) Talkgroups File: ChanList.csv
recorder_1 | [2019-03-20 17:57:26.820227] (info) Record Unkown Talkgroups: true
recorder_1 | [2019-03-20 17:57:26.820247] (info) Talkgroup Display Format: Id
recorder_1 | [2019-03-20 17:57:26.820276] (info) Hide Encrypted Talkgroups: false
recorder_1 | [2019-03-20 17:57:26.820297] (info) Hide Unkown Talkgroups: false
recorder_1 | [2019-03-20 17:57:26.820312] (info)
recorder_1 | [2019-03-20 17:57:26.820326] (info)
recorder_1 |
recorder_1 | -------------------------------------
recorder_1 | SOURCES
recorder_1 | -------------------------------------
recorder_1 |
recorder_1 | [2019-03-20 17:57:26.820369] (info) Driver: usrp
recorder_1 | [2019-03-20 17:57:26.820385] (info) Center: 8.570000e+08
recorder_1 | [2019-03-20 17:57:26.820445] (info) Rate: 8000000
recorder_1 | [2019-03-20 17:57:26.820477] (info) Error: 1400
recorder_1 | [2019-03-20 17:57:26.820500] (info) PPM Error: 0
recorder_1 | [2019-03-20 17:57:26.820516] (info) Gain: 16
recorder_1 | [2019-03-20 17:57:26.820536] (info) IF Gain: 0
recorder_1 | [2019-03-20 17:57:26.820552] (info) BB Gain: 0
recorder_1 | [2019-03-20 17:57:26.820568] (info) LNA Gain: 0
recorder_1 | [2019-03-20 17:57:26.820584] (info) MIX Gain: 0
recorder_1 | [2019-03-20 17:57:26.820599] (info) Squelch: 0
recorder_1 | [2019-03-20 17:57:26.820615] (info) Idle Silence: false
recorder_1 | [2019-03-20 17:57:26.820629] (info) Digital Recorders: 4
recorder_1 | [2019-03-20 17:57:26.820646] (info) Debug Recorders: 0
recorder_1 | [2019-03-20 17:57:26.820661] (info) Analog Recorders: 0
recorder_1 |
recorder_1 | UHD Warning:
recorder_1 | EnvironmentError: IOError: Could not find path for image: usrp_b200_fw.hex
recorder_1 | Using images directory:
recorder_1 | Set the environment variable 'UHD_IMAGES_DIR' appropriately or follow the below instructions to download the images package.
recorder_1 | Please run:
recorder_1 | "/usr/lib/uhd/utils/uhd_images_downloader.py"
recorder_1 | [2019-03-20 17:57:27.292796] (error) Failed parsing Config: LookupError: KeyError: No devices found for ----->
recorder_1 | Empty Device Address
recorder_1 | [2019-03-20 17:57:27.292910] (info) [sys_1] Started with Control Channel: 8.554625e+08
recorder_1 | [2019-03-20 17:57:27.293037] (error) Unable to setup a System to record, exiting...
recorder_1 |

@chrishaw

This comment has been minimized.

Copy link
Author

commented Mar 20, 2019

Fixed by adding RUN uhd_images_downloader in the Dockerfile.

@chrishaw chrishaw closed this Mar 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.