Closed neoromantic closed 5 years ago
Weird. I've never seen that error before.
I've also downloaded json files from 'store' folder and put it directly in /usr/lib
You should not have to do this. The data files will be generated if they do not exist.
We'll look into this some more when we have time.
I observe the same behavior as OP, that "VERSION is not defined" error is thrown when I press "h" for help though, not after "e" for exit, which exits clean for me.
I don’t see error now too, so it’s not related. But still no data.
16 янв. 2019 г., в 18:32, sh4d0v1 notifications@github.com написал(а):
I don't see any information after BitVision start either, but I also don't get that error thrown OP describes after exit. His screenshot is the same what I see after start though.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Can you try updating the package? Some patches were just made that might fix this.
bitvision@1.1.5 still produces the error.
No data shown and "ReferenceError: VERSION is not defined" thrown on press of "h".
bitvision@1.1.6 doesn't crash anymore on press of "h", but shows a help popup, which can't get closed without exiting the whole program ("Q"/"q" doesn't do anything, "c" does work though).
There still is no data shown whatsoever, not after refreshing either.
Getting the same thing too, I had to copy all the .json files manually into the store folder, which enabled Bitvision to start, but getting the same VERSION error if hitting "h" for help, and getting no data in the UI.
I had to copy all the .json files manually into the store folder, which enabled Bitvision to start
We generate the files if they don't exist, so I'm confused how this was a fix for that problem.
I had to copy all the .json files manually into the store folder, which enabled Bitvision to start
We generate the files if they don't exist, so I'm confused how this was a fix for that problem.
config.json was the only file that seemed to get generated in the store directory for me.
Weird. Check this file out to see that the files will be created if they don't already exist: https://github.com/shobrook/BitVision/blob/master/services/retriever.py
I also don't have any connection and no data. The file retriever.py exist (/usr/local/lib/node_modules/bitvision/services/retriever.py).
I even deleted the file and replace it by the one from github.
I also don't have any connection and no data.
By no connection, do you mean internet connection? If you do, that would explain the issue. You definitely need an internet connection for this to work.
I also don't have any connection and no data.
By no connection, do you mean internet connection? If you do, that would explain the issue. You definitely need an internet connection for this to work.
No, excuse me that I didn't describe it in detail. What I mean that there is no fetching data. I can see that it stores the data in store directory, but all the files are empty. Like this:
{ "error": false, "data": [] }
Huh. So it does return from the data fetching methods successfully, but it doesn't actually fetch any data...
Are all of the data files like that?
Huh. So it does return from the data fetching methods successfully, but it doesn't actually fetch any data...
Are all of the data files like that?
I can see that every file is the same, except:
{ "error": true, "data": { "account_balance": "$0.00", "returns": "0.00%", "net_profit": "$0.00", "sharpe_ratio": "0.00", "buy_accuracy": "0.00%", "sell_accuracy": "0.00%", "total_trades": "0" } }
and of-course the config file is not empty.
its not matching my account balance by the way
This is expected, as the portfolio stats feature isn't working well enough to release at the moment. By default, all portfolio data is set to 0.
That being said, the other data fetching should work, and I'm at a loss as to why it's not...
We've diagnosed what we think the problem could be and are pushing a fix for it. Try it out to see if that works for you, when it goes live. (v1.1.7)
It's live. Just tested the fix in a new environment, and it seems to be working.
@corsa confirmed this fixed the bug on his end. Closing this issue for now.
So, I've install all dependencies, and when I run BitVision, it starts, however, there is no information shown. Please refer to screenshot. Will be happy to provide additional details if needed.
When I exit application, I can see the error:
I've also downloaded json files from 'store' folder and put it directly in /usr/lib
Here's my versions: