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

Handle ModuleNotFoundError in CodeNode #1248

Open
sentry-io bot opened this issue Feb 26, 2025 · 0 comments
Open

Handle ModuleNotFoundError in CodeNode #1248

sentry-io bot opened this issue Feb 26, 2025 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Feb 26, 2025

Sentry Issue: OPEN-CHAT-STUDIO-QN

ModuleNotFoundError: No module named 'PyPDF2'
(3 additional frame(s) were not displayed)
...
  File "apps/teams/decorators.py", line 24, in _inner
    return view_func(request, *args, **kwargs)
  File "apps/pipelines/views.py", line 242, in pipeline_data
    "errors": pipeline.validate(),
  File "apps/pipelines/models.py", line 155, in validate
    node_class.model_validate(node.params)
  File "apps/pipelines/nodes/nodes.py", line 783, in validate_code
    exec(byte_code, {}, custom_locals)
  File "<inline code>", line 6, in <module>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

0 participants