Skip to content

Error after install and execute (SO:Windows 10 Pro) #35

@saekadi

Description

@saekadi

After executing the next command and trying to use the bot in the discord chat (with ".play [URL]") show next error:

[2026-04-04 20:35:08] [INFO    ] discord.client: logging in using static token
[2026-04-04 20:35:10] [INFO    ] discord.gateway: Shard ID None has connected to Gateway (Session ID: d8f25702b25d9960e8616703ee67f20b).
logged in successfully as YoutubeBotbot
[youtube] Extracting URL: https://youtu.be/Zi_XLOBDo_Y?si=4knqmLwiTZgOnhkP
[youtube] Zi_XLOBDo_Y: Downloading webpage
WARNING: [youtube] No supported JavaScript runtime could be found. Only deno is enabled by default; to use another runtime add  --js-runtimes RUNTIME[:PATH]  to your command/config. YouTube extraction without a JS runtime has been deprecated, and some formats may be missing. See  https://github.com/yt-dlp/yt-dlp/wiki/EJS  for details on installing one
[youtube] Zi_XLOBDo_Y: Downloading android vr player API JSON
[youtube] Extracting URL: https://youtu.be/Zi_XLOBDo_Y?si=4knqmLwiTZgOnhkP
[youtube] Zi_XLOBDo_Y: Downloading webpage
WARNING: [youtube] No supported JavaScript runtime could be found. Only deno is enabled by default; to use another runtime add  --js-runtimes RUNTIME[:PATH]  to your command/config. YouTube extraction without a JS runtime has been deprecated, and some formats may be missing. See  https://github.com/yt-dlp/yt-dlp/wiki/EJS  for details on installing one
[youtube] Zi_XLOBDo_Y: Downloading android vr player API JSON
[info] Zi_XLOBDo_Y: Downloading 1 format(s): 139
[download] dl\901123155429560320\Zi_XLOBDo_Y.m4a has already been downloaded
[download] 100% of    1.72MiB
unhandled command error raised, err=CommandInvokeError('Command raised an exception: RuntimeError: davey library needed in order to use voice')[2026-04-04 20:35:21] [ERROR   ] discord.client: Ignoring exception in on_command_error
Traceback (most recent call last):
  File "C:\Users\user\AppData\Roaming\Python\Python314\site-packages\discord\client.py", line 508, in _run_event
    await coro(*args, **kwargs)
  File "D:\P\Descargas\YoutubeBot-master\youtubebot.py", line 210, in on_command_error
    sp.run(['./restart'])
    ~~~~~~^^^^^^^^^^^^^^^
  File "D:\Python\Python 300 algo\Lib\subprocess.py", line 554, in run
    with Popen(*popenargs, **kwargs) as process:
         ~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Python\Python 300 algo\Lib\subprocess.py", line 1038, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                        pass_fds, cwd, env,
                        ^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
                        gid, gids, uid, umask,
                        ^^^^^^^^^^^^^^^^^^^^^^
                        start_new_session, process_group)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Python\Python 300 algo\Lib\subprocess.py", line 1552, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
                             # no special security
                             ^^^^^^^^^^^^^^^^^^^^^
    ...<4 lines>...
                             cwd,
                             ^^^^
                             startupinfo)
                             ^^^^^^^^^^^^
OSError: [WinError 193] %1 no es una aplicación Win32 válida```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions