Comments (8)
@bluepintail sorry, I pushed a few commits that weren't ready for prime time. Will have a working version up later today
from binance-downloader.
Resolved in 110ac35
Please let me know if you're still having issues
from binance-downloader.
Thanks. I just did a fresh install but now when I try and run I get:
NOTICE: util: Error reading JSON from cache/earliest_timestamps.json
I've checked in the binance_downloader/cache folder and there's no earliest_timestamps.json file.
from binance-downloader.
I will change the wording to be less confusing, but the downloader should have still run normally. That's just letting you know there wasn't already cached data, and it pulled earliest timestamp for that currency pair from the server instead of using a cached value.
If it failed to download, can you send the rest of the output after the above NOTICE line?
Thanks
from binance-downloader.
Ah OK, here's the full trace:
NOTICE: util: Error reading JSON from cache/earliest_timestamps.json
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/user/binance-downloader/binance_downloader/cli.py", line 84, in main
binance.fetch_parallel()
File "/home/user/binance-downloader/binance_downloader/api.py", line 65, in fetch_parallel
ranges = self._get_chunk_ranges()
File "/home/user/binance-downloader/binance_downloader/api.py", line 165, in _get_chunk_ranges
period_start = self._get_valid_start()
File "/home/user/binance-downloader/binance_downloader/api.py", line 195, in _get_valid_start
earliest = binance_utils.earliest_valid_timestamp(self.symbol, self.interval)
File "/home/user/binance-downloader/binance_downloader/binance_utils.py", line 268, in earliest_valid_timestamp
prev_json[identifier] = earliest_timestamp
TypeError: 'NoneType' object does not support item assignment
from binance-downloader.
I was able to get it to work when I copied the earliest_timestamps.json
file from the previous installation and I also had to manually create the downloaded
folder.
from binance-downloader.
Thanks. I think I have an idea of what the issue might be. Will take a look at the code tonight and have a fix soon.
from binance-downloader.
Fixed and tested with a missing earliest_timestamps.json
Thanks, and let me know if you spot any other issues.
from binance-downloader.
Related Issues (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 binance-downloader.