-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Description
Error I'm receiving when running in Windows 10 with Python 3.6.2-32:
PS C:\Projects\test> python-lambda-local -t 15 -f lambda_handler .\test.py event.json
[root - INFO - 2017-12-11 10:13:42,817] Event: {'key1': 'value1', 'key2': 'value2', 'key3': 'value3'}
[root - INFO - 2017-12-11 10:13:42,817] START RequestId: 2df1ccc9-ba8a-48b8-aad4-ac41541a1e96
Process Process-1:
Traceback (most recent call last):
File "c:\program files (x86)\python\python36-32\lib\site-packages\lambda_local\main.py", line 87, in execute
with time_limit(context.timeout):
File "c:\program files (x86)\python\python36-32\lib\contextlib.py", line 81, in __enter__
return next(self.gen)
File "c:\program files (x86)\python\python36-32\lib\site-packages\lambda_local\timeout.py", line 18, in time_limit
signal.signal(signal.SIGALRM, signal_handler)
AttributeError: module 'signal' has no attribute 'SIGALRM'I found the following issue raised from another project which might explain the problem:
Unity-Technologies/ml-agents#7
Looks like this is a Windows specific issue when calling signal.SIGALRM.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels