Uncaught Exception: UnpicklingError: invalid load key, '\x00'.
See original GitHub issueHey, I got this error when I try to launch a Backtest.
root@797704255f30:/home/mybot# jesse backtest 2020-01-01 2020-11-10
loading candles...
============================== EXCEPTION TRACEBACK:
File "/usr/local/bin/jesse", line 8, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/jesse/__init__.py", line 322, in backtest
backtest_mode.run(start_date, finish_date, chart=chart, tradingview=tradingview, csv=csv, json=json)
File "/usr/local/lib/python3.8/dist-packages/jesse/modes/backtest_mode/__init__.py", line 41, in run
candles = load_candles(start_date, finish_date)
File "/usr/local/lib/python3.8/dist-packages/jesse/modes/backtest_mode/__init__.py", line 105, in load_candles
cached_value = cache.get_value(cache_key)
File "/usr/local/lib/python3.8/dist-packages/jesse/services/cache.py", line 69, in get_value
return pickle.load(f)
=========================================================================
Uncaught Exception: UnpicklingError: invalid load key, '\x00'.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
What causes the error "_pickle.UnpicklingError: invalid load ...
UnpicklingError : invalid load key, ''. But, if the pickle file is opened using gzip all is harmonious with gzip.open('test.pklz', ...
Read more >_pickle.UnpicklingError: invalid load key, '\x00' - Google Groups
I am using Similarity class to calculate similarity between two sets of documents, but get a pickle issue which I have no idea...
Read more >invalid load key, '\xef'. - You.com | The AI Search Engine You ...
data = pickle.load(file) _pickle.UnpicklingError: invalid load key, '\xef'. This is the code I was using: @bot.event async def on_ready(): try: with ...
Read more >_pickle.UnpicklingError: invalid load key, '\x00' - Anki Forums
Hi everyone, every time I try to open Anki, i get this error message below. I already tried going on Tools > Check...
Read more >UnpicklingError: invalid load key, '\x0a' - vision - PyTorch Forums
Hello, I met a problem that I trained my model in the lab using a Linux machine, after saving the checkpoint I took...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will add a config value in the next release to be able to completely disable caching. It’s not the best solution but at least gets it running for those who have issue with it like this case
With version
0.14.1
you can set your cache driver toNone
and this will go away.