My discord bot can only access information, but not change or add anything to a .db file
Posted by udmft4jsm1 in discord-bots.
it says this when i run any command to attempt to change data: '2026 08 03 19:31:50 ERROR discord.app commands.tree Ignoring exception in command 'createmarket' [11:30:17 AM]Traceback (most recent call last): [11:30:17 AM]File "/home/container/.local/lib/python3.11/site packages/discord/app commands/commands.py", line 859, in do call [11:30:17 AM]return await self. callback(interaction, params) type: ignore [11:30:17 AM]^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11:30:17 AM]File "/home/container/bot.py", line 232, in createmarket [11:30:17 AM]cur = conn.execute( [11:30:17 AM]^^^^^^^^^^^^^ [11:30:17 AM]sqlite3.OperationalError: database or disk is full [11:30:17 AM]The above exception was the direct cause of the following exception: [11:30:17 AM]Traceback (most recent call last): [11:30:17 AM]File "/home/container/.local/lib/python3.11/site packages/discord/app commands/tree.py", line 1302, in call [11:30:17 AM]await command. invoke with namespace(interaction, namespace) [11:30:17 AM]File "/home/container/.local/lib/python3.11/site packages/discord/app commands/commands.py", line 884, in invoke with namespace [11:30:17 AM]return await self. do call(interaction, transformed values) [11:30:17 AM]^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11:30:17 AM]File "/home/container/.local/lib/python3.11/site packages/discord/app commands/commands.py", line 877, in do call [11:30:17 AM]raise CommandInvokeError(self, e) from e [11:30:17 AM]discord.app commands.errors.CommandInvokeError: Command 'createmarket' raised an exception: OperationalError: database or disk is full' my ram and disc have plenty of space left