Running the service shows some warning/error.
See original GitHub issueRunning the service shows some warning/error.
Information
Hi,
I am very glad to see and try this example!
Before about the the detail, my system has/runs:
- Ubuntu 18.04.3
- Docker version 19.03.1, build 74b1e89
- docker-compose version 1.24.0, build 0aa59064
- groups bus710 => bus710 : bus710 adm dialout cdrom sudo dip plugdev lpadmin sambashare docker
- Please let me know if need any additional information.
Detail
I am trying to run the service after a successful building with these output:
$ ./build.sh
...
Step 102/106 : COPY ./models/ /home/video-analytics/models/
---> e04b7172251b
Step 103/106 : COPY ./pipelines /home/video-analytics/pipelines
---> 73e90f7f0b9f
Step 104/106 : COPY docker-entrypoint.sh /home/video-analytics/
---> 804bfad669d7
Step 105/106 : WORKDIR /home/video-analytics
---> Running in c90498a12cc9
Removing intermediate container c90498a12cc9
---> 7169b5e0fa0e
Step 106/106 : ENTRYPOINT ["./docker-entrypoint.sh", "--framework", "ffmpeg" , "--pipeline_dir", "pipelines/ffmpeg"]
---> Running in cd52ce752303
Removing intermediate container cd52ce752303
---> 2e24b01a93ad
Successfully built 2e24b01a93ad
Successfully tagged video_analytics_serving_ffmpeg:latest
The command to run the service gave me the following error::
$ sudo docker run -e http_proxy=$http_proxy -e https_proxy=$https_proxy -p 8080:8080 -v /tmp:/tmp --rm video_analytics_service_gstreamer
Unable to find image 'video_analytics_service_gstreamer:latest' locally
docker: Error response from daemon: pull access denied for video_analytics_service_gstreamer, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
However, the run.sh fave me this log and seems okay to me:
$ ./run.sh
(gst-plugin-scanner:12): GStreamer-WARNING **: 20:25:57.235: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstopengl.so': libEGL.so.1: cannot open
shared object file: No such file or directory
(gst-plugin-scanner:12): GStreamer-WARNING **: 20:25:57.237: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcurl.so': libcurl-gnutls.so.4: canno
t open shared object file: No such file or directory
(gst-plugin-scanner:12): GStreamer-WARNING **: 20:25:57.273: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstpython.cpython-36m-x86_64-linux-gnu.
so': libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
/home/video-analytics/app/server/openapi_server/__main__.py:43: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0')
before import to ensure that the right version gets loaded.
from gi.repository import Gst, GObject
{"levelname": "ERROR", "asctime": "2019-08-07 20:25:57,357", "message": "Error loading FFmpeg: ffmpeg not installed\n", "name": "PipelineManager"}
{"levelname": "INFO", "asctime": "2019-08-07 20:25:57,357", "message": "Loading Pipelines from Config Path /home/video-analytics/app/server/openapi_server/../../commo
n/../../pipelines/gstreamer", "name": "PipelineManager"}
{"levelname": "INFO", "asctime": "2019-08-07 20:25:57,359", "message": "Completed Loading Pipelines", "name": "PipelineManager"}
{"levelname": "INFO", "asctime": "2019-08-07 20:25:57,359", "message": "Loading Models from Config Path /home/video-analytics/models", "name": "ModelManager"}
{"levelname": "INFO", "asctime": "2019-08-07 20:25:57,361", "message": "Completed Loading Models", "name": "ModelManager"}
{"levelname": "INFO", "asctime": "2019-08-07 20:25:57,469", "message": "Starting Tornado Server on port: 8080", "name": "main"}
This ticket is posted to share the circumstance only so that we may not fix the issue if it is not a severe issue.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to Fix the System Service Exception Stop Code in ...
The System Service Exception BSOD error in Windows 10 can have a few causes. Learn how to fix this stop code.
Read more >Too many errors and warning in Event Viewer!!!
My PC is Surface 3 4G 128G (atom) with Windows 10 14393.222. All drivers and firmware are updated, all app from Store too....
Read more >How to Fix a Steam Service Error on Windows 10 - groovyPost
A Steam Service Error prevents the Steam client from running (and stops you from playing your favorite games). This guide will help you...
Read more >How can I compile without warnings being treated as errors?
You can make specific warnings being treated as such by using -Wno-error=<warning name> where <warning name> is the name of the warning you...
Read more >How to Fix the HTTP Error 503 Service Unavailable - Kinsta
Running into errors on your WordPress site can be intimidating. However, most errors give you some clue as to what caused them, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bus710 There are activities underway to express how these components will integrate soon, so stay tuned!
Also, there are several EdgeX member companies who are currently collaborating to build requirements for such integrations across market verticals. For example, the Commerce Project recently shared an Open Retail Initiative expressing their vision and call to action here. If you are interested at that level, I recommend joining the conversation with the EdgeX Vertical Solutions Working Group.
@bus710 Thank you very much for your feedback! I notice the image name provided in our README has a typo.
As you found, the built image name is
video_analytics_serving_gstreamer
and it is correctly referenced in therun.sh
script. We will update the documentation to clarify this and improve the out of box experience.