-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Background execution error: 'NoneType' object has no attribute 'update_timestamp_tz' #3596
Copy link
Copy link
Closed
Closed
Copy link
Labels
planned[Status] This issue is planned to be work on by ADK eng team[Status] This issue is planned to be work on by ADK eng teamrequest clarification[Status] The maintainer need clarification or more information from the author[Status] The maintainer need clarification or more information from the authorservices[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etcstale[Status] Issues which have been marked inactive since there is no user response[Status] Issues which have been marked inactive since there is no user response
Metadata
Metadata
Assignees
Labels
planned[Status] This issue is planned to be work on by ADK eng team[Status] This issue is planned to be work on by ADK eng teamrequest clarification[Status] The maintainer need clarification or more information from the author[Status] The maintainer need clarification or more information from the authorservices[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etcstale[Status] Issues which have been marked inactive since there is no user response[Status] Issues which have been marked inactive since there is no user response
** Please make sure you read the contribution guide and file the issues in the right place. **
Contribution guide.
Describe the bug
DatabaseSessionService is not working for postgresql and i;m using working combination of Google-adk and AG UI
To Reproduce
Please share a minimal code and data to reproduce your problem.
Steps to reproduce the behavior:
python version - 3.12.9
google-adk - 1.18.0
Expected behavior
I'm using the postgresql here for DatabaseSessionService and it can't able to persist the information in events tables in postgres
agent= ADKAgent( adk_agent=agent, user_id_extractor=extract_user_id, app_name_extractor=extract_app_name, session_timeout_seconds=3600, session_service=DatabaseSessionService(db_url=POSTGRES_DB_URL), use_in_memory_services=True, memory_service=shared_memory_service, )Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Model Information:
Additional context
Add any other context about the problem here.