File downloads but fails right at the end.

2,639 views
Skip to first unread message

Jamarc

unread,
Jul 4, 2018, 8:12:02 PM7/4/18
to Video DownloadHelper Q&A
Hi
I have had this problem for several months now on all upgrades of Firefox and Video DownloadHelper (since the big change with Firefox) and have been waiting for each upgrade to see if it gets fixed.

The video seems to be going fine and downloads 100%. At this point it does just come up with an error message as follows:

EPERM: operation not permitted, rename 'D:\Videos\Recordings\2018-06-26 video.mp4.part' -> 'D:\Videos\Recordings\2018-06-26 video.mp4'

moz-extension://3acd29b6-9c69-4fff-a706-e1b3a557a541/background/main.js:1
value@moz-extension://3acd29b6-9c69-4fff-a706-e1b3a557a541/background/main.js:1:6119
value/</<@moz-extension://3acd29b6-9c69-4fff-a706-e1b3a557a541/background/main.js:1:207238

I end up with 2 files left in the folder one called 2018-06-26 video.mp4.part and the other 2018-06-26 video.mp4. The MP4 video does not run.

The video is at https://player.vimeo.com/video/277581234. It is in a password locked site so unfortunately you may not be able to view it.

I do have a licensed copy of Video DownloadHelper and I have upgraded to the latest beta version 7.3.2a10 and Firefox 61.0 64 bit.

This is the only site I have had trouble with. Most other videos download fine.

Kind regards
Mark




mig

unread,
Jul 5, 2018, 2:03:38 AM7/5/18
to video-download...@googlegroups.com
We have been tracking this bug (reported by some users) for a while but haven't been able to reproduce it.

What about downloading another, non-protected, Vimeo video like https://vimeo.com/channels/staffpicks/139480129 ? Are you having the same problem ?

Also, what if you download the video to the C:\ drive ?

Jamarc

unread,
Jul 11, 2018, 2:10:14 AM7/11/18
to Video DownloadHelper Q&A
Hi
Yes I have the same problem with that file. It generates the following error message

moz-extension://3acd29b6-9c69-4fff-a706-e1b3a557a541/background/main.js:1
value@moz-extension://3acd29b6-9c69-4fff-a706-e1b3a557a541/background/main.js:1:6119
value/</<@moz-extension://3acd29b6-9c69-4fff-a706-e1b3a557a541/background/main.js:1:209790

I Tried downloading it to c: as well and it still failed.

Kind regards Mark

mig

unread,
Jul 11, 2018, 3:14:40 AM7/11/18
to Video DownloadHelper Q&A
We are still investigating that EPERM issue. Thanks for reporting.

Tobias Becker

unread,
Aug 20, 2018, 4:02:00 AM8/20/18
to Video DownloadHelper Q&A
I too have this problem. I can add that it only happens on Windows. My workaround is to download the same URL with my Mac.

An example that fails for me is:

Sometimes I had the feeling this happens when the video file name contains spaces.

Eric Lilja

unread,
Aug 28, 2018, 12:52:03 PM8/28/18
to Video DownloadHelper Q&A
I have the same issue on this video: https://www.youtube.com/watch?v=NxWty-pLnvA

Trying to download as dash, tried with both audio only and audio + video (I want to download audio + video, even though the video is a slideshow only).

OS: Windows 10
Firefox: 61.0.2 64-bit
Video downloadhelper 7.3.5
Companion app 1.2.4

EPERM: operation not permitted, rename 'C:\Users\eric\dwhelper\03 31 79 (E) Munich, DE - Frank Zappa 1979 European tour - Y.mp4.part' -> 'C:\Users\eric\dwhelper\03 31 79 (E) Munich, DE - Frank Zappa 1979 European tour - Y.mp4'


