{"record":{"id":"8779844124add7e7","repo":"HKUDS/nanobot","slug":"matrix-dependencies-not-installed-run-nanobot-pl","errorCode":null,"errorMessage":"Matrix dependencies not installed. Run: nanobot plugins enable matrix","messagePattern":"Matrix dependencies not installed\\. Run: nanobot plugins enable matrix","errorType":"exception","errorClass":"ImportError","httpStatus":null,"severity":"error","filePath":"nanobot/channels/matrix/runtime.py","lineNumber":55,"sourceCode":"        KeyVerificationStart,\n        LoginResponse,\n        MatrixRoom,\n        RoomEncryptedMedia,\n        RoomMessage,\n        RoomMessageMedia,\n        RoomMessageText,\n        RoomSendError,\n        RoomSendResponse,\n        RoomTypingError,\n        SyncError,\n        SyncResponse,\n        ToDeviceError,\n        UploadError,\n    )\n    from nio.crypto.attachments import decrypt_attachment\n    from nio.exceptions import EncryptionError\nexcept ImportError as e:\n    raise ImportError(\n        \"Matrix dependencies not installed. Run: nanobot plugins enable matrix\"\n    ) from e\n\nfrom nanobot.bus.events import OutboundMessage\nfrom nanobot.bus.outbound_events import ProgressEvent\nfrom nanobot.bus.queue import MessageBus\nfrom nanobot.channels.base import BaseChannel\nfrom nanobot.config.paths import get_data_dir, get_media_dir\nfrom nanobot.config.schema import Base\nfrom nanobot.utils.helpers import safe_filename\nfrom nanobot.utils.logging_bridge import redirect_lib_logging\n\nTYPING_NOTICE_TIMEOUT_MS = 30_000\n# Must stay below TYPING_NOTICE_TIMEOUT_MS so the indicator doesn't expire mid-processing.\nTYPING_KEEPALIVE_INTERVAL_MS = 20_000\nMATRIX_HTML_FORMAT = \"org.matrix.custom.html\"\n_ATTACH_MARKER = \"[attachment: {}]\"\n_ATTACH_TOO_LARGE = \"[attachment: {} - too large]\"","sourceCodeStart":37,"sourceCodeEnd":73,"githubUrl":"https://github.com/HKUDS/nanobot/blob/42f37dc4c0e409eac7818a82d165c5f2757bc075/nanobot/channels/matrix/runtime.py#L37-L73","documentation":"Error \"Matrix dependencies not installed. Run: nanobot plugins enable matrix\" thrown in HKUDS/nanobot.","triggerScenarios":"Thrown at nanobot/channels/matrix/runtime.py:55 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"42f37dc4c0e409eac7818a82d165c5f2757bc075","analyzedAt":"2026-08-26T00:18:52.276Z","schemaVersion":2},"datasetVersion":"2026-08-26T04:18:47.238Z"}