Giter Site home page Giter Site logo

dpn-python-library's People

Contributors

dependabot-preview[bot] avatar pcolar avatar

Watchers

 avatar  avatar

dpn-python-library's Issues

Dependabot couldn't find a Pipfile for this project

Dependabot couldn't find a Pipfile for this project.

Dependabot requires a Pipfile to evaluate your project's current Python dependencies. It had expected to find one at the path: /python/helpers/Pipfile.

If this isn't a Python project, or if it is a library, you may wish to disable updates for it in the .dependabot/config.yml file in this repo.

You can mention @dependabot in the comments below to contact the Dependabot team.

Code assumes file in SNS subscription exists

There is not sufficient ewrror checking for the presence of a file object:

python dpn_python_shell.py
2017-05-17-14-15-18: Deleting message: 952fd32b-c5c9-59f3-98c4-82be32f42a09
Traceback (most recent call last):
File "dpn_python_shell.py", line 9, in
download_s3_file(json_file)
File "/home/dave/dpn-python-library/dpn_python_library.py", line 83, in download_s3_file
s3.Object(s3_bucket, json_file).download_file(json_file)
File "/usr/local/lib/python2.7/dist-packages/boto3/s3/inject.py", line 202, in object_download_file
ExtraArgs=ExtraArgs, Callback=Callback, Config=Config)
File "/usr/local/lib/python2.7/dist-packages/boto3/s3/inject.py", line 126, in download_file
extra_args=ExtraArgs, callback=Callback)
File "/usr/local/lib/python2.7/dist-packages/boto3/s3/transfer.py", line 299, in download_file
future.result()
File "/usr/local/lib/python2.7/dist-packages/s3transfer/futures.py", line 73, in result
return self._coordinator.result()
File "/usr/local/lib/python2.7/dist-packages/s3transfer/futures.py", line 233, in result
raise self._exception
botocore.exceptions.ClientError: An error occurred (404) when calling the HeadObject operation: Not Found

Digest record logging

Rework the digest record creation code, create_digest.py, to format messages in JSON.

Dependabot couldn't find a requirements.txt for this project

Dependabot couldn't find a requirements.txt for this project.

Dependabot requires a requirements.txt to evaluate your project's current Python dependencies. It had expected to find one at the path: /requirements.txt.

If this isn't a Python project, or if it is a library, you may wish to disable updates for it in the .dependabot/config.yml file in this repo.

You can mention @dependabot in the comments below to contact the Dependabot team.

Your .dependabot/config.yml contained invalid details

Dependabot encountered the following error when parsing your .dependabot/config.yml:

The property '#/update_configs/0' did not contain a required property of 'directory'

Please update the config file to conform with Dependabot's specification.

You can mention @dependabot in the comments below to contact the Dependabot team.

Increase error checking on return

ERROR: S3 object not found dcv-snapshot-report-2017-06-09.json

Test for error when exceptions found.

2017-06-09-08-35-34: File created: dcv-snapshot-report-2017-06-09.csv
Traceback (most recent call last):
File "/home/dave/dpn-python-library/dpn_python_shell.py", line 10, in
create_csv(json_file)
File "/home/dave/dpn-python-library/dpn_python_library.py", line 60, in create_csv
with open(json_file) as input_file:
IOError: [Errno 2] No such file or directory: u'dcv-snapshot-report-2017-06-09.json'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.