Open jontobonto opened 3 years ago
not just in the command just everywhere on server, in shell, as a script or in command
Could you share the entire stack trace for this?
On Sun, 1 Nov 2020, 04:06 Narmy, notifications@github.com wrote:
not just in the command just everywhere on server, in shell, as a script or in command
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Techcatchers/PyLyrics-Extractor/issues/6#issuecomment-719997134, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJ4A42VZDTRPCUWQYEY5DTSNSGQPANCNFSM4TGEE3EA .
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/discord/ext/commands/core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "/home/xino/cogs/meta.py", line 398, in lyrics
data = extract_lyrics.get_lyrics(song)
File "/usr/local/lib/python3.8/dist-packages/lyrics_extractor/lyrics.py", line 195, in get_lyrics
raise LyricScraperException({"error": "No results found"})
lyrics_extractor.lyrics.LyricScraperException: {'error': 'No results found'}```
or do you mean the code i'm using?
btw, server is running linux ubuntu 20.04
Have you followed the steps to generate the API keys as stated in the readme? Also, have you tried other song names too?
On Sun, Nov 1, 2020 at 7:57 PM Narmy notifications@github.com wrote:
or do you mean the code i'm using?
btw, server is running linux ubuntu 20.04
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Techcatchers/PyLyrics-Extractor/issues/6#issuecomment-720096973, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJ4A44YUQUK624OJI6FQYLSNVV5LANCNFSM4TGEE3EA .
I followed the steps and it is working on my local pc but not on my server, I also tried on other servers too I tried about 5 names and every worked on pc, no one on any server
Can you check if all the dependencies are installed correctly on your server?
Also, check specifically do you have this parser installed?
pip install lxml
P.S: Use pip or pip3 based on the version you are using. P.P.S: Do let me know if this worked, I'll update the library accordingly.
On Mon, Nov 2, 2020 at 9:49 PM Narmy notifications@github.com wrote:
I followed the steps and it is working on my local pc but not on my server, I also tried on other servers too I tried about 5 names and every worked on pc, no one on any server
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Techcatchers/PyLyrics-Extractor/issues/6#issuecomment-720573104, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJ4A45EOUL4J6F63W55AB3SN3LXLANCNFSM4TGEE3EA .
I checked both parser & dependencies, everything is installed. Also tried to install lxml, its up2date as well sadly still not working
OK, clone this repo on your server from GitHub and try to debug separately there.
You'll most likely get to know where the problem lies.
On Mon, 2 Nov 2020, 22:34 Narmy, notifications@github.com wrote:
I checked both parser & dependencies, everything is installed. Also tried to install lxml, its up2date as well [image: image] https://user-images.githubusercontent.com/67862800/97896726-c6294e00-1d35-11eb-965c-e82f9019ae20.png
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Techcatchers/PyLyrics-Extractor/issues/6#issuecomment-720600796, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJ4A47FIV3MHYU3TZSBBU3SN3RBBANCNFSM4TGEE3EA .
okay, i'll do Thank you :)
Probably too late to answer but according to my research this happens when you use genius to extract lyrics in vps. Genius has some verification or something which makes it unusable in vps most likely.
I need this for my Discord Bot so I can create a lyrics command, the code works when I use it on my pc but in the command, it does not work as expected. Always raises
lyrics_extractor.lyrics.LyricScraperException: {'error': 'No results found'}