You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Database Connection Error When Using Image Generation Plugin
Bug Description
When installing and using the @elizaos/plugin-image-generation plugin, the application crashes with a database connection error, even though the plugin itself doesn't directly use database functionality.
Steps to Reproduce
Install the image generation plugin
Start the agent with the plugin enabled
Error Message
TypeError: The database connection is not open
at Database.prepare (/Users/xxx/eliza/node_modules/better-sqlite3/lib/methods/wrappers.js:5:21)
at SqliteDatabaseAdapter.getParticipantsForAccount (file:///Users/xxx/eliza/packages/adapter-sqlite/dist/index.js:137:30)
at AgentRuntime.ensureParticipantExists (file:///Users/xxx/eliza/packages/core/dist/index.js:29863:57)
Stack Trace Analysis
The error occurs in:
packages/adapter-sqlite/dist/index.js:137:30
packages/core/dist/index.js:29863:57
Specifically in AgentRuntime.ensureParticipantExists
Additional Context
The application works fine without the image generation plugin
The error seems to be triggered by the core's participant management system, not directly by the plugin
No database configuration is required in the documentation for the image plugin
Environment
Node.js: v23.5.0
Package Manager: pnpm
The text was updated successfully, but these errors were encountered:
Database Connection Error When Using Image Generation Plugin
Bug Description
When installing and using the
@elizaos/plugin-image-generation
plugin, the application crashes with a database connection error, even though the plugin itself doesn't directly use database functionality.Steps to Reproduce
Error Message
TypeError: The database connection is not open
at Database.prepare (/Users/xxx/eliza/node_modules/better-sqlite3/lib/methods/wrappers.js:5:21)
at SqliteDatabaseAdapter.getParticipantsForAccount (file:///Users/xxx/eliza/packages/adapter-sqlite/dist/index.js:137:30)
at AgentRuntime.ensureParticipantExists (file:///Users/xxx/eliza/packages/core/dist/index.js:29863:57)
Stack Trace Analysis
The error occurs in:
packages/adapter-sqlite/dist/index.js:137:30
packages/core/dist/index.js:29863:57
AgentRuntime.ensureParticipantExists
Additional Context
Environment
The text was updated successfully, but these errors were encountered: