mirror of
https://github.com/alb-uss/SECMON.git
synced 2026-04-25 17:25:49 +03:00
[GH-ISSUE #18] CSV import product error #18
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#18
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 @kit567 on GitHub (Jul 23, 2021).
Original GitHub issue: https://github.com/alb-uss/SECMON/issues/18
Originally assigned to: @alb-uss on GitHub.
I got an error when trying to import from CSV:
Unexpected error
Oops. SECMON has encountered an error!
From apache.log:
[Fri Jul 23 13:34:59.745870 2021] [wsgi:error] [pid 9726:tid 140063431202560] [remote 192.168.28.224:52852] ################## NEW GUI ERROR AT 23/07/2021, 13:34:59 ##################
[Fri Jul 23 13:34:59.746239 2021] [wsgi:error] [pid 9726:tid 140063431202560] [remote 192.168.28.224:52852] ######## URL : https://10.5.6.133/product-mgmt ##########
[Fri Jul 23 13:34:59.747316 2021] [wsgi:error] [pid 9726:tid 140063431202560] [remote 192.168.28.224:52852] Traceback (most recent call last):
[Fri Jul 23 13:34:59.747363 2021] [wsgi:error] [pid 9726:tid 140063431202560] [remote 192.168.28.224:52852] File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1950, in full_dispatch_request
[Fri Jul 23 13:34:59.747368 2021] [wsgi:error] [pid 9726:tid 140063431202560] [remote 192.168.28.224:52852] rv = self.dispatch_request()
[Fri Jul 23 13:34:59.747373 2021] [wsgi:error] [pid 9726:tid 140063431202560] [remote 192.168.28.224:52852] File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1936, in dispatch_request
[Fri Jul 23 13:34:59.747377 2021] [wsgi:error] [pid 9726:tid 140063431202560] [remote 192.168.28.224:52852] return self.view_functionsrule.endpoint
[Fri Jul 23 13:34:59.747382 2021] [wsgi:error] [pid 9726:tid 140063431202560] [remote 192.168.28.224:52852] File "/usr/local/lib/python3.7/dist-packages/flask_simplelogin/init.py", line 117, in simple_decorator
[Fri Jul 23 13:34:59.747385 2021] [wsgi:error] [pid 9726:tid 140063431202560] [remote 192.168.28.224:52852] return dispatch(function, *args, **kwargs)
[Fri Jul 23 13:34:59.747389 2021] [wsgi:error] [pid 9726:tid 140063431202560] [remote 192.168.28.224:52852] File "/usr/local/lib/python3.7/dist-packages/flask_simplelogin/init.py", line 98, in dispatch
[Fri Jul 23 13:34:59.747393 2021] [wsgi:error] [pid 9726:tid 140063431202560] [remote 192.168.28.224:52852] return check(must) or fun(*args, **kwargs)
[Fri Jul 23 13:34:59.747397 2021] [wsgi:error] [pid 9726:tid 140063431202560] [remote 192.168.28.224:52852] File "/var/www/secmon/secmon_web.py", line 687, in psearch
[Fri Jul 23 13:34:59.747400 2021] [wsgi:error] [pid 9726:tid 140063431202560] [remote 192.168.28.224:52852] if filename.split(".")[1] == "csv" and len(filename.split(".")) == 2:
[Fri Jul 23 13:34:59.747419 2021] [wsgi:error] [pid 9726:tid 140063431202560] [remote 192.168.28.224:52852] IndexError: list index out of range
[Fri Jul 23 13:34:59.747431 2021] [wsgi:error] [pid 9726:tid 140063431202560] [remote 192.168.28.224:52852] None
[Fri Jul 23 13:34:59.747437 2021] [wsgi:error] [pid 9726:tid 140063431202560] [remote 192.168.28.224:52852] ################## PLEASE REPORT THIS ON GITHUB ##################
@alb-uss commented on GitHub (Jul 26, 2021):
Hello ! can you contact me on the Discord (see the readme) and give me your CSV ? I will analyze the file and test this. Thx for advance
@kit567 commented on GitHub (Jul 27, 2021):
I try it again and import was successful