Comments (6)
since #114 was merged I'm closing this one! Thanks everyone :)
from serenata-toolbox.
Hi @luipillmann,
Can you provide more detail abou the code you're running?
Also I'm not sure what you mean by running Jupyter notebooks in serenata-de-amor/develop: if you're running jupyter notebook
from that directory that is not how we thought things would work. Run jupyter notebook
from the root, not from develop/
(or, if you really want to run from develop/
, copy config.ini
from root to there).
BTW do you have a config.ini
in the root of the project?
from serenata-toolbox.
Hi, @cuducos.
We were running jupyter notebook
from the root, where the config.ini file was placed (its content was copied from the example .ini).
What I meant is that the .ipnb files were run from develop/
. It seems the program expects config.ini to be in the same folder where notebooks are.
We suppose it has something to do with line 12 in datasets/remote.py
from serenata-toolbox.
Ow…got it. Makes sense.
This should fix it:
class RemoteDatasets:
CONFIG = 'config.ini'
def __init__(self, config=None):
self.credentials = None
self.config = config or self.CONFIG
…
And replace self.CONFIG
by self.config
.
Sorry I can't open a PR right now, but probably something among these lines could fix. Feel free to open a PR.
On other news we could get rid of a config file and go for envvars. I initially opted to keep the config file because it was there already, but maybe this is not the best strategy. What do you think @jtemporal?
from serenata-toolbox.
Hi,
I talked to @luipillmann here at the sprint about having a default configuration file to be opened if a custom config.ini
could not be found.
One of the main reasons of doing this would be that most toolbox's use cases don't require a custom config.ini
, the default values work fine unless you need to upload something.
from serenata-toolbox.
One of the main reasons of doing this would be that most toolbox's use cases don't require a custom
config.ini
, the default values work fine unless you need to upload something.
👍
from serenata-toolbox.
Related Issues (20)
- [Question] New contributors HOT 4
- Access denied when executing example on README
- Failing to import "log" HOT 2
- Rename .xz to .csv.xz HOT 3
- Cannot download the datasets HOT 1
- Problem when downloading datasets from our servers HOT 3
- Is there a data dictionary for the chamber of deputies reimbursements? HOT 3
- Error trying to download 2016-08-08-datasets-format.html
- function test_download_no_file() duplicated HOT 1
- Dataset checksum and avoid download duplicate HOT 3
- Add checksum file of datasets to the bucket HOT 4
- Process datasets with Dask
- serenata-toolbox cli HOT 1
- README.rst broken links related to generating datasets HOT 5
- Config file for downloading datasets HOT 1
- Cannot use ChamberDataset() to download data HOT 7
- Error: SSL: CERTIFICATE_VERIFY_FAILED HOT 2
- Where do the datasets download? HOT 4
- Run tox tests in TravicCI HOT 3
- We need to catch an HTTP error early in new years HOT 2
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 serenata-toolbox.