Giter Site home page Giter Site logo

jinjirosan / babycarriagemonitor Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 2.68 MB

Sensors on the baby carriage

License: GNU General Public License v3.0

Python 100.00%
adafruit-gps-breakout baby baby-carriage envirophat initial-state iot-application raspberry-pi sensor stream

babycarriagemonitor's People

Contributors

jinjirosan avatar

Watchers

 avatar  avatar

babycarriagemonitor's Issues

Encoding error through Systemd log

UnicodeEncodeError: 'ascii' codec can't encode character u'\xeb' in position 16: ordinal not in range(128)

probably from GeoPy locations

Fix separate routine/exception handling to ensure that GeoPy does not crash the thing

Multiple times GeoPy errors (e.g. no address/location) resulted in total stop of dataflow. So fix exception handling to only affect the GeoPy data.

Error data

Aug 27 14:17:53 stokkezero python[1119]: location=geolocator.reverse(coordinates,timeout=10) ## reverse geocode coordinates
Aug 27 14:17:53 stokkezero python[1119]: File "/usr/local/lib/python2.7/dist-packages/geopy/geocoders/osm.py", line 248, in reverse
Aug 27 14:17:53 stokkezero python[1119]: self._call_geocoder(url, timeout=timeout), exactly_one
Aug 27 14:17:53 stokkezero python[1119]: File "/usr/local/lib/python2.7/dist-packages/geopy/geocoders/base.py", line 171, in ...eocoder
Aug 27 14:17:53 stokkezero python[1119]: raise GeocoderServiceError(message)
Aug 27 14:17:53 stokkezero python[1119]: geopy.exc.GeocoderServiceError: <urlopen error [Errno 97] Address family not support...otocol>

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.