Giter Club home page Giter Club logo

harvest-balance-calculator's Introduction

wilau2's github stats

Hi there πŸ‘‹

Recently, I have been working on a React-Native mobile application for unified communication and collaboration. I started this project 18 months ago with the initial proof of concept. Our latest release involves 7 teams counting 50 contributors. We ship a client-facing mobile application used by 55k daily active users. Our team is responsible for hosting the different experiences such as voice, meeting and messaging in addition to the transversal concerns, the developer experience and the release processes for all the teams.

πŸ“« Contact me on:

harvest-balance-calculator's People

Contributors

carkib avatar etienne-m avatar greenkeeper[bot] avatar wilau2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

harvest-balance-calculator's Issues

JSON Decode error if no data yet in harvest

Prerequisites

Have a brand new account without any data logged

Steps to reproduce

create config.json.secret file
Compile and run docker file

Expected Behavior

Returns the actual number of hours in Harvest

Current Behavior

docker run harvest-balance-calculator
total_should_of_worked_time
3075.0
Traceback (most recent call last):
File "main.py", line 13, in
user_id = harvest_http_client.get_me()["id"]
File "/www/HarvestHttpClient/Client.py", line 25, in get_me
return self.__get_single_result(route, self.headers)
File "/www/HarvestHttpClient/Client.py", line 39, in __get_single_result
response = json.loads(str_response)
File "/usr/local/lib/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

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.