[AUTO] Error: Erreur lors du chargement de commandes.bug_repor... #58

Closed
opened 2026-03-28 20:40:11 +00:00 by Gameur.py · 2 comments
Gameur.py commented 2026-03-28 20:40:11 +00:00 (Migrated from gitlab.com)

Type: ERROR
Message: Erreur lors du chargement de commandes.bug_report : Extension 'commandes.bug_report' raised an error: OSError: [Errno 98] error while attempting to bind on address ('127.0.0.1', 5001): [errno 98] address already in use
Source: KubyBot.error:104

Traceback:

Traceback (most recent call last):
  File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/ext/commands/bot.py", line 974, in _load_from_module_spec
    await setup(self)
  File "/home/discord/Bot/Kuby_V2/commandes/bug_report.py", line 262, in setup
    await bot.add_cog(BugReport(bot))
  File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/ext/commands/bot.py", line 810, in add_cog
    cog = await cog._inject(self, override=override, guild=guild, guilds=guilds)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/ext/commands/cog.py", line 710, in _inject
    await maybe_coroutine(self.cog_load)
  File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/utils.py", line 713, in maybe_coroutine
    return await value
           ^^^^^^^^^^^
  File "/home/discord/Bot/Kuby_V2/commandes/bug_report.py", line 120, in cog_load
    await self.site.start()
  File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/aiohttp/web_runner.py", line 121, in start
    self._server = await loop.create_server(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^
  File "/usr/lib/python3.13/asyncio/base_events.py", line 1630, in create_server
    raise OSError(err.errno, msg) from None
OSError: [Errno 98] error while attempting to bind on address ('127.0.0.1', 5001): [errno 98] address already in use

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/discord/Bot/Kuby_V2/bot.py", line 97, in setup_hook
    await self.load_extension(extension)
  File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/ext/commands/bot.py", line 1040, in load_extension
    await self._load_from_module_spec(spec, name)
  File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/ext/commands/bot.py", line 979, in _load_from_module_spec
    raise errors.ExtensionFailed(key, e) from e
discord.ext.commands.errors.ExtensionFailed: Extension 'commandes.bug_report' raised an error: OSError: [Errno 98] error while attempting to bind on address ('127.0.0.1', 5001): [errno 98] address already in use

**Type:** ERROR **Message:** ❌ Erreur lors du chargement de commandes.bug_report : Extension 'commandes.bug_report' raised an error: OSError: [Errno 98] error while attempting to bind on address ('127.0.0.1', 5001): [errno 98] address already in use **Source:** KubyBot.error:104 **Traceback:** ```python Traceback (most recent call last): File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/ext/commands/bot.py", line 974, in _load_from_module_spec await setup(self) File "/home/discord/Bot/Kuby_V2/commandes/bug_report.py", line 262, in setup await bot.add_cog(BugReport(bot)) File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/ext/commands/bot.py", line 810, in add_cog cog = await cog._inject(self, override=override, guild=guild, guilds=guilds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/ext/commands/cog.py", line 710, in _inject await maybe_coroutine(self.cog_load) File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/utils.py", line 713, in maybe_coroutine return await value ^^^^^^^^^^^ File "/home/discord/Bot/Kuby_V2/commandes/bug_report.py", line 120, in cog_load await self.site.start() File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/aiohttp/web_runner.py", line 121, in start self._server = await loop.create_server( ^^^^^^^^^^^^^^^^^^^^^^^^^ ...<7 lines>... ) ^ File "/usr/lib/python3.13/asyncio/base_events.py", line 1630, in create_server raise OSError(err.errno, msg) from None OSError: [Errno 98] error while attempting to bind on address ('127.0.0.1', 5001): [errno 98] address already in use The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/discord/Bot/Kuby_V2/bot.py", line 97, in setup_hook await self.load_extension(extension) File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/ext/commands/bot.py", line 1040, in load_extension await self._load_from_module_spec(spec, name) File "/home/discord/Bot/Kuby_V2/venv/lib/python3.13/site-packages/discord/ext/commands/bot.py", line 979, in _load_from_module_spec raise errors.ExtensionFailed(key, e) from e discord.ext.commands.errors.ExtensionFailed: Extension 'commandes.bug_report' raised an error: OSError: [Errno 98] error while attempting to bind on address ('127.0.0.1', 5001): [errno 98] address already in use ```
Gameur.py commented 2026-03-28 20:40:11 +00:00 (Migrated from gitlab.com)

assigned to @Gameur.py

assigned to @Gameur.py
Gameur.py commented 2026-03-28 21:05:57 +00:00 (Migrated from gitlab.com)

set status to Done

set status to **Done**
Gameur.py (Migrated from gitlab.com) closed this issue 2026-03-28 21:05:57 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Gameur/Kuby#58
No description provided.