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

Program crashes mid-download | PermissionError: [Errno 13] Permission denied? #10

Open
fttdgc opened this issue Mar 21, 2021 · 1 comment

Comments

@fttdgc
Copy link

fttdgc commented Mar 21, 2021

Started getting this couple days ago and don't know if it's a Network error, my Python's error, or something else. The last few days when running the program, it'll often start out fine and then randomly stop the download with the crash error below.

The crash itself is completely random. Sometimes it wont happen at all, but, others it will happen with every file, typically during the ts file download since that's the longest part. When it crashes the timing is completely random too, some ts files may download 10 parts, others 200, 500, etc.

`C:\Users[XXX]\Desktop\WWE-Network-Downloader>py main.py -q 2 -t https://watch.w
we.com/episode/SmackDown-4670
Succesfully logged in
Got the video information
aac files finished downloading
596 ts files downloaded out of 840Traceback (most recent call last):
File "main.py", line 192, in
download.download_playlist(**kwargs)
File "C:\Users[XXX]\Desktop\WWE-Network-Downloader\download_util.py", line 11
8, in download_playlist
self.write_data(download_data.data, "{}.{}".format(title, format))
File "C:\Users[XXX]\Desktop\WWE-Network-Downloader\download_util.py", line 33
, in write_data
f = open(location,"ab+")
PermissionError: [Errno 13] Permission denied: 'C:\Users\[XXX]\Desktop\WWE-N
etwork-Downloader/inprocess/WWE SmackDown - S2002E45 - 11-07-2002.ts'

C:\Users[XXX]\Desktop\WWE-Network-Downloader>py main.py -q 2 -t https://watch.w
we.com/episode/SmackDown-4685
Succesfully logged in
Got the video information
aac files finished downloading
134 ts files downloaded out of 818Traceback (most recent call last):
File "main.py", line 192, in
download.download_playlist(**kwargs)
File "C:\Users[XXX]\Desktop\WWE-Network-Downloader\download_util.py", line 11
8, in download_playlist
self.write_data(download_data.data, "{}.{}".format(title, format))
File "C:\Users[XXX]\Desktop\WWE-Network-Downloader\download_util.py", line 33
, in write_data
f = open(location,"ab+")
PermissionError: [Errno 13] Permission denied: 'C:\Users\[XXX]\Desktop\WWE-N
etwork-Downloader/inprocess/WWE SmackDown - S2002E46 - 11-14-2002.ts'

C:\Users[XXX]\Desktop\WWE-Network-Downloader>py main.py -q 2 -t https://watch.w
we.com/episode/SmackDown-4619
Succesfully logged in
Got the video information
aac files finished downloading
416 ts files downloaded out of 840`

@ditmarvisser
Copy link

Have you tried running the cmd as admin?

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