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

Error when start bot #5

Open
script-sys opened this issue Sep 7, 2024 · 1 comment
Open

Error when start bot #5

script-sys opened this issue Sep 7, 2024 · 1 comment

Comments

@script-sys
Copy link

Traceback (most recent call last):
File "/root/matchquesttod/bot.py", line 541, in
asyncio.run(main())
File "/root/.pyenv/versions/3.11.9/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/root/.pyenv/versions/3.11.9/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.pyenv/versions/3.11.9/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/root/matchquesttod/bot.py", line 528, in main
result = await matchq.start()
^^^^^^^^^^^^^^^^^^^^
File "/root/matchquesttod/bot.py", line 210, in start
token = await self.login()
^^^^^^^^^^^^^^^^^^
File "/root/matchquesttod/bot.py", line 169, in login
res = await self.http(login_url, self.headers, json.dumps(login_data))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/matchquesttod/bot.py", line 92, in http
logsize = await aiofiles.ospath.getsize(log_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/matchquesttod/venv/lib/python3.11/site-packages/aiofiles/ospath.py", line 14, in run
return await loop.run_in_executor(executor, pfunc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.pyenv/versions/3.11.9/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 50, in getsize
FileNotFoundError: [Errno 2] No such file or directory: 'http.log'

image

what am i missing ? libraries ? I installed the python library with no error.

@akasakaid
Copy link
Owner

Yeah, wait me to next update.

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