You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running the latest version of GrepMarx with Docker.
After creating a new project and pressing the "New analysis" button, I get the following message in the browser:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
while, in the console logs, I get the following messages:
grepmarx-1 | [2024-03-28 13:55:54 +0000] [19] [DEBUG] POST /analysis/scans/launch
grepmarx-1 | [2024-03-28 13:55:54,526] ERROR in app: Exception on /analysis/scans/launch [POST]
grepmarx-1 | Traceback (most recent call last):
grepmarx-1 | File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 2073, in wsgi_app
grepmarx-1 | response = self.full_dispatch_request()
grepmarx-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
grepmarx-1 | File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1518, in full_dispatch_request
grepmarx-1 | rv = self.handle_user_exception(e)
grepmarx-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
grepmarx-1 | File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1516, in full_dispatch_request
grepmarx-1 | rv = self.dispatch_request()
grepmarx-1 | ^^^^^^^^^^^^^^^^^^^^^^^
grepmarx-1 | File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1502, in dispatch_request
grepmarx-1 | return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
grepmarx-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
grepmarx-1 | File "/usr/local/lib/python3.11/site-packages/flask_login/utils.py", line 277, in decorated_view
grepmarx-1 | return current_app.ensure_sync(func)(*args, **kwargs)
grepmarx-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
grepmarx-1 | File "/opt/grepmarx/app/analysis/routes.py", line 99, in scans_launch
grepmarx-1 | import_rules(project.analysis, project_rules_path)
grepmarx-1 | File "/opt/grepmarx/app/analysis/util.py", line 356, in import_rules
grepmarx-1 | copyfile(src, dst)
grepmarx-1 | File "/usr/local/lib/python3.11/shutil.py", line 256, in copyfile
grepmarx-1 | with open(src, 'rb') as fsrc:
grepmarx-1 | ^^^^^^^^^^^^^^^
grepmarx-1 | FileNotFoundError: [Errno 2] No such file or directory: 'data/rules/Semgrep-Rules/contrib/dlint/dlint-equivalent.yaml'
Thanks! :)
The text was updated successfully, but these errors were encountered:
It looks like your rules packs are referencing non-existent rules. Will add a check for that case, as a workaround you can click on the "Sync rules" button in the "Analysis rules" page.
I'm running the latest version of GrepMarx with Docker.
After creating a new project and pressing the "New analysis" button, I get the following message in the browser:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
while, in the console logs, I get the following messages:
Thanks! :)
The text was updated successfully, but these errors were encountered: