Question

raise KeyError in python

  • 23 September 2020
  • 1 reply
  • 1206 views

While running a python script (not mine), I get this error

  File "/home/mahmood/parboil/driver/process.py", line 74, in makefile    for makeargs in os.environ['MAKE_ARGS'].split(" "):  File "/usr/lib/python2.7/UserDict.py", line 40, in __getitem__    raise KeyError(key)
KeyError: 'MAKE_ARGS'

I don't understand what is the problem exactly? Is MAKE_ARGS something unknown for 2.7? This file is called from upper level files and I am trying to understand it for further debugging. Any idea?


1 reply

How this is related to RingCentral? I am not sure if this is even related to RingCentral SDK.

The question is already raised in Python community and you can refer and follow there:

https://stackoverflow.com/questions/64026425/raise-keyerror-in-python

Reply