Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue for install mytonctrl #356

Open
kugimiya530 opened this issue Sep 9, 2024 · 1 comment
Open

issue for install mytonctrl #356

kugimiya530 opened this issue Sep 9, 2024 · 1 comment

Comments

@kugimiya530
Copy link

I am install by https://docs.ton.org/participate/run-nodes/full-node

system is ubuntu20.04

wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/master/scripts/install.sh
sudo bash install.sh

until here , everything work fine

but after bash mytonctrl

the log below seems like have some problem

anyone help?

[info] 09.09.2024, 04:05:13.121 (UTC) Start program /root/Desktop/mytonctrl.py
Welcome to the console. Enter 'help' to display the help menu.
[debug] 09.09.2024, 04:05:13.303 (UTC) start GetValidatorStatus function
[warning] 09.09.2024, 04:05:13.310 (UTC) GetValidatorStatus warning: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Node is out of sync. The displayed status is incomplete.

MyTonCtrl> status
[debug] 09.09.2024, 04:05:15.297 (UTC) start GetValidatorWallet function
[debug] 09.09.2024, 04:05:15.297 (UTC) start GetLocalWallet function
[debug] 09.09.2024, 04:05:15.297 (UTC) start GetWalletFromFile function
[debug] 09.09.2024, 04:05:15.298 (UTC) start WalletVersion2Wallet function
[debug] 09.09.2024, 04:05:15.298 (UTC) start GetDbSize function
Error: 'NoneType' object has no attribute 'items'

@kugimiya530
Copy link
Author

by the way , i also create a non-root user to run it too
[debug] 09.09.2024, 04:55:16.720 (UTC) start EnableVcEvent function
[debug] 09.09.2024, 04:55:16.720 (UTC) start CreateWallet function
[debug] 09.09.2024, 04:55:16.768 (UTC) start GetLocalWallet function
[debug] 09.09.2024, 04:55:16.768 (UTC) start GetWalletFromFile function
[debug] 09.09.2024, 04:55:16.770 (UTC) start CreateNewKey function
[debug] 09.09.2024, 04:55:16.782 (UTC) start AddAdnlAddrToValidator function
[debug] 09.09.2024, 04:55:16.810 (UTC) Start/restart mytoncore service
[debug] 09.09.2024, 04:55:16.873 (UTC) sleep 1 sec
[debug] 09.09.2024, 04:55:17.874 (UTC) start EnableLiteServer function
[debug] 09.09.2024, 04:55:17.874 (UTC) generate liteserver key
[debug] 09.09.2024, 04:55:17.904 (UTC) move key
[debug] 09.09.2024, 04:55:17.907 (UTC) chown 1
[debug] 09.09.2024, 04:55:17.909 (UTC) chown 2
[debug] 09.09.2024, 04:55:17.912 (UTC) read vconfig
[debug] 09.09.2024, 04:55:17.912 (UTC) prepare vconfig
[debug] 09.09.2024, 04:55:17.912 (UTC) write vconfig
[debug] 09.09.2024, 04:55:17.912 (UTC) Start/restart validator service
[debug] 09.09.2024, 04:55:17.969 (UTC) sleep 10 sec
[debug] 09.09.2024, 04:55:27.976 (UTC) read mconfig
[debug] 09.09.2024, 04:55:27.979 (UTC) edit mytoncore config file
[debug] 09.09.2024, 04:55:27.979 (UTC) write mconfig
[debug] 09.09.2024, 04:55:27.983 (UTC) Start/restart mytoncore service
[debug] 09.09.2024, 04:55:28.061 (UTC) sleep 1 sec
[debug] 09.09.2024, 04:55:29.062 (UTC) Backup validator config file 'config.json' to 'config.json.backup'
[debug] 09.09.2024, 04:55:29.065 (UTC) Backup mytoncore config file 'mytoncore.db' to 'mytoncore.db.backup'
[debug] 09.09.2024, 04:55:29.073 (UTC) start CreateSymlinks fuction
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
Error creating textual authentication agent: Error opening current controlling terminal for the process (/dev/tty'): No such device or address (polkit-error-quark, 0) Local DB path: /home/ton/.local/share/mytoncore/mytoncore.db [5/5] Mytonctrl installation completed ton@XINTON:~$ mytonctrl [info] 09.09.2024, 04:55:42.678 (UTC) <MainThread> Start program /home/ton/mytonctrl.py`
Welcome to the console. Enter 'help' to display the help menu.
[debug] 09.09.2024, 04:55:42.871 (UTC) start GetValidatorStatus function
[warning] 09.09.2024, 04:55:42.877 (UTC) GetValidatorStatus warning: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Node is out of sync. The displayed status is incomplete.

MyTonCtrl> status
[debug] 09.09.2024, 04:55:46.530 (UTC) start GetValidatorWallet function
[debug] 09.09.2024, 04:55:46.530 (UTC) start GetLocalWallet function
[debug] 09.09.2024, 04:55:46.530 (UTC) start GetWalletFromFile function
[debug] 09.09.2024, 04:55:46.530 (UTC) start WalletVersion2Wallet function
[debug] 09.09.2024, 04:55:46.530 (UTC) start GetDbSize function
Error: 'NoneType' object has no attribute 'items'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant