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

牛牛语音传入空路径? #114

Open
TogetsuDo opened this issue May 8, 2024 · 2 comments
Open

牛牛语音传入空路径? #114

TogetsuDo opened this issue May 8, 2024 · 2 comments

Comments

@TogetsuDo
Copy link
Contributor

c0a5e41b9ed41516ccef057caf6cfa1e

File "C:\Bots\Pallas-Bot\src\plugins\greeting_init_.py", line 126, in handle_first_receive
file=Path(wiki.get_voice_filename(operator, '任命助理')).read_bytes())
File "C:\Users\noah\anaconda3\envs\p2\lib\pathlib.py", line 960, in new
self = cls._from_parts(args)
File "C:\Users\noah\anaconda3\envs\p2\lib\pathlib.py", line 594, in _from_parts
drv, root, parts = self._parse_args(args)
File "C:\Users\noah\anaconda3\envs\p2\lib\pathlib.py", line 578, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

也许是python版本问题(

@MistEO
Copy link
Owner

MistEO commented May 9, 2024

image

这个下了吗?

@TogetsuDo
Copy link
Contributor Author

image

这个下了吗?

下了的,我换成3.10的python能发

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