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

Permission denied #2

Open
gengzhichen opened this issue May 18, 2023 · 1 comment
Open

Permission denied #2

gengzhichen opened this issue May 18, 2023 · 1 comment

Comments

@gengzhichen
Copy link

gengzhichen commented May 18, 2023

这个大概会是啥问题,已经是管理员权限运行的anaconda prompt 和tuneflow

Exception: Failed to generate audio

run plugin
DEBUG:pydub.converter:subprocess.call(['ffmpeg', '-y', '-read_ahead_limit', '-1', '-i', 'cache:pipe:0', '-acodec', 'pcm_s16le', '-vn', '-f', 'wav', '-'])
Using cached model
Traceback (most recent call last):
File "C:\ai\so-vits-svc-plugin\inferencer.py", line 105, in vc_fn
sampling_rate, audio = audio_from_file(input_audio_path)
File "C:\ai\so-vits-svc-plugin\inferencer.py", line 77, in audio_from_file
audio = AudioSegment.from_file(filename)
File "C:\Users\xxx\anaconda3\envs\tuneflow\lib\site-packages\pydub\audio_segment.py", line 651, in from_file
file, close_file = _fd_or_path_or_tempfile(file, 'rb', tempfile=False)
File "C:\Users\xxx\anaconda3\envs\tuneflow\lib\site-packages\pydub\utils.py", line 60, in _fd_or_path_or_tempfile
fd = open(fd, mode=mode)
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\xxx\\AppData\\Local\\Temp\\tmpy_8by6tlmp3'
Traceback (most recent call last):
File "C:\ai\so-vits-svc-plugin\plugin.py", line 144, in run
raise Exception("Failed to generate audio")
Exception: Failed to generate audio

@0Liuguosong
Copy link

同样的问题,有没有找到解决办法呢?

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

2 participants