mirror of
https://github.com/alb-uss/SECMON.git
synced 2026-04-25 17:25:49 +03:00
[GH-ISSUE #9] local variable 'letter' referenced before assignment #7
Labels
No labels
bug
corrected
corrected
feature-request
feature-request
pull-request
question
reliability-improvement
to be checked up
to be checked up
vuln
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SECMON#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @muddydev on GitHub (Jun 8, 2021).
Original GitHub issue: https://github.com/alb-uss/SECMON/issues/9
Originally assigned to: @alb-uss on GitHub.
[Tue Jun 08 15:49:24.473654 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] ################## NEW GUI ERROR AT 08/06/2021, 15:49:24 ##################
[Tue Jun 08 15:49:24.473846 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] ######## URL : https://secmon.companyname.com/reports ##########
[Tue Jun 08 15:49:24.473990 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] Traceback (most recent call last):
[Tue Jun 08 15:49:24.474028 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1950, in full_dispatch_request
[Tue Jun 08 15:49:24.474035 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] rv = self.dispatch_request()
[Tue Jun 08 15:49:24.474042 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1936, in dispatch_request
[Tue Jun 08 15:49:24.474046 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] return self.view_functionsrule.endpoint
[Tue Jun 08 15:49:24.474053 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] File "/usr/local/lib/python3.8/dist-packages/flask_simplelogin/init.py", line 117, in simple_decorator
[Tue Jun 08 15:49:24.474056 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] return dispatch(function, *args, **kwargs)
[Tue Jun 08 15:49:24.474062 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] File "/usr/local/lib/python3.8/dist-packages/flask_simplelogin/init.py", line 98, in dispatch
[Tue Jun 08 15:49:24.474067 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] return check(must) or fun(*args, **kwargs)
[Tue Jun 08 15:49:24.474076 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] File "/var/www/secmon/secmon_web.py", line 541, in reports
[Tue Jun 08 15:49:24.474081 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] generateCveReport(datetime.strptime("01/01/2020", "%d/%m/%Y"),datetime.strptime("01/01/2020", "%d/%m/%Y"),isFull=True)
[Tue Jun 08 15:49:24.474091 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] File "/var/www/secmon/secmon_lib.py", line 149, in generateCveReport
[Tue Jun 08 15:49:24.474097 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] sheet["{}1".format(letter)].font = bold_font
[Tue Jun 08 15:49:24.474115 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] UnboundLocalError: local variable 'letter' referenced before assignment
[Tue Jun 08 15:49:24.474133 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] None
[Tue Jun 08 15:49:24.474143 2021] [wsgi:error] [pid 56526:tid 140361087670016] [remote internalIP:2472] ################## PLEASE REPORT THIS ON GITHUB ##################
@alb-uss commented on GitHub (Jun 10, 2021):
d8e8744fca