[BUG]TypeError: __init__() got an unexpected keyword argument 'keyword'
- Langage dominant
- Python
- Étoiles
- 4.4k
- Forks
- 593
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
```
"C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\python.exe" "C:\Program Files\JetBrains\PyCharm Community Edition 2020.1.1\plugins\python-ce\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 58829 --file C:/Users/16413/Documents/GitHub/LostXmas/seq2seq/server/inspiration.py
pydev debugger: process 19136 is connecting
Connected to pydev debugger (build 201.7846.77)
Traceback (most recent call last):
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\click\core.py", line 781, in main
with self.make_context(prog_name, args, **extra) as ctx:
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\click\core.py", line 698, in make_context
ctx = Context(self, info_name=info_name, parent=parent, **extra)
TypeError: __init__() got an unexpected keyword argument 'keyword'
```
code:
```
import music_dl
r = music_dl.main(keyword='平安夜')
print(r)
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
The error occurs when calling music_dl.main with a keyword argument. Look at the main function in music_dl/__init__.py or the entry point script to see its signature. Check if the function accepts 'keyword' or if the API changed. Run the provided code snippet to reproduce the error, then adjust the call to match the expected parameters.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- cli
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 70/100