Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 8: character maps to <undefined> #134

Open
Crazy-Hunt opened this issue Jul 2, 2024 · 0 comments

Comments

@Crazy-Hunt
Copy link

Crazy-Hunt commented Jul 2, 2024

I keep getting this error when trying to separate vocals from instruments

[c:\Users\Alex\AppData\Local\Programs\Python\Python312\Lib\site-packages\gradio_client\documentation.py:104](file:///C:/Users/Alex/AppData/Local/Programs/Python/Python312/Lib/site-packages/gradio_client/documentation.py:104): UserWarning: Could not get documentation group for <class 'gradio.mix.Parallel'>: No known documentation group for module 'gradio.mix'
  warnings.warn(f"Could not get documentation group for {cls}: {exc}")
[c:\Users\Alex\AppData\Local\Programs\Python\Python312\Lib\site-packages\gradio_client\documentation.py:104](file:///C:/Users/Alex/AppData/Local/Programs/Python/Python312/Lib/site-packages/gradio_client/documentation.py:104): UserWarning: Could not get documentation group for <class 'gradio.mix.Series'>: No known documentation group for module 'gradio.mix'
  warnings.warn(f"Could not get documentation group for {cls}: {exc}")
2024-07-02 12:09:28 | INFO | fairseq.tasks.text_to_speech | Please install tensorboardX: pip install tensorboardX
2024-07-02 12:09:30 | INFO | faiss.loader | Loading faiss with AVX2 support.
2024-07-02 12:09:30 | INFO | faiss.loader | Successfully loaded faiss with AVX2 support.
[~] Starting AI Cover Generation Pipeline...
[~] Downloading song...
ERROR: unable to download video data: HTTP Error 403: Forbidden
[~] Separating Vocals from Instrumental...

---------------------------------------------------------------------------
UnicodeDecodeError                        Traceback (most recent call last)
Cell In[4], [line 61](vscode-notebook-cell:?execution_count=4&line=61)
     [58](vscode-notebook-cell:?execution_count=4&line=58) process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
     [60](vscode-notebook-cell:?execution_count=4&line=60) # Print the output in real-time
---> [61](vscode-notebook-cell:?execution_count=4&line=61) for line in process.stdout:
     [62](vscode-notebook-cell:?execution_count=4&line=62)     print(line, end='')
     [64](vscode-notebook-cell:?execution_count=4&line=64) # Wait for the process to finish

File c:\Users\Alex\AppData\Local\Programs\Python\Python312\Lib\encodings\cp1252.py:23, in IncrementalDecoder.decode(self, input, final)
     [22](file:///C:/Users/Alex/AppData/Local/Programs/Python/Python312/Lib/encodings/cp1252.py:22) def decode(self, input, final=False):
---> [23](file:///C:/Users/Alex/AppData/Local/Programs/Python/Python312/Lib/encodings/cp1252.py:23)     return codecs.charmap_decode(input,self.errors,decoding_table)[0]

UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 8: character maps to <undefined>

The ERROR: unable to download video data: HTTP Error 403: Forbidden is a new error i just got, the song downloaded on other attempts
EDIT:
The ERROR: unable to download video data: HTTP Error 403: Forbidden disappeared after running again, but i am still getting UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 8: character maps to <undefined>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant