Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: UnboundLocalError: local variable 'local_server' referenced befo… #431

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rasa
Copy link

@rasa rasa commented Jul 6, 2023

…re assignment

In Oct. 2022 gyb worked fine on a Windows 10 system. Today I got

UnboundLocalError: local variable 'local_server' referenced before assignment

This PR fixes the issue. Surprisingly, it took 840 ports to find one that would work:

...
839: 127.0.0.1:8918: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
840: 127.0.0.1:8919: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions

Go to the following link in your browser:

        https://gyb-shortn.jaylee.us/example

…re assignment

In Oct. 2022 gyb worked fine on a Windows 10 system. Today I got 
```
UnboundLocalError: local variable 'local_server' referenced before assignment
```
This PR fixes the issue. Surprisingly, it took 840 ports to find one that would work:
```
...
839: 127.0.0.1:8918: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
840: 127.0.0.1:8919: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions

Go to the following link in your browser:

        https://gyb-shortn.jaylee.us/example
```
@rasa
Copy link
Author

rasa commented Sep 9, 2023

This is still an issue with 1.74. Perhaps it's just my machine, but please consider accepting this PR, as it can't hurt, and can only help others like me. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant