ThunderEX / py-kms

A KMS server written in python.
Other
395 stars 113 forks source link

Can't run client #32

Closed definitio closed 5 years ago

definitio commented 5 years ago
$ python client.py localhost
Connecting to localhost on port 1688...
Traceback (most recent call last):
  File "client.py", line 239, in <module>
    main()
  File "client.py", line 63, in main
    kmsRequest = createKmsRequest()
  File "client.py", line 195, in createKmsRequest
    handler = kmsRequestV4(None, config)
  File "/kms/kmsBase.py", line 122, in __init__
    if self.config['sqlite'] and self.config['dbSupport']:
KeyError: 'sqlite'
ThunderEX commented 5 years ago
JonnyTech commented 5 years ago

Are you running both server and client on the same computer?

definitio commented 5 years ago

I'm using docker, so it's CPython 2.7.15. I tried to run client from container and from host (CPython 3.6.7).

ThunderEX commented 5 years ago

Hi @definitio Please check whether the new commit fix your problem.

definitio commented 5 years ago

It works. Thank you!