Left in the dwhelper directory are two files:
03 31 79 (E) Munich, DE - Frank Zappa 1979 European tour - Y-11.mp4 (unplayable)
03 31 79 (E) Munich, DE - Frank Zappa 1979 European tour - Y-11.mp4.part
The video file is 525 MB and the part file is 1.83 MB. It feels like when it want to merge the final part into the video, it fails.

- Eric

mig

unread,
Aug 29, 2018, 4:29:13 AM8/29/18
to Video DownloadHelper Q&A
Thanks for the details.

At least we now know the problem is specific to DASH streaming, whether it is from Vimeo or YouTube.


Tobias Becker

unread,
Aug 30, 2018, 2:31:45 AM8/30/18
to Video DownloadHelper Q&A
Have you looked into the possibility that it's the spaces in filenames? Eric's example would also fall in that bin.

mig

unread,
Aug 30, 2018, 3:46:36 AM8/30/18
to Video DownloadHelper Q&A
I believe the test was done to use the "Download" action instead of "Quick Download", to use a safe name (no space, accent, special chars). I think the result was the same but it worth trying again indeed.

Eric Lilja

unread,
Aug 31, 2018, 1:29:52 AM8/31/18
to Video DownloadHelper Q&A
Hi, the error is exactly the same (EPERM) even if one changes to a path which does not contain any spaces.

EPERM: operation not permitted, rename 'C:\Users\eric\dwhelper\YouTube-1.mp4.part' -> 'C:\Users\eric\dwhelper\YouTube-1.mp4'


Thanks for looking at this!

- Eric

Wild Willy

unread,
Aug 31, 2018, 7:22:10 AM8/31/18
to Video DownloadHelper Q&A
I decided to try to download your (Eric Lilja) Frank Zappa video from YouTube.  After launching the video, I went into full screen on the video while it was playing & selected the 1080p resolution.  Then I opened the VDH window to see what variants were available.  The one listed first showed ADP 1920x1080 104.2M MP4.  So I downloaded it.  (Note to Anu: This file did not appear at all in my target directory until the download completed.)  The creation & last modified date/time claim to have been equal, which would normally mean that it downloaded in 0 time.  I suspect that because the file is not created on disk anywhere on my system until the download completes, that the creation & last modified time stamps really are the same.  So I can't say with any accuracy how long it took to download this.  In any case, despite the fact that the duration of the video is reported as 1:54:34 (yes, nearly TWO HOURS), it took maybe 2 minutes to download, which certainly surprised me.  It's reported in Windows Explorer as a 104M file.  It played fine in VLC.  I did not listen to the whole thing.  I did sample it, using VLC controls to skip through it.  The entire 1:54:34 does appear to be there.  But there was no video.  When I was streaming the video off the YouTube web site, there was, as you described, a slide show going on.  This did not appear to be downloaded.  I suppose it's no surprise that in the file Properties, the video section is blank.  The audio section says the bit rate is 125kbps (a bit low), 2 channels, sample rate 44kHz (normal).

So I tried again, this time using the DASH ADP variant.  Curiously, VDH did not list a file size as it did (104.2M) for the simple ADP variant in my first download.  This download took significantly longer than the first one.  Once again I can't use the creation & last modified time stamps because the file did not exist until VDH completed its work.  This download ended after about 10 minutes (a guess) & then it aggregated for about 10 seconds, a step that I did not observe on the first download.  I believe this aggregation step caused my creation & last modified time stamps to differ by 1 minute, but I'm sure that's just an accident, that my system clock ticked over from one minute to the next during the aggregation step.  Otherwise, the 2 time stamps would probably be equal.  Be that as it may, this file is 633M, although the duration of the video is still reported as 1:54:34.  So why is it so much bigger?  Looking in the file Properties, the audio section is the same as for the first download but the video properties are now reported as:

resolution 1920x1080
data rate 638kbps/total bitrate 784kbps (very, very low but . . . see below)
frame rate 30fps

