You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering an issue when using the functions_framework python package for local development of Google Cloud functions. This package leverages Flask and uses werkzeug to watch for changes in the source code and reloads upon detecting any changes. The error arises when I run it with the --debug option.
Error Trace:
* Detected change in 'C:\\Users\\{user}\\Projects\\python\\vectornado\\backend\\cloud-functions\\crawl-worker\\main.py', reloading
...
OSError: [WinError 10038] An operation was attempted on something that is not a socket
[Full Stack Trace here]
What I've Tried:
I stumbled upon a solution on StackOverflow (link) which recommended the following commands to be run:
netsh winsock reset catalog
netsh int ipv4 reset reset.log
netsh int ipv6 reset reset.log
Post execution, I restarted my system. However, the issue still persists.
Steps to Reproduce:
Setup a local development environment with functions_framework on Windows 11.
Ensure you are using Python 3.11.4 with werkzeug==2.3.7.
Run the framework with the --debug option.
Make a change in the source code file to trigger the werkzeug auto-reload feature.
I am encountering an issue when using the
functions_framework
python package for local development of Google Cloud functions. This package leverages Flask and useswerkzeug
to watch for changes in the source code and reloads upon detecting any changes. The error arises when I run it with the--debug
option.Error Trace:
[Full Stack Trace here]
What I've Tried:
I stumbled upon a solution on StackOverflow (link) which recommended the following commands to be run:
Post execution, I restarted my system. However, the issue still persists.
Steps to Reproduce:
functions_framework
on Windows 11.werkzeug==2.3.7
.--debug
option.werkzeug
auto-reload feature.Environment Details:
werkzeug==2.3.7
functions_framework==3.4.0
The text was updated successfully, but these errors were encountered: