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 dependency on linked_status variable for update script #195

Closed
silavjy opened this issue Jan 30, 2023 · 0 comments
Closed

Fix dependency on linked_status variable for update script #195

silavjy opened this issue Jan 30, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@silavjy
Copy link
Contributor

silavjy commented Jan 30, 2023

When executing the EC-Update-lz.py script, the following error was thrown

Traceback (most recent call last):
File "./EC-Update-LZ.py", line 1462, in
main(sys.argv[1:])
File "./EC-Update-LZ.py", line 687, in main
if seclog_status != Execution.FAIL and linked_status != Execution.FAIL:
UnboundLocalError: local variable 'linked_status' referenced before assignment

Issue may be fixed by moving line 479 outside the if statement

From this:

image

To this:

image

@silavjy silavjy self-assigned this Jan 30, 2023
@silavjy silavjy added the bug Something isn't working label Jan 30, 2023
@silavjy silavjy changed the title Fix dependency on linked_status on update script Fix dependency on linked_status variable for update script Jan 30, 2023
@silavjy silavjy closed this as completed Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant