No Warning dialog box appear when overwriting a directory

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
calbee
Posts: 15
Joined: Tue Feb 14, 2012 6:51 am

No Warning dialog box appear when overwriting a directory

Post by calbee »

No warning dialog box appears if an existing directory name is about to be overwritten by Handbrake.

This may or may not be a bug, but I'm filing it anyway just so for consistency throughout the program since there is a dialog box for a file name when it is about to be overwritten.

Steps to reproduce:
1. Run handbrake executable.
2. Inserts any unencrypted DVD disc to drive.
3. Select a source video from the Source drop-down menu.
4. Select DVD source.
5. Destination->File text field is automatically filled with recommended path and file name.
6. Open File Explorer.
7. Navigate to the final Destination folder.
8. Create a directory with exactly the same name as the file name to be written.
9. Click Start icon from the toolbar menu.

Result:
No warning dialog box appears if an existing directory name is about to be overwritten by Handbrake.

Additional Information:
1. In step #8, the Destination file name and the newly created directory must much, including the extension if necessary.
2. When this bug occurs, Handbrake appears to encode the source video and will report a successfull encode both at the main window status bar and Encode Queue list control window. However, the error "Could not create output file, Disk Full?" appears in the Activity Window (See log below).
3. This bug is probably consistent throughout the program. I haven't tested other features where writing to a file is necessary.
4. The "Automatically name output files" check box must be ticked in the Options->Output Files to accomplish step #5
5. This bug is also happens when a video file source or folder is selected from step #3.
6. The bug is reproduceable in 32 bit version of Windows XP SP3 and both 32/64 bit versions of Windows 7 SP1/Vista SP2/Server 2008 R2 SP2.
7. If the user clicks the Continue button, the program will continue to run normally.
7. If the user clicks on the Quit button, the program terminates.

-Version
svn4445

-Date of download
2/13/2012

-Location of Download (HandBrake Site / 3rd party / Linux package repository - define which)
Handbrake Site

-Platform (Mac, Linux, Windows)
Windows

-Settings (video encoder, picture dimensions, etc.)
N/A

-Operating System version
32 and 64 bit versions of Windows 7/Vista/XP(32bit only)/Server 2008

-If possible, a crash report

--------------------------------------------------------------------------------------------------------------------
HandBrake svn4445 2012021301
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
Ram: 2047 MB, Screen: 1280x720
Temp Dir: C:\Users\XXXXX\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\XXXXX\AppData\Roaming\HandBrake\HandBrake\0.9.5.4445

-------------------------------------------
CLI Query: -i D:\ -t 2 --start-at duration:0 --stop-at duration:6 -o "C:\Users\XXXXX\Desktop\test.mkv" -f mkv --strict-anamorphic -e x264 -q 20 --vfr -a 1 -E faac -B 160 -6 dpl2 -R Auto -D 0 --gain=0 --audio-fallback ffac3 -x ref=1:weightp=1:subq=2:rc-lookahead=10:trellis=0:8x8dct=0 --verbose=1 --no-dvdnav
User Query: False

[18:09:41] hb_init: starting libhb thread
HandBrake svn4445 (2012021301) - MinGW i686 - http://handbrake.fr
1 CPU detected
Opening D:\...
[18:09:41] hb_scan: path=D:\, title_index=2
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening D:\/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(D:\) failed (01AE9958)
[18:09:41] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open D: for reading
libdvdread: Device (null) inaccessible, CSS authentication not available.
[18:09:41] scan: DVD has 17 title(s)
[18:09:41] scan: scanning title 2
[18:09:41] scan: opening IFO for VTS 3
[18:09:41] pgc_id: 2, pgn: 1: pgc: 01AEB668
[18:09:41] scan: vts=3, ttn=2, cells=0->45, blocks=0->2250420, 2247517 blocks
[18:09:41] scan: duration is 01:42:07 (6127153 ms)
[18:09:41] scan: checking audio 1
[18:09:41] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=1
[18:09:41] scan: checking audio 2
[18:09:41] scan: id=0x89bd, lang=English (DTS), 3cc=eng ext=1
[18:09:41] scan: checking audio 3
[18:09:41] scan: id=0x82bd, lang=Francais (AC3), 3cc=fra ext=1
[18:09:41] scan: checking audio 4
[18:09:41] scan: id=0x83bd, lang=Espanol (AC3), 3cc=spa ext=1
[18:09:41] scan: checking audio 5
[18:09:41] scan: id=0x84bd, lang=English (AC3), 3cc=eng ext=1
[18:09:41] scan: checking audio 6
[18:09:41] scan: id=0x85bd, lang=English (AC3), 3cc=eng ext=1
[18:09:41] scan: checking subtitle 1
[18:09:41] scan: id=0x21bd, lang=English (Closed Caption), 3cc=eng
[18:09:41] scan: checking subtitle 2
[18:09:41] scan: id=0x23bd, lang=Espanol, 3cc=spa
[18:09:41] scan: checking subtitle 3
[18:09:41] scan: id=0x25bd, lang=Francais, 3cc=fra
[18:09:41] scan: checking subtitle 4
[18:09:41] scan: id=0x27bd, lang=Espanol, 3cc=spa
[18:09:41] scan: title 2 has 29 chapters
[18:09:41] scan: chap 1 c=0->2, b=0->98265 (95362), 227529 ms
[18:09:41] scan: chap 2 c=3->3, b=98266->196150 (97885), 255645 ms
[18:09:41] scan: chap 3 c=4->5, b=196151->269216 (73066), 201514 ms
[18:09:41] scan: chap 4 c=6->6, b=269217->326583 (57367), 161467 ms
[18:09:41] scan: chap 5 c=7->8, b=326584->399891 (73308), 204699 ms
[18:09:41] scan: chap 6 c=9->10, b=399892->494566 (94675), 255777 ms
[18:09:41] scan: chap 7 c=11->11, b=494567->560218 (65652), 179488 ms
[18:09:41] scan: chap 8 c=12->13, b=560219->615353 (55135), 141599 ms
[18:09:41] scan: chap 9 c=14->14, b=615354->659725 (44372), 115243 ms
[18:09:41] scan: chap 10 c=15->15, b=659726->722395 (62670), 176607 ms
[18:09:41] scan: chap 11 c=16->17, b=722396->771223 (48828), 131415 ms
[18:09:41] scan: chap 12 c=18->18, b=771224->857394 (86171), 245628 ms
[18:09:41] scan: chap 13 c=19->20, b=857395->921924 (64530), 173621 ms
[18:09:41] scan: chap 14 c=21->22, b=921925->1021643 (99719), 283547 ms
[18:09:41] scan: chap 15 c=23->23, b=1021644->1101961 (80318), 220704 ms
[18:09:41] scan: chap 16 c=24->26, b=1101962->1168353 (66392), 184842 ms
[18:09:41] scan: chap 17 c=27->28, b=1168354->1292368 (124015), 323774 ms
[18:09:41] scan: chap 18 c=29->29, b=1292369->1332717 (40349), 106495 ms
[18:09:41] scan: chap 19 c=30->31, b=1332718->1464376 (131659), 358635 ms
[18:09:41] scan: chap 20 c=32->32, b=1464377->1496998 (32622), 97369 ms
[18:09:41] scan: chap 21 c=33->33, b=1496999->1544825 (47827), 124527 ms
[18:09:41] scan: chap 22 c=34->35, b=1544826->1674148 (129323), 344797 ms
[18:09:41] scan: chap 23 c=36->37, b=1674149->1740949 (66801), 176473 ms
[18:09:41] scan: chap 24 c=38->38, b=1740950->1819197 (78248), 216387 ms
[18:09:41] scan: chap 25 c=39->40, b=1819198->1846370 (27173), 79481 ms
[18:09:41] scan: chap 26 c=41->42, b=1846371->1928088 (81718), 214760 ms
[18:09:41] scan: chap 27 c=43->43, b=1928089->2000696 (72608), 198532 ms
[18:09:41] scan: chap 28 c=44->44, b=2000697->2250415 (249719), 726409 ms
[18:09:41] scan: chap 29 c=45->45, b=2250416->2250420 (5), 176 ms
[18:09:41] scan: aspect = 0
[18:09:41] scan: decoding previews for title 2
[18:09:41] scan: title angle(s) 1
[18:09:41] scan: audio 0x89bd: DCA, rate=48000Hz, bitrate=768000 English (DTS) (5.1 ch)
[18:09:41] scan: audio 0x84bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Dolby Surround)
[18:09:41] scan: audio 0x85bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Dolby Surround)
[18:09:41] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
Scanning title 2...
Scanning title 2...
Scanning title 2...
[18:09:42] scan: 10 previews, 720x480, 23.976 fps, autocrop = 54/58/0/0, aspect 16:9, PAR 32:27
[18:09:42] scan: removing audio 0x82bd because no bitrate found
[18:09:42] scan: removing audio 0x83bd because no bitrate found
[18:09:42] scan: title (0) job->width:720, job->height:304
[18:09:42] libhb: scan thread found 1 valid title(s)
+ title 2:
+ vts 3, ttn 2, cells 0->45 (2247517 blocks)
+ duration: 01:42:07
+ size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
+ autocrop: 54/58/0/0
+ chapters:
+ 1: cells 0->2, 95362 blocks, duration 00:03:48
+ 2: cells 3->3, 97885 blocks, duration 00:04:16
+ 3: cells 4->5, 73066 blocks, duration 00:03:22
+ 4: cells 6->6, 57367 blocks, duration 00:02:41
+ 5: cells 7->8, 73308 blocks, duration 00:03:25
+ 6: cells 9->10, 94675 blocks, duration 00:04:16
+ 7: cells 11->11, 65652 blocks, duration 00:02:59
+ 8: cells 12->13, 55135 blocks, duration 00:02:22
+ 9: cells 14->14, 44372 blocks, duration 00:01:55
+ 10: cells 15->15, 62670 blocks, duration 00:02:57
+ 11: cells 16->17, 48828 blocks, duration 00:02:11
+ 12: cells 18->18, 86171 blocks, duration 00:04:06
+ 13: cells 19->20, 64530 blocks, duration 00:02:54
+ 14: cells 21->22, 99719 blocks, duration 00:04:44
+ 15: cells 23->23, 80318 blocks, duration 00:03:41
+ 16: cells 24->26, 66392 blocks, duration 00:03:05
+ 17: cells 27->28, 124015 blocks, duration 00:05:24
+ 18: cells 29->29, 40349 blocks, duration 00:01:46
+ 19: cells 30->31, 131659 blocks, duration 00:05:59
+ 20: cells 32->32, 32622 blocks, duration 00:01:37
+ 21: cells 33->33, 47827 blocks, duration 00:02:05
+ 22: cells 34->35, 129323 blocks, duration 00:05:45
+ 23: cells 36->37, 66801 blocks, duration 00:02:56
+ 24: cells 38->38, 78248 blocks, duration 00:03:36
+ 25: cells 39->40, 27173 blocks, duration 00:01:19
+ 26: cells 41->42, 81718 blocks, duration 00:03:35
+ 27: cells 43->43, 72608 blocks, duration 00:03:19
+ 28: cells 44->44, 249719 blocks, duration 00:12:06
+ 29: cells 45->45, 5 blocks, duration 00:00:00
+ audio tracks:
+ 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
+ 2, English (DTS) (5.1 ch) (iso639-2: eng), 48000Hz, 768000bps
+ 3, English (AC3) (Dolby Surround) (iso639-2: eng), 48000Hz, 192000bps
+ 4, English (AC3) (Dolby Surround) (iso639-2: eng), 48000Hz, 192000bps
+ subtitle tracks:
+ 1, English (Closed Caption) (iso639-2: eng) (Bitmap)(VOBSUB)
+ 2, Espanol (iso639-2: spa) (Bitmap)(VOBSUB)
+ 3, Francais (iso639-2: fra) (Bitmap)(VOBSUB)
+ 4, Espanol (iso639-2: spa) (Bitmap)(VOBSUB)
+ 5, Closed Captions (iso639-2: eng) (Text)(CC)
[18:09:42] 1 job(s) to process
[18:09:42] starting job
[18:09:42] sync: expecting 167 video frames
[18:09:42] job configuration:
[18:09:42] * source
[18:09:42] + D:\
[18:09:42] + title 2, start 0:0:0.00 stop 0:0:6.00
[18:09:42] * destination
[18:09:42] + C:\Users\XXXXX\Desktop\test.mkv
[18:09:42] + container: Matroska (.mkv)
[18:09:42] * video track
[18:09:42] + decoder: mpeg2
[18:09:42] + bitrate 9800 kbps
[18:09:42] + frame rate: same as source (around 23.976 fps)
[18:09:42] + strict anamorphic
[18:09:42] + storage dimensions: 720 * 480 -> 720 * 368, crop 54/58/0/0, mod 0
[18:09:42] + pixel aspect ratio: 32 / 27
[18:09:42] + display dimensions: 853 * 368
[18:09:42] + encoder: H.264 (x264)
[18:09:42] + options: ref=1:weightp=1:subq=2:rc-lookahead=10:trellis=0:8x8dct=0
[18:09:42] + quality: 20.00 (RF)
[18:09:42] * audio track 1
[18:09:42] + decoder: English (AC3) (5.1 ch) (track 1, id 0x80bd)
[18:09:42] + bitrate: 448 kbps, samplerate: 48000 Hz
[18:09:42] + mixdown: Dolby Pro Logic II
[18:09:42] + encoder: AAC (faac)
[18:09:42] + bitrate: 160 kbps, samplerate: 48000 Hz
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open D: for reading
libdvdread: Device (null) inaccessible, CSS authentication not available.
[18:09:42] encx264: min-keyint: 24, keyint: 240
[18:09:42] encx264: encoding with stored aspect 32/27
[18:09:42] encx264: Encoding at constant RF 20.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264 [info]: profile Main, level 3.0
ERROR: Could not create output file, Disk Full?
[18:09:42] work: average encoding speed for job is 0.000000 fps
[18:09:42] sync: got 0 frames, 167 expected
[18:09:42] reader: done. 0 scr changes
[18:09:42] mpeg2 done: 0 frames
[18:09:42] render: lost time: 0 (0 frames)
[18:09:42] render: gained time: 0 (0 frames) (0 not accounted for)
[18:09:42] mux: track 0, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[18:09:42] mux: track 1, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[18:09:42] libhb: work result = 0
Encode done!
HandBrake has exited.

--------------------------------------------------------------------------------------------------------------------

-DVD title
Any unencrypted DVD title

-What you were doing at the time besides encoding
None

-What other applications were running
None

-Whether or not the problem is reproducible (happens every time with the same settings/movie)
Yes
Post Reply