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

程序无法执行 #45

Open
zghmvp opened this issue Aug 3, 2023 · 0 comments
Open

程序无法执行 #45

zghmvp opened this issue Aug 3, 2023 · 0 comments

Comments

@zghmvp
Copy link

zghmvp commented Aug 3, 2023

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File ".\main.py", line 12, in
bot.start()
File "C:\Users\ZGHMVP\Desktop\QQBot\venv\lib\site-packages\pycqBot\socketApp.py", line 245, in start
self.websocket_start()
File "C:\Users\ZGHMVP\Desktop\QQBot\venv\lib\site-packages\pycqBot\socketApp.py", line 269, in websocket_start
asyncio.run(main_logic())
File "C:\Python38\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Python38\lib\asyncio\base_events.py", line 603, in run_until_complete
self.run_forever()
File "C:\Python38\lib\asyncio\windows_events.py", line 316, in run_forever
super().run_forever()
File "C:\Python38\lib\asyncio\base_events.py", line 570, in run_forever
self.run_once()
File "C:\Python38\lib\asyncio\base_events.py", line 1859, in run_once
handle.run()
File "C:\Python38\lib\asyncio\events.py", line 81, in run
self.context.run(self.callback, *self.args)
File "C:\Users\ZGHMVP\Desktop\QQBot\venv\lib\site-packages\pycqBot\socketApp.py", line 263, in main_logic
self.on_error(err)
File "C:\Users\ZGHMVP\Desktop\QQBot\venv\lib\site-packages\pycqBot\socketApp.py", line 309, in on_error
logging.exception(error)
File "C:\Python38\lib\logging_init
.py", line 2057, in exception
error(msg, *args, exc_info=exc_info, **kwargs)
File "C:\Python38\lib\logging_init
.py", line 2049, in error
root.error(msg, *args, **kwargs)
File "C:\Python38\lib\logging_init
.py", line 1475, in error
self.log(ERROR, msg, args, **kwargs)
File "C:\Python38\lib\logging_init
.py", line 1589, in log
self.handle(record)
File "C:\Python38\lib\logging_init
.py", line 1599, in handle
self.callHandlers(record)
File "C:\Python38\lib\logging_init
.py", line 1661, in callHandlers
hdlr.handle(record)
File "C:\Python38\lib\logging_init
.py", line 954, in handle
self.emit(record)
File "C:\Python38\lib\logging_init
.py", line 1085, in emit
msg = self.format(record)
File "C:\Python38\lib\logging_init
.py", line 929, in format
return fmt.format(record)
File "C:\Python38\lib\logging_init
.py", line 676, in format
record.exc_text = self.formatException(record.exc_info)
File "C:\Python38\lib\logging_init
.py", line 626, in formatException
traceback.print_exception(ei[0], ei[1], tb, None, sio)
File "C:\Python38\lib\traceback.py", line 103, in print_exception
for line in TracebackException(
File "C:\Python38\lib\traceback.py", line 481, in init
cause = TracebackException(
File "C:\Python38\lib\traceback.py", line 493, in init
context = TracebackException(
File "C:\Python38\lib\traceback.py", line 508, in init
self.stack = StackSummary.extract(
File "C:\Python38\lib\traceback.py", line 362, in extract
linecache.checkcache(filename)
File "C:\Python38\lib\linecache.py", line 74, in checkcache
stat = os.stat(fullname)
KeyboardInterrupt

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

1 participant