Skip to content

Fix ModuleNotFoundError for integrations package#1450

Open
LokiMetaSmith wants to merge 1 commit intomainfrom
fix-integrations-module-not-found-13198800040126701617
Open

Fix ModuleNotFoundError for integrations package#1450
LokiMetaSmith wants to merge 1 commit intomainfrom
fix-integrations-module-not-found-13198800040126701617

Conversation

@LokiMetaSmith
Copy link
Owner

The application was failing to start with a ModuleNotFoundError: No module named 'integrations'.
This was caused by pipecatapp/integrations lacking an __init__.py file, preventing Python from treating it as a package in the deployment environment.
This change creates an empty pipecatapp/integrations/__init__.py to explicitly mark the directory as a package.
Verified by creating a script that attempts the import and confirming it proceeds past the module lookup (failing later on missing dependencies in the test environment, which confirms the module was found).


PR created automatically by Jules for task 13198800040126701617 started by @LokiMetaSmith

Added `__init__.py` to `pipecatapp/integrations` to ensure it is recognized as a Python package. This resolves the `ModuleNotFoundError` encountered when `pipecatapp/tools/openclaw_tool.py` attempts to import `integrations.openclaw` in environments where implicit namespace packages are not supported or correctly resolved.

Co-authored-by: LokiMetaSmith <5054116+LokiMetaSmith@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

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

Successfully merging this pull request may close these issues.

1 participant