Cog-Creators / Cog-Creators/Red-DiscordBot

[Audio] `ScriptExtractionException: Must find sig function from script` in Lavalink logs (Nothing found. This video cannot be loaded.)

Open
#6,645 3 comments 0 reactions 0 assignees View on GitHub
Category: Cogs - Audio Status: Needs Discussion Type: Bug
Dominant language
Python
Stars
5.7k
Forks
2.5k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

# ***If you are experiencing issues with Audio, please read***
*Issues with Audio are tracked in #4505. For the most up to date information, please join our support server at https://discord.gg/red*

---

### What Red version are you using?

3.5.22

### Cog name

Audio

### Command name

play

### What did you expect to happen?

I expected the bot to play the audio of the video in the channel them and I was in.

### What actually happened?

The bot did not played any audio and produced an error message in the discord channel where I issued the command. The error message is:

```
Nothing found.
This video cannot be loaded.
```

### How can we reproduce this error?

1. (Install, configure and start red: `python -m pip install -U Red-DiscordBot`, `redbot-setup`, `redbot `)
2. Enable the Audio cog: `[p]load audio`
3. Wait for Lavalink to be installed and connected
4. Join an audio channel in the server and have the bot play some music: `[p]sing` (or `[p]play https://www.youtube.com/watch?v=f9O2Rjn1azc`)

The bot does not play any music and errors with "Nothing found. This video cannot be loaded."

Note: Environment (fresh install):
```
$ lsb_release -cd
Description: Ubuntu 24.04.3 LTS
Codename: noble
```

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with the Audio cog, Lavalink, and the reported YouTube URL, then inspect the Lavalink error in the bot logs. Trace the `play` command's handling of the failed lookup; done means the reported video can be loaded and played without the "Nothing found" error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
audio-video-rtc
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.