tchellomello / python-amcrest

A Python 2.7/3.x module for Amcrest and Dahua Cameras using the SDK HTTP API.
GNU General Public License v2.0
214 stars 74 forks source link

Add exceptions.py and media.py to the python3-amcrest rpm build. #167

Closed ryan-blakley closed 3 years ago

ryan-blakley commented 3 years ago

After installing I hit the below two errors when executing amcrest-cli due to missing files.

$ amcrest-cli --help Traceback (most recent call last): File "/usr/bin/amcrest-cli", line 34, in from amcrest import AmcrestCamera File "/usr/lib/python3.8/site-packages/amcrest/init.py", line 13, in from .exceptions import AmcrestError, CommError, LoginError # noqa: F401 ModuleNotFoundError: No module named 'amcrest.exceptions'

$ amcrest-cli --help Traceback (most recent call last): File "/usr/bin/amcrest-cli", line 34, in from amcrest import AmcrestCamera File "/usr/lib/python3.8/site-packages/amcrest/init.py", line 14, in from .http import Http File "/usr/lib/python3.8/site-packages/amcrest/http.py", line 28, in from .media import Media ModuleNotFoundError: No module named 'amcrest.media'

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 31.715% when pulling 76a86950a4cee1b8a49c92b44ac46c641a9d9d56 on ryan-blakley:build-fixes into abdf8e1569423f0d5a5c1b8f9aa0f500a36e5906 on tchellomello:master.

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 31.715% when pulling 76a86950a4cee1b8a49c92b44ac46c641a9d9d56 on ryan-blakley:build-fixes into abdf8e1569423f0d5a5c1b8f9aa0f500a36e5906 on tchellomello:master.