Comments (2)
Dans Heroku
Lorsque qu'une fonction de vcub_keeper
est lancé :
from vcub_keeper.production.data import get_data_from_api_by_station
station_json = get_data_from_api_by_station(station_id=19,
start_date='2020-10-14',
stop_date='2020-10-17')
Il y a comme une sorte de cascade d'import qui se termine mal (uniquement dans heroku). Timeline de l'exécution :
vcub_keeper.production.data.get_data_from_api_by_station()
vcub_keeper.transform.features_factory
vcub_keeper.reader.reader.read_meteo()
from vcub_keeper.config import ROOT_DATA_RAW, ROOT_DATA_REF, ROOT_DATA_CLEAN
ROOT_DATA_RAW = ROOT_DIR + '/data/raw/'
L'erreur est ici.
ROOT_DIR
est égal à None malgré plusieurs modification dans config.py (2666e9c). Comme on est dans l'environnement de Heroku
, on se retrouve à cet endroit /app/.heroku/python/lib/python3.8/site-packages/vcub_keeper/config.py
inacessible pour un fichier de conf de variables d'env.
from vcub_keeper.
L'erreur est liée à une configuration Heroku. Il suffit d'ajouter une variable d'environnement dans Heroku https://devcenter.heroku.com/articles/config-vars
from vcub_keeper.
Related Issues (20)
- Prise en compte de la saisonnalité dans la détection d'anomalie HOT 3
- Création d'un score d'anomalie HOT 2
- Nouvelle visualision de l'activité d'une station avec le score d'anomalie HOT 1
- Migration de Travis vers un autre service
- Update version package
- Erreur dans l'acquisition des données de la DB / API HOT 1
- Acquisition de données via l'API open data de Bordeaux pour réaliser des prédictions HOT 2
- Erreur dans le CI HOT 2
- CI et test API open data Bordeaux HOT 2
- Passage à la 1.2.1
- Comparatif d'activité des stations vcub avec le Covid HOT 5
- Move to python 3.10.6
- Test de process / transformation data de non regression
- Tests de performances (speed) des traitements
- CI Down HOT 4
- Test fonction API bdx data
- Test fonction de transformation json to DataFrame activité fonction
- Benchmark fonction de transformation json to DataFrame
- Monté de version d'Ubuntu
- Breaking change in API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vcub_keeper.