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

Error in active-module seen on production #617

Open
zardus opened this issue Nov 3, 2024 · 0 comments
Open

Error in active-module seen on production #617

zardus opened this issue Nov 3, 2024 · 0 comments

Comments

@zardus
Copy link
Contributor

zardus commented Nov 3, 2024

ERROR [CTFd] Exception on /active-module/ [GET]
Traceback (most recent call last):
  File "/opt/venv/lib/python3.9/site-packages/flask/app.py", line 2529, in wsgi_app
    response = self.full_dispatch_request()
  File "/opt/venv/lib/python3.9/site-packages/flask/app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/opt/venv/lib/python3.9/site-packages/flask_restx/api.py", line 674, in error_router
    return original_handler(e)
  File "/opt/venv/lib/python3.9/site-packages/flask_restx/api.py", line 674, in error_router
    return original_handler(e)
  File "/opt/venv/lib/python3.9/site-packages/flask/app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
  File "/opt/venv/lib/python3.9/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/opt/CTFd/CTFd/utils/decorators/__init__.py", line 90, in authed_only_wrapper
    return f(*args, **kwargs)
  File "/opt/CTFd/CTFd/plugins/dojo_plugin/pages/dojo.py", line 85, in active_module
    "module_name": challs['current'].module.name,
AttributeError: 'NoneType' object has no attribute 'module'
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

No branches or pull requests

1 participant