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

ValueError: Not a boolean #11

Open
Aintgood opened this issue Feb 28, 2021 · 1 comment
Open

ValueError: Not a boolean #11

Aintgood opened this issue Feb 28, 2021 · 1 comment

Comments

@Aintgood
Copy link

Aintgood commented Feb 28, 2021

Got issues when try running the bot, i no have idea what happened with this logs.

Traceback (most recent call last):
File "bot.py", line 27, in
faucet_bot()
File "bot.py", line 5, in faucet_bot
bot = FaucetCryptoBot()
File "C:\Users\Mypc\Desktop\FaucetCryptoBot-main\FaucetCryptoBot\fcbot.py", line 19, in init
self.debug = self._configParser()[5]
File "C:\Users\Mypc\Desktop\FaucetCryptoBot-main\FaucetCryptoBot\fcbot.py", line 117, in _configParser
debug = config.getboolean("Misc", "debug")
File "c:\users\Mypc\appdata\local\programs\python\python38-32\lib\configparser.py", line 828, in getboolean
return self._get_conv(section, option, self._convert_to_boolean,
File "c:\users\Mypc\appdata\local\programs\python\python38-32\lib\configparser.py", line 808, in _get_conv
return self._get(section, conv, option, raw=raw, vars=vars,
File "c:\users\Mypc\appdata\local\programs\python\python38-32\lib\configparser.py", line 803, in _get
return conv(self.get(section, option, **kwargs))
File "c:\users\Mypc\appdata\local\programs\python\python38-32\lib\configparser.py", line 1163, in _convert_to_boolean
raise ValueError('Not a boolean: %s' % value)
ValueError: Not a boolean:

@souravrs999
Copy link
Owner

Probably messed up the config.cfg file the boolean value given to debug field should be either True or False it cant accept other values. That might be the issue.

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

2 participants