-
Notifications
You must be signed in to change notification settings - Fork 255
Closed
Labels
bugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortlanguage/pythonRelated to Python bindingsRelated to Python bindingsp1
Description
🐛 Bug Report
Affected Languages
-
Python
General Information
- JSII Version: 1.16.0
- Platform: Debian
What is the problem?
Hey, guys. While running cdk diff on a python 3.7.6 app I'm getting the next error:
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/jsii/_kernel/providers/process.py", line 293, in stop
self._process.wait(timeout=5)
File "/usr/local/lib/python3.7/subprocess.py", line 1019, in wait
return self._wait(timeout=timeout)
File "/usr/local/lib/python3.7/subprocess.py", line 1645, in _wait
raise TimeoutExpired(self.args, timeout)
subprocess.TimeoutExpired: Command '['node', '/usr/local/lib/python3.7/site-packages/jsii/_embedded/jsii/jsii-runtime.js']' timed out after 5 seconds
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/jsii/_kernel/providers/process.py", line 296, in stop
self._process.terminate(timeout=5)
TypeError: terminate() got an unexpected keyword argument 'timeout'
The problem seems to be caused by this change introduced in PR #2100:
Indeed, timeout is not a valid parameter for that method, perhaps removing it should be enough to fix the issue. Thanks a lot!
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortlanguage/pythonRelated to Python bindingsRelated to Python bindingsp1