0

我正在使用 keepercommandar 模块,使用 python 使用主帐户、主密码和记录 Uid 从 keeper vault 获取用户名和密码。但我收到了这个错误

File "getCred.py", line 76, in <module>
    print(getCreditials())
  File "keeper/getMySEKeeperPasswordArg.py", line 61, in getCreditials
    api.sync_down(my_params)
  File "C:\Users\xxxx\AppData\Local\Programs\Python\Python37\lib\site-packages\keepercommander\api.py", line 431, in sync_down
    response_json = communicate(params, rq)
  File "C:\Users\xxxxx\AppData\Local\Programs\Python\Python37\lib\site-packages\keepercommander\api.py", line 1355, in communicate
    login(params)
  File "C:\Users\xxxxx\AppData\Local\Programs\Python\Python37\lib\site-packages\keepercommander\api.py", line 81, in login
    loginv3.LoginV3Flow.login(params)
  File "C:\Users\xxxxxx\AppData\Local\Programs\Python\Python37\lib\site-packages\keepercommander\loginv3.py", line 47, in login
    CommonHelperMethods.startup_check(params)
  File "C:\Users\xxxxxx\AppData\Local\Programs\Python\Python37\lib\site-packages\keepercommander\loginv3.py", line 1105, in startup_check
    with io.open(os.path.join(params.config_filename), 'w') as config_file:
FileNotFoundError: [Errno 2] No such file or directory: ''

我一直在努力

my_params = KeeperParams()
my_params.user = masterAccount
my_params.password = masterPassword
api.sync_down(my_params)
record = api.get_record(my_params, recordUid)

谁能帮我这个?

4

0 回答 0