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

Temp Folder Permissions Denied on Windows 10 #15

Open
Yasser-Mahmoud opened this issue Jan 25, 2016 · 9 comments
Open

Temp Folder Permissions Denied on Windows 10 #15

Yasser-Mahmoud opened this issue Jan 25, 2016 · 9 comments

Comments

@Yasser-Mahmoud
Copy link

I am running into this problem I don't know what to do

asd

@aaoudi
Copy link

aaoudi commented Feb 3, 2016

I'm having the same issue, any luck?

@Yasser-Mahmoud
Copy link
Author

No, I had to try it on linux. The code worked flawslessly but the output file is zero byte. Let me know if you had any luck

@aaoudi
Copy link

aaoudi commented Feb 3, 2016

Interesting, still no luck on win32 but I'll try to run it on a nix box and see what happens, I'll let you know what happens.

@aaoudi
Copy link

aaoudi commented Feb 4, 2016

ok, got it to work on Linux as well but the same issue, however I think I know why it's not working. The Speech API is no longer available for the public. I was trying to get my own API key but there doesn't seem to be away to do that unless you're working on the Chromium project.

https://www.chromium.org/developers/how-tos/api-keys

@avi-barnea
Copy link

close the .flac file before running ffmpeg on it.
in class FLACConverter change to :

temp = tempfile.NamedTemporaryFile(suffix='.flac')
temp.close()

command = ["ffmpeg", "-y", "-i" , self.source_path,
"-ss", str(start), "-t", str(end-start),
"-loglevel", "error", temp.name]
subprocess.check_output(command)
#os.system('stty sane')

return open(temp.name, "rb").read()

@sknbl
Copy link

sknbl commented Apr 27, 2016

temp = tempfile.NamedTemporaryFile(suffix='.flac', delete=False)

@toannguyen3105
Copy link

Tks you

@OldSchool297
Copy link

I have the same problem but i use Vista, how should i edit the autosub_app?

@OldSchool297
Copy link

I solved it by only change temp = tempfile.NamedTemporaryFile(suffix='.flac', delete=False) Thanks very much for the help

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

6 participants