Traceback (most recent call last):
File "/home/runner/Vocard-2/main.py", line 7, in <module>
import function as func
File "/home/runner/Vocard-2/function.py", line 12, in <module>
from addons import Settings, TOKENS
File "/home/runner/Vocard-2/addons/init.py", line 1, in <module>
from .lyrics import lyricsPlatform
File "/home/runner/Vocard-2/addons/lyrics.py", line 1, in <module>
import aiohttp, random, bs4, re
ModuleNotFoundError: No module named 'bs4'
#error occured
1 messages · Page 1 of 1 (latest)
if you are hosting on replit you can't install bs4
you have to install beautifulsoup4
although they are the same
alright thx
Traceback (most recent call last):
File "/home/runner/Vocard-2/main.py", line 7, in <module>
import function as func
File "/home/runner/Vocard-2/function.py", line 17, in <module>
raise Exception("Settings file not set!")
Exception: Settings file not set!
yea you have to setup the settings.json
good to hear that
what error?
Traceback (most recent call last):
File "/home/runner/Vocard-2/function.py", line 27, in <module>
mongodb.server_info()
File "/home/runner/Vocard-2/.pythonlibs/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1935, in server_info
self.admin.command(
File "/home/runner/Vocard-2/.pythonlibs/lib/python3.10/site-packages/pymongo/_csot.py", line 108, in csot_wrapper
return func(self, *args, **kwargs)
File "/home/runner/Vocard-2/.pythonlibs/lib/python3.10/site-packages/pymongo/database.py", line 892, in command
with self.__client._conn_for_reads(read_preference, session) as (
File "/nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/lib/python3.10/contextlib.py", line 135, in enter
return next(self.gen)
File "/home/runner/Vocard-2/.pythonlibs/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1324, in _conn_from_server
with self._checkout(server, session) as conn:
File "/nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/lib/python3.10/contextlib.py", line 135, in enter
return next(self.gen)
File "/home/runner/Vocard-2/.pythonlibs/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1246, in _checkout
with server.checkout(handler=err_handler) as conn:
File "/nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/lib/python3.10/contextlib.py", line 135, in enter
return next(self.gen)
File "/home/runner/Vocard-2/.pythonlibs/lib/python3.10/site-packages/pymongo/pool.py", line 1598, in checkout
conn = self._get_conn(handler=handler)
File "/home/runner/Vocard-2/.pythonlibs/lib/python3.10/site-packages/pymongo/pool.py", line 1714, in _get_conn
conn = self.connect(handler=handler)
File "/home/runner/Vocard-2/.pythonlibs/lib/python3.10/site-packages/pymongo/pool.py", line 1568, in connect
conn.authenticate()
File "/home/runner/Vocard-2/.pythonlibs/lib/python3.10/site-packages/pymongo/pool.py", line 1042, in authenticate
auth.authenticate(creds, self, reauthenticate=reauthenticate)
File "/home/runner/Vocard-2/.pythonlibs/lib/python3.10/site-packages/pymongo/auth.py", line 616, in authenticate
auth_func(credentials, conn)
File "/home/runner/Vocard-2/.pythonlibs/lib/python3.10/site-packages/pymongo/auth.py", line 521, in _authenticate_default
return _authenticate_scram(credentials, conn, "SCRAM-SHA-1")
File "/home/runner/Vocard-2/.pythonlibs/lib/python3.10/site-packages/pymongo/auth.py", line 289, in _authenticate_scram
res = conn.command(source, cmd)
File "/home/runner/Vocard-2/.pythonlibs/lib/python3.10/site-packages/pymongo/helpers.py", line 315, in inner
return func(*args, **kwargs)
File "/home/runner/Vocard-2/.pythonlibs/lib/python3.10/site-packages/pymongo/pool.py", line 932, in command
return command(
File "/home/runner/Vocard-2/.pythonlibs/lib/python3.10/site-packages/pymongo/network.py", line 191, in command
helpers._check_command_response(
File "/home/runner/Vocard-2/.pythonlibs/lib/python3.10/site-packages/pymongo/helpers.py", line 223, in _check_command_response
raise OperationFailure(errmsg, code, response, max_wire_version)
pymongo.errors.OperationFailure: bad auth : authentication failed, full error: {'ok': 0, 'errmsg': 'bad auth : authentication failed', 'code': 8000, 'codeName': 'AtlasError'}
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/Vocard-2/main.py", line 7, in <module>
import function as func
File "/home/runner/Vocard-2/function.py", line 33, in <module>
raise Exception("Not able to connect MongoDB! Reason:", e)
Exception: ('Not able to connect MongoDB! Reason:', OperationFailure("bad auth : authentication failed, full error: {'ok': 0, 'errmsg': 'bad auth : authentication failed', 'code': 8000, 'codeName': 'AtlasError'}"))
It's right as I changed my password
your password can't contains special characters
My node is getting error
It's like 'you have typed the incorrect password' but I rechecked the pass 3 times
You mean the lavalink server or mongodb?
Lavalink
can you provide some screenshots
Make sure that your IP is whitelisted on MongoDB. Or just add 0.0.0.0 to your whitelist
I had a similar error, this was a solution
Oh yea you can also try that
Ok I'll try