Skip to content

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