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

main.pyを実行した際のエラー?について #13

Open
ibeibeai opened this issue Jun 8, 2022 · 4 comments
Open

main.pyを実行した際のエラー?について #13

ibeibeai opened this issue Jun 8, 2022 · 4 comments

Comments

@ibeibeai
Copy link

ibeibeai commented Jun 8, 2022

ご質問失礼いたします。
main.pyを実行したところ下記が表示されました。

C:\Users\Users\Downloads\discord_voiceroid-master>python main.py
Traceback (most recent call last):
File "C:\Users\Users\Downloads\discord_voiceroid-master\main.py", line 43, in
main()
File "C:\Users\Users\Downloads\discord_voiceroid-master\main.py", line 10, in main
vc = pyvcroid2.VcRoid2()
File "C:\Users\Users\AppData\Local\Programs\Python\Python39-32\lib\site-packages\pyvcroid2\pyvcroid2.py", line 102, in init
raise Exception(result)
Exception: ResultCode.LICENSE_ABSENT

こちらの
Exception: ResultCode.LICENSE_ABSENT
についてどのような対処が必要であるかご教示願いたいです。

環境は参考にさせていただいた通り下記になります。
Windows10 64bit
Python3.9.1(32bit)
VOICEROID2

突然の質問で大変申し訳ございませんがご確認いただけますでしょうか。
よろしくお願いいたします。

@nohararc
Copy link
Owner

nohararc commented Jun 8, 2022

pyvcroid2側でのエラーなのでまずはサンプルが動作するかご確認ください
https://github.com/Nkyoku/pyvcroid2/blob/main/sample.py

@ibeibeai
Copy link
Author

ibeibeai commented Jun 9, 2022

上記sample.pyを実行し、下記が表示されました。

C:\Users\Users\Downloads>python sample.py
Traceback (most recent call last):
File "C:\Users\Users\Downloads\sample.py", line 21, in
with pyvcroid2.VcRoid2() as vc:
File "C:\Users\Users\AppData\Local\Programs\Python\Python39-32\lib\site-packages\pyvcroid2\pyvcroid2.py", line 102, in init
raise Exception(result)
Exception: ResultCode.LICENSE_ABSENT

質問と同じようにエラーが表示されるようです。

実行の仕方等、間違っている箇所があればご指摘していただけますと幸いです。

@nohararc
Copy link
Owner

nohararc commented Jun 9, 2022

pyvcroid2側のエラーになるので私のほうではわかりません。

@ibeibeai
Copy link
Author

ibeibeai commented Jun 9, 2022

再度質問失礼いたします。
一からインストールし直したところ下記のエラーが表示されました。

C:\Users\Users\Downloads\discord_voiceroid-master>python main.py
Traceback (most recent call last):
File "C:\Users\Users\Downloads\discord_voiceroid-master\main.py", line 43, in
main()
File "C:\Users\Users\Downloads\discord_voiceroid-master\main.py", line 32, in main
bot = commands.Bot(command_prefix=commands.when_mentioned_or("."))
TypeError: init() missing 1 required keyword-only argument: 'intents'

何度もご質問する形となり大変申し訳ございませんがご教示頂けますでしょうか。

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