Comments (7)
There seem to be some problems with your installation.
Running on Windows is a bit buggy in general, if you can I strongly recommend running it through Linux or Windows WSL
from btb-manager-telegram.
Hi @KINOTheProducer ,
as discussed in #54, BTB-manager-telegram
currently has some problems with read/write/execute permissions on Windows.
Although it is an experimental feature you can try running the bot via docker.
To do so run the command
$ python3 docker_setup.py
to set up the environment and Docker image.
After the setup you can run the bot using the --docker
flag:
$ python3 -m btb_manager_telegram --docker
Let me know if this helps :)
from btb-manager-telegram.
Hi @lorcalhost - grazie mille per la risposta!
I'm trying to install the Docker image as you said, but have come across this error, even though these files exist in the binance-trade-bot filesystem already:
[*] Is a Binance Trade Bot installation already present on your filesystem (y/n)?: y
[*] Enter path to your previous Binance Trade bot installation (e.g. ../binance-trade-bot/): ../binance-trade-bot
[+] Path ../binance-trade-bot found on the filesystem.
[-] Unable to find file ../binance-trade-bot\user.cfg
Please manually create it at ./binance-trade-bot/user.cfg
[-] Unable to find file ../binance-trade-bot\supported_coin_list
Please manually create it at ./binance-trade-bot/supported_coin_list
[-] Unable to find file ../binance-trade-bot\config/apprise.yml
Please manually create it at ./binance-trade-bot/config/apprise.yml
[*] Would you like to run the setup script for running the bot in a docker container (y/n)?:
Is it fine to continue the setup, or should I fix something first?
from btb-manager-telegram.
Manually copy those 3 files into BTB-manager-telegram/binance-trade-bot
.
Then run the docker_setup.py
script again selection n
as option when asked Is a Binance Trade Bot installation already present on your filesystem (y/n)?
from btb-manager-telegram.
Strange, I'm now getting this, even though those exact files have been copied into the directory you mentioned:
←[33m[*] Is a Binance Trade Bot installation already present on your filesystem (y/n)?: ←[39mn
←[33m[*] Please manually create/edit the following files:
- ./binance-trade-bot/user.cfg
- ./binance-trade-bot/supported_coin_list
- ./binance-trade-bot/config/apprise.yml
←[33m[*] Would you like to run the setup script for running the bot in a docker container (y/n)?:
from btb-manager-telegram.
That's the intended behavior, you can proceed.
from btb-manager-telegram.
Upon proceeding, I get this:
←[33m[*] Setting things up for docker...←[39m
Traceback (most recent call last):
File "C:\Users\Anthony\Desktop\Binance Trade Bot\BTB-manager-telegram\docker_setup.py", line 71, in docker_setup
process = subprocess.Popen(
File "C:\Users\Anthony\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Anthony\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Anthony\Desktop\Binance Trade Bot\BTB-manager-telegram\docker_setup.py", line 80, in docker_setup
make_image()
File "C:\Users\Anthony\Desktop\Binance Trade Bot\BTB-manager-telegram\docker_setup.py", line 36, in make_image
check_process = subprocess.Popen(
File "C:\Users\Anthony\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Anthony\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Anthony\Desktop\Binance Trade Bot\BTB-manager-telegram\docker_setup.py", line 195, in <module>
main()
File "C:\Users\Anthony\Desktop\Binance Trade Bot\BTB-manager-telegram\docker_setup.py", line 182, in main
default()
File "C:\Users\Anthony\Desktop\Binance Trade Bot\BTB-manager-telegram\docker_setup.py", line 148, in default
docker_setup()
File "C:\Users\Anthony\Desktop\Binance Trade Bot\BTB-manager-telegram\docker_setup.py", line 83, in docker_setup
update_image()
File "C:\Users\Anthony\Desktop\Binance Trade Bot\BTB-manager-telegram\docker_setup.py", line 62, in update_image
delete_image()
File "C:\Users\Anthony\Desktop\Binance Trade Bot\BTB-manager-telegram\docker_setup.py", line 25, in delete_image
process = subprocess.Popen(command, stderr=SUBPIPE, stdin=SUBPIPE)
File "C:\Users\Anthony\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Anthony\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
from btb-manager-telegram.
Related Issues (20)
- Trigger update notification only when a new tag is issued HOT 1
- APIError(code=-2015): Invalid API-key, IP, or permissions for action.
- Docker Pip Error HOT 4
- Problem with starting the bot HOT 16
- Save database HOT 1
- Easy kill if using nohup. HOT 1
- Bot doesn't respond to commands after starting the trading bot using the telegram command HOT 17
- script bot stats HOT 1
- Having a dash in the version name cause the BTBMT to mess up with updates
- Evolve reports and auto detection of deposit and withdrawal
- main py file is missing + Maintenance is gone ? HOT 6
- Only messages with `/` are received by the manager.
- Next_Coin tabularize size adjustment - Cosmetic HOT 2
- The Biance_trade_bot is not working properly with VPN, and the connection always times out HOT 1
- Remove / replace donation links and call to actions HOT 1
- CRITICAL - Binance Trade Bot config file cannot be found at `../binance-trade-bot/user.cfg` HOT 2
- BTB bot crashes the trading bot if internet outage HOT 2
- Display BTC change since the beggining
- Question: Is fork correctly recognized when updating binance trade bot? HOT 1
- BTB still shows that update is available, even after update 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 btb-manager-telegram.