# Conversions fails on Archive command

**URL:** <https://discussion.mcebuddy2x.com/t/conversions-fails-on-archive-command/324>\
**Category:** Custom Commands\
**Created:** [July 28, 2017, 12:15am UTC](https://discussion.mcebuddy2x.com/t/conversions-fails-on-archive-command/324 "2017-07-28T00:15:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cdhuff88](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/c/45deac/32.png) [@cdhuff88](https://discussion.mcebuddy2x.com/u/cdhuff88)\
**Post date:** [July 28, 2017, 12:15am UTC](https://discussion.mcebuddy2x.com/t/conversions-fails-on-archive-command/324/1 "2017-07-28T00:15:22Z")

</div>

I am using MCEBuddy for post processing with Plex DVR. I have set under general settings to have the original file archived. I created an archive folder and have pointed to that folder in the systems settings. The conversion goes through the entire conversion (removing commercials, converting to MP4). The program fails when trying to archive the original file. Upon failure the program deletes everything in the working directory including the ad-stripped/converted file and leaves just the original file in its original location.

Original file is an MPEG2VIDEO with .TS extension  
converting to MP4  
All folders including original, archive and working are on local drives.

---

<div class="post-metadata">

**Author:** ![RBoy](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/r/2bfe46/32.png) [@RBoy](https://discussion.mcebuddy2x.com/u/RBoy)\
**Post date:** [July 28, 2017, 8:24am UTC](https://discussion.mcebuddy2x.com/t/conversions-fails-on-archive-command/324/2 "2017-07-28T08:24:04Z")

</div>

I don’t see any logs, mcebuddy.log and conversion log

---

<div class="post-metadata">

**Author:** ![cdhuff88](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/c/45deac/32.png) [@cdhuff88](https://discussion.mcebuddy2x.com/u/cdhuff88)\
**Post date:** [July 28, 2017, 1:04pm UTC](https://discussion.mcebuddy2x.com/t/conversions-fails-on-archive-command/324/3 "2017-07-28T13:04:58Z")

</div>

[mcebuddy.log](https://mcebuddy-discussion-forum.s3.amazonaws.com/original/1X/ec07243b4b570d181314145166581edfda354821.log) (484.5 KB)  
[Celebrity Name Game (2014) - S03E62 - Episode 62.ts-Plex DVR Comskip-2017-07-27T18-38-02.3671411-04-00.log](https://mcebuddy-discussion-forum.s3.amazonaws.com/original/1X/373b51fbbdfc2ef107a1e727abc2ee533179d437.log) (1.2 MB)

The log files don’t offer much insight but here they are.

---

<div class="post-metadata">

**Author:** ![cdhuff88](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/c/45deac/32.png) [@cdhuff88](https://discussion.mcebuddy2x.com/u/cdhuff88)\
**Post date:** [July 28, 2017, 1:41pm UTC](https://discussion.mcebuddy2x.com/t/conversions-fails-on-archive-command/324/4 "2017-07-28T13:41:57Z")

</div>

I figured it out. The archive command does not like long FAT32 path names. The archive folder was named “G:\DVR Archive” and even though I selected the folder using the dialog it didn’t like it. I changed the folder name to G:\DVRArch and it works fine. DOS 8.3 naming convention strikes again.

---

<div class="post-metadata">

**Author:** ![RBoy](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/r/2bfe46/32.png) [@RBoy](https://discussion.mcebuddy2x.com/u/RBoy)\
**Post date:** [August 6, 2017, 2:03pm UTC](https://discussion.mcebuddy2x.com/t/conversions-fails-on-archive-command/324/5 "2017-08-06T14:03:38Z")

</div>

No, that isn’t the problem. The problem was hidden in your conversion log. Some process is blocking the converted file while MP4Box is working on it. Likely an antivirus or something else monitoring that folder is putting a read lock on the file. MP4Box fails to rename the file because of the lock and subsequently MCEBuddy can’t find the file it was expecting and it fails the conversion. We’ve seen this before, put an exclusion for your temp working folder into your antivirus or disable other software which may be monitoring your temp folder. See these lines from your logs

> 2017-07-27T18:56:34 MCEBuddy.AppWrapper.MP4Box → Error renaming file out\_Celebrity Name Game (2014) - S03E62 - Episode 62.mp4 to C:\Temp\DVRConv\working0\Celebrity Name Game (2014) - S03E62 - Episode 62.mp4

> ERROR\> 2017-07-27T18:56:38 MCEBuddy.Engine.ConversionJob → Converted file has been renamed or deleted by [custom command](https://discussion.mcebuddy2x.com/t/mcebuddy-advanced-settings-commands-and-tweaking/30#customcommands) → C:\Temp\DVRConv\working0\Celebrity Name Game (2014) - S03E62 - Episode 62.mp4
