Skip to content

Instantly share code, notes, and snippets.

@Electrofried
Created July 23, 2022 12:07
Show Gist options
  • Save Electrofried/b87677f3c975af4bbdba93fe00274359 to your computer and use it in GitHub Desktop.
Save Electrofried/b87677f3c975af4bbdba93fe00274359 to your computer and use it in GitHub Desktop.
07/23/2022 11:46:29 AM [Thread-1 (threadloop)] [INFO] Checking if names have been changed...
07/23/2022 11:46:29 AM [Thread-1 (threadloop)] [INFO] Found no new Instances..
07/23/2022 11:46:29 AM [Thread-1 (threadloop)] [INFO] Whitelist file check in progress...
07/23/2022 11:46:29 AM [Thread-1 (threadloop)] [INFO] Whitelist Wait List Check...
07/23/2022 11:46:29 AM [Thread-1 (threadloop)] [INFO] Converting the time...
Exception in thread Thread-1 (threadloop):
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 946, in run
self._target(*self._args, **self._kwargs)
File "/home/pybot/Gatekeeper-main/Gatekeeper.py", line 1404, in threadloop
status = whitelist.whitelistListCheck(client)
File "/home/pybot/Gatekeeper-main/whitelist.py", line 164, in whitelistListCheck
waittime = timehandler.parse(dbconfig.Whitelistwaittime,True)
File "/home/pybot/Gatekeeper-main/timehandler.py", line 39, in parse
parameter = parameter.lower()
AttributeError: 'NoneType' object has no attribute 'lower'
07/23/2022 11:46:50 AM [MainThread] [INFO] Whitelist Channel Message adding User to Database...
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.10/logging/__init__.py", line 1100, in emit
msg = self.format(record)
File "/usr/lib/python3.10/logging/__init__.py", line 943, in format
return fmt.format(record)
File "/usr/lib/python3.10/logging/__init__.py", line 678, in format
record.message = record.getMessage()
File "/usr/lib/python3.10/logging/__init__.py", line 368, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
File "/home/pybot/Gatekeeper-main/Gatekeeper.py", line 1462, in <module>
client.run(tokens.token)
File "/home/pybot/.local/lib/python3.10/site-packages/discord/client.py", line 713, in run
loop.run_forever()
File "/usr/lib/python3.10/asyncio/base_events.py", line 600, in run_forever
self._run_once()
File "/usr/lib/python3.10/asyncio/base_events.py", line 1896, in _run_once
handle._run()
File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/pybot/.local/lib/python3.10/site-packages/discord/client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "/home/pybot/Gatekeeper-main/Gatekeeper.py", line 1252, in on_message
reply = whitelist.wlmessagehandler(message)
File "/home/pybot/Gatekeeper-main/whitelist.py", line 46, in wlmessagehandler
logging.info(message.author.id,message.author.name)
Message: 190519714529673216
Arguments: ('Electrofried',)
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.10/logging/__init__.py", line 1100, in emit
msg = self.format(record)
File "/usr/lib/python3.10/logging/__init__.py", line 943, in format
return fmt.format(record)
File "/usr/lib/python3.10/logging/__init__.py", line 678, in format
record.message = record.getMessage()
File "/usr/lib/python3.10/logging/__init__.py", line 368, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
File "/home/pybot/Gatekeeper-main/Gatekeeper.py", line 1462, in <module>
client.run(tokens.token)
File "/home/pybot/.local/lib/python3.10/site-packages/discord/client.py", line 713, in run
loop.run_forever()
File "/usr/lib/python3.10/asyncio/base_events.py", line 600, in run_forever
self._run_once()
File "/usr/lib/python3.10/asyncio/base_events.py", line 1896, in _run_once
handle._run()
File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/pybot/.local/lib/python3.10/site-packages/discord/client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "/home/pybot/Gatekeeper-main/Gatekeeper.py", line 1252, in on_message
reply = whitelist.wlmessagehandler(message)
File "/home/pybot/Gatekeeper-main/whitelist.py", line 46, in wlmessagehandler
logging.info(message.author.id,message.author.name)
Message: 190519714529673216
Arguments: ('Electrofried',)
07/23/2022 11:46:50 AM [MainThread] [INFO] Whitelist Exisitng User Setup...
07/23/2022 11:46:50 AM [MainThread] [INFO] Whitelist User Check...
07/23/2022 11:46:50 AM [MainThread] [INFO] **Added User**: Electrofried to the Whitelist list...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment