Langflow 1.6.0 - Error importing module langflow.components.composio.googletasks_composio: No module named 'base'
Bug Description
On starting langflow 1.6.0, I get an error thrown telling me that
Error importing module langflow.components.composio.googletasks_composio: No module named 'base'
in context
✓ Starting Core Services ✓ Connecting Database... ✓ Loading Components... ✓ Adding Starter Projects... ▢ Launching Langflow...2025-10-01T09:15:49.718927Z [error ] Error importing module langflow.components.composio.googletasks_composio: No module named 'base' ✓ Launching Langflow...
I can still use the langflow UI, all the environment variables have been detected, and I can run my flows, but the logs show other errors exiting from agents, which may be related.
[2025-10-01 10:22:22,016][ERROR] parent run not found
Traceback (most recent call last):
File ".../lib/python3.13/site-packages/langfuse/callback/langchain.py", line 553, in on_tool_start
raise Exception("parent run not found")
Exception: parent run not found
Reproduction
Steps to reproduce. (Python 3.13.3)
- git clone of the repo
2.checkout tag 1.6.0
3.start using
uv run langflow run --env-file=./.env
Expected behavior
Will these errors cause the flow to misbehave.
Who can help?
No response
Operating System
MacOS 15.7
Langflow Version
1.6.0
Python Version
3.12
Screenshot
No response
Flow File
No response
The relevant code in langchain.py is
if parent_run_id is None or parent_run_id not in self.runs:
raise Exception("parent run not found")
meta = self.__join_tags_and_metadata(tags, metadata)
For internal control: https://datastax.jira.com/browse/LFOSS-2370
Same problem here: Launching Langflow...[2m2025-10-02T21:15:16.302382Z[0m [[31m[1merror [0m] [1mError importing module langflow.components.composio.googletasks_composio: No module named 'base'[0m
I switched to langflowai/langflow:nightly-latest and everything worked fine.
same here. I see this in .venv/lib/python3.12/site-packages/langflow/components/composio/googletasks_composio.py:
from base.langflow.base.composio.composio_base import ComposioBaseComponent # problematic import
class ComposioGoogleTasksAPIComponent(ComposioBaseComponent):
display_name: str = "Google Tasks"
icon = "GoogleTasks"
documentation: str = "https://docs.composio.dev"
app_name = "googletasks"
Error importing module langflow.components.composio.googletasks_composio: No module named 'base'
Same Error while installing langflow in kubernetes
Docker Image Tag version: 1.5.1
Same error while installing in a container inside a docker host LXC on Proxmox
hi, does anyone managed to solve this? i tried using the 1.5.0 version but no luck, ended up with another error:
/usr/local/lib/python3.12/asyncio/base_events.py:554: ResourceWarning: asynchronous generator <async_generator object BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.body_stream at 0x7a97b8595380> was scheduled after loop.shutdown_asyncgens() call
warnings.warn(
ResourceWarning: Enable tracemalloc to get the object allocation traceback
currently i`m installing with the values bellow on kubernetes using the IDE helm chart:
service:
type: ClusterIP
port: 7860
ingress:
enabled: true
className: "nginx"
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/rewrite-target: /
hosts:
- host: internal-langflow.XXXXX.com.br
paths:
- path: /
pathType: Prefix
tls:
- secretName: langflow-tls
hosts:
- internal-langflow.XXXXXX.com.br
postgresql:
enabled: true
fullnameOverride: "langflow-ide-postgresql-service"
image:
repository: bitnamilegacy/postgresql
tag: "16"
pullPolicy: IfNotPresent
auth:
username: "langflow"
password: "langflow-postgres"
database: "langflow-db"
langflow:
global:
image:
tag: "1.5.0"
frontend:
resources:
requests:
cpu: "3"
memory: "10Gi"
limits:
cpu: "3"
memory: "10Gi"
backend:
resources:
requests:
cpu: "3"
memory: "10Gi"
limits:
cpu: "3"
memory: "10Gi"
image:
repository: langflowai/langflow
imagePullPolicy: IfNotPresent
tag: "1.5.0"
externalDatabase:
enabled: true
driver:
value: "postgresql"
host:
value: "langflow-ide-postgresql-service"
port:
value: "5432"
database:
value: "langflow-db"
user:
value: "langflow"
password:
valueFrom:
secretKeyRef:
key: "password"
name: "langflow-ide-postgresql-service"
sqlite:
enabled: false
```
taking a look!
@chughts Thanks for reporting this bug! This path error is fixed on main and will be released with v1.7.
As a workaround now, you can try modifying the googletasks_composio component by replacing the current import path inside it:
- from base.langflow.base.composio.composio_base import ComposioBaseComponent
+ from langflow.base.composio.composio_base import ComposioBaseComponent
There was only one module with from base.langflow.base.composio.composio_base import ComposioBaseComponent which I've updated.
This seems to have fixed the startup problem.
However, I am still seeing
[2025-10-08 09:57:58,196][ERROR] parent run not found
Traceback (most recent call last):
File ".../langflow/.venv/lib/python3.13/site-packages/langfuse/callback/langchain.py", line 553, in on_tool_start
raise Exception("parent run not found")
Exception: parent run not found
and
[2025-10-08 10:40:23,493][ERROR] run not found
Traceback (most recent call last):
File ".../langflow/.venv/lib/python3.13/site-packages/langfuse/callback/langchain.py", line 661, in on_tool_end
raise Exception("run not found")
Exception: run not found
On flow runs, bracketing the tool executions.
Glad to hear the startup problem is taken care of!
There was only one module with
from base.langflow.base.composio.composio_base import ComposioBaseComponentwhich I've updated.This seems to have fixed the startup problem.
However, I am still seeing
[2025-10-08 09:57:58,196][ERROR] parent run not found Traceback (most recent call last): File ".../langflow/.venv/lib/python3.13/site-packages/langfuse/callback/langchain.py", line 553, in on_tool_start raise Exception("parent run not found") Exception: parent run not found...
As for the other error, we are looking into it, and it seems unrelated to the first one.
Do you want me to raise a new issue for the parent run not found. If so this issue can be closed.
Hi @chughts, thanks for reaching out! Was just going to ask - please go ahead with the new issue and if possible, can you export the flow causing these errors and attach it in the new issue? Thanks!
Parent run not found issue is #10242