chatbots icon indicating copy to clipboard operation
chatbots copied to clipboard

[Bug]: Redbot

Open Czekoloczek opened this issue 8 months ago • 5 comments

Panel Version

canary

Wings Version

1.0.0-beta11

Service

Redbot

Modified

No, I did not modify the egg

Expected Behavior

Bot starts normally

Actual Behavior

Bot thorws an error

Traceback (most recent call last):
  File "/home/container/.local/bin/redbot", line 5, in <module>
    from redbot.__main__ import main
  File "/home/container/.local/lib/python3.11/site-packages/redbot/__main__.py", line 27, in <module>
    from redbot.core.bot import Red, ExitCodes, _NoOwnerSet
  File "/home/container/.local/lib/python3.11/site-packages/redbot/core/__init__.py", line 4, in <module>
    from .config import Config
  File "/home/container/.local/lib/python3.11/site-packages/redbot/core/config.py", line 23, in <module>
    from ._drivers import BaseDriver, ConfigCategory, IdentifierData, get_driver
  File "/home/container/.local/lib/python3.11/site-packages/redbot/core/_drivers/__init__.py", line 4, in <module>
    from .. import data_manager
  File "/home/container/.local/lib/python3.11/site-packages/redbot/core/data_manager.py", line 13, in <module>
    from . import commands
  File "/home/container/.local/lib/python3.11/site-packages/redbot/core/commands/__init__.py", line 48, in <module>
    from .help import (
  File "/home/container/.local/lib/python3.11/site-packages/redbot/core/commands/help.py", line 46, in <module>
    from ..utils._internal_utils import fuzzy_command_search, format_fuzzy_results
  File "/home/container/.local/lib/python3.11/site-packages/redbot/core/utils/_internal_utils.py", line 34, in <module>
    from packaging.requirements import Requirement
ModuleNotFoundError: No module named 'packaging'

Steps To Reproduce

  • Create a server with the egg and wait for the bot to install
  • Try to start the bot

Install logs

https://paste.pelistuff.com/F3TK

Czekoloczek avatar Apr 09 '25 21:04 Czekoloczek

looks Like a Networkissue

ERROR: [Apr 9 20:06:38.540] sftp: failed to accept inbound connection error=read tcp 10.0.0.128:2022->45.140.17.105:50250: read: connection reset by peer ip=45.140.17.105:50250

i use redbot and have No problems

gOOvER avatar Apr 10 '25 01:04 gOOvER

Wasn't a network issue

fixed it by adding su - container -c 'pip install -U packaging' to the installation script

Czekoloczek avatar Apr 10 '25 09:04 Czekoloczek

also i needed to modify the startup command (added --owner {{OWNER}}) PATH=$PATH:/home/container/.local/bin redbot pterodactyl --token {{TOKEN}} --prefix {{PREFIX}} --owner {{OWNER}}

Czekoloczek avatar Apr 10 '25 10:04 Czekoloczek

Wasn't a network issue

fixed it by adding su - container -c 'pip install -U packaging' to the installation script

never used su in an Install Script

gOOvER avatar Apr 10 '25 11:04 gOOvER

i'm also using Red already, but for testing made a new server and it installed and runs just fine Every installation has a log inside wings-log-directory with the uuid.log, maybe look there what happened

mristau avatar Apr 10 '25 12:04 mristau