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

running fail with KeyError: 'voice' #48

Closed
chaojixiaoyao opened this issue Oct 12, 2021 · 2 comments
Closed

running fail with KeyError: 'voice' #48

chaojixiaoyao opened this issue Oct 12, 2021 · 2 comments

Comments

@chaojixiaoyao
Copy link

chaojixiaoyao commented Oct 12, 2021

Hi guys
When i was first start which it crash.

Error information:
C:\Users\ckj\AppData\Local\Programs\Python\Python39>python C:\Users\ckj\AppData\Local\Programs\Python\Python39\DesktopAssistant-main\DesktopAssistant-main\Jarvis2_4windows.py
Traceback (most recent call last):
File "C:\Users\ckj\AppData\Local\Programs\Python\Python39\DesktopAssistant-main\DesktopAssistant-main\Jarvis2_4windows.py", line 6, in
from actions import ( # isort: skip
File "C:\Users\ckj\AppData\Local\Programs\Python\Python39\DesktopAssistant-main\DesktopAssistant-main\actions.py", line 145, in
if config['DEFAULT']['voice'] == 'Male':
File "C:\Users\ckj\AppData\Local\Programs\Python\Python39\lib\configparser.py", line 1257, in getitem
raise KeyError(key)
KeyError: 'voice'

@Dasemu
Copy link
Contributor

Dasemu commented Oct 12, 2021

Can you please post the steps to reproduce this exception?

I would like to have the following info to see what happened and fix the problem.

  • which command were you trying to use?
  • have you changed anything in the files after cloning the repo in your machine? If yes, what have you changed? Especially take a look at jarvis_windows.py and config.ini.

@chaojixiaoyao
Copy link
Author

您能否发布重现此异常的步骤?

我想获得以下信息以查看发生了什么并解决问题。

  • 你想使用哪个命令?
  • 在您的机器中克隆 repo 后,您是否更改了文件中的任何内容?如果是,你改变了什么?特别是看看jarvis_windows.pyconfig.ini

thanks to you
base your response, I deleted old project and reinstall that make it success run

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

3 participants