varkaria / guweb

The frontend appearance for the osu! server protocol, gulag! 🧶
MIT License
34 stars 65 forks source link

upon executing 'python3.9 main.py #51

Open kiyomiki opened 6 months ago

kiyomiki commented 6 months ago

upon executing 'python3.9 main.py' i get this, any fix?

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/kiyo/osu-nuts/guweb/main.py", line 74, in app.run(port=8000, debug=glob.config.debug) # blocking call File "/usr/local/lib/python3.9/dist-packages/quart/app.py", line 850, in run loop.run_until_complete(asyncio.gather(*tasks)) File "/usr/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/usr/local/lib/python3.9/dist-packages/hypercorn/asyncio/init.py", line 44, in serve await worker_serve( File "/usr/local/lib/python3.9/dist-packages/hypercorn/asyncio/run.py", line 87, in worker_serve raise exception File "/usr/local/lib/python3.9/dist-packages/hypercorn/asyncio/lifespan.py", line 43, in handle_lifespan await self.app( File "/usr/local/lib/python3.9/dist-packages/hypercorn/app_wrappers.py", line 34, in call await self.app(scope, receive, send) File "/usr/local/lib/python3.9/dist-packages/quart/app.py", line 1638, in call await self.asgi_app(scope, receive, send) File "/usr/local/lib/python3.9/dist-packages/quart/app.py", line 1664, in asgi_app await asgi_handler(receive, send) File "/usr/local/lib/python3.9/dist-packages/quart/asgi.py", line 322, in call await send( File "/usr/local/lib/python3.9/dist-packages/hypercorn/asyncio/lifespan.py", line 101, in asgi_send raise LifespanFailureError("startup", message.get("message", "")) hypercorn.utils.LifespanFailureError: Lifespan failure in startup. '(1045, "Access denied for user 'kiyo'@'localhost' (using password: YES)")'

7ez commented 6 months ago

kiyo I think the error is self explainable you do not have access to the database on your account

kiyomiki commented 6 months ago

right i understand that part, but i just dont know how to give myself access

7ez commented 6 months ago

sudo mysql grant all on *.* to 'kiyo'@'localhost'; exit

kiyomiki commented 6 months ago

still getting the same error

7ez commented 6 months ago

are u using docker

kiyomiki commented 6 months ago

unsure

kiyomiki commented 6 months ago

i think i am