At this point, it should be no surprise to anybody that yes indeed, this file has a video component.  It is the slide show you can watch while streaming the video directly off the YouTube web site.  It's just a slide show so the extremely low bit rates are not really either a surprise or a problem.

The video name itself on YouTube has spaces in it.  The resultant files I got from my 2 downloads also have spaces in the file names.  This does not seem to have been any sort of a problem for VDH or Windows, which I must say is as I expected.  I have downloaded countless files with spaces in the names & never had a problem.  Now I must say that I did not try downloading into a directory structure with spaces in the directory names.  But I don't think that would be a problem either.

My setup:

Video DownloadHelper
Version 7.3.5a1
Browser locale: en-US
Production build
Built on Sun Jul 22 2018 00:06:11 GMT+0200 (CEST)
Build options: browser=firefox, fxDevUpdate=yes

Platform Win x86-64 (Windows 7 64-bit)
Browser Mozilla Firefox 61.0.2

Found companion app: VdhCoApp 1.2.4 (I always use the CoApp, never the browser option.)
Companion app binary: C:\Program Files\net.downloadhelper.coapp\bin\net.downloadhelper.coapp-win-64.exe

License verified

I saw Frank Zappa live 3 times back in the '70s, once with the Mothers of Invention & twice on his own.  He was an amazing guitarist.  I think I'll hang onto this video for now & I will listen to it eventually.  Thanks for the link.

anuhea55 00

unread,
Aug 31, 2018, 2:13:18 PM8/31/18
to Video DownloadHelper Q&A
Saw WildWilly here at took a look at  Eric's Zappa video.  I only saw one variant (mine is set to view up to 6) ~ the ADP  1280x720 .mp4.  Downloaded this and got 1:54 hr of Audio only, and no slide show.  WW, it is true that I do not see the partial files in my chosen folder, till the download is complete.  Since I had no other files available, I quit looking.  I see in Jamarc original post, a *mp4.part and *part files that I did not see in my folder for Zappa.  I even toggled from the CompApp to the Browser download processor of the VDH settings.

I see that this thread is about EPERM occurring failures, and that switching to a Mac, did work for someone...switching to another PC might also work which would indicate a local issue.  I (W10) like WW (W7), are apparently not getting EPERM failures.  The spaces in the names don't seem to be an issue.  I've even changed the Save-as name to include spaces and - and _...so this problem is very specific to certain users.  Hope they and Mig can pinpoint the issue....bummer for those getting it.  Did a search of EPERM on the net....a system/folder permission problem...something is hosed.

I also had success with the "skillsmatter" that Tobias posted.  The 1:19hr .mp4 did finish too.  Viewed in potplayer.

Wild Willy

unread,
Aug 31, 2018, 7:23:57 PM8/31/18
to Video DownloadHelper Q&A
Anu, it's a YouTube video.  You have to do the YouTube trick that MIG posted a couple of weeks ago:

1. Launch the video.
2. Go into full screen.
3. Click the gear icon to get options.
4. Select the highest resolution, even if it looks like it's already selected.

This usually makes more variants appear.  In this case, I saw both an ADP variant and a DASH ADP variant.  The DASH ADP variant is the one that included the video.

Mark S

unread,
Dec 26, 2019, 1:25:41 PM12/26/19
to Video DownloadHelper Q&A


I'd run into this a lot, and only recently found a solution that helped me download a few videos that were doing this to me.  (EPERM: yada yada renaming problem)

In my situations they were DASH streams. Somebody suggested going into settings and making sure that I have the option to aggregate video and audio selected, for DASH streams. Bingo.

ScreenClip [126].png




Jameel

unread,
Feb 26, 2020, 12:13:46 PM2/26/20
to Video DownloadHelper Q&A
i think this happens when you download the file via right click menu in browser. 

Jameel

unread,
Feb 26, 2020, 12:15:07 PM2/26/20
to Video DownloadHelper Q&A
this happens when i download file using browser right click menu. 
Reply all
Reply to author
Forward
0 new messages