# Conversion to Move File Randomly Fails

**URL:** https://discussion.mcebuddy2x.com/t/conversion-to-move-file-randomly-fails/4973
**Category:** General Support / Questions
**Created:** [March 3, 2023, 8:13pm UTC](https://discussion.mcebuddy2x.com/t/conversion-to-move-file-randomly-fails/4973 "2023-03-03T20:13:11Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Goose](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Goose](https://discussion.mcebuddy2x.com/u/Goose)
#### Post date: [March 6, 2023, 8:59pm UTC](https://discussion.mcebuddy2x.com/t/conversion-to-move-file-randomly-fails/4973/2 "2023-03-06T20:59:29Z")

</div>

The log file you attached is showing the conversion was successful and it was able to move the file to the destination NAS folder

```auto
INFORMATION> 2023-03-01T02:56:13 --> Job for \\MEDIACENTER\Recorded TV\La Brea_s02e14 The Journey, Part 2_WNBCDT_2023_02_28_22_00_04.wtv converted successfully to \\MEDIACENTER\Recorded TV\La Brea\La Brea - S02E14_2023_02_28.wtv using conversion task -> Move WTV Recorded TV and profile -> WTV Unprocessed
INFORMATION> 2023-03-01T02:56:13 --> Request to send eMail
2023-03-01T02:56:13 --> Server -> xxxxxxxxx
2023-03-01T02:56:13 --> Port -> 25
2023-03-01T02:56:13 --> SSL -> False
2023-03-01T02:56:13 --> Username -> xxxxxxxxx
2023-03-01T02:56:13 --> From -> xxxxxxxxx
2023-03-01T02:56:13 --> To -> xxxxxxxxx
2023-03-01T02:56:13 --> Subject -> MCEBuddy successfully converted a video
2023-03-01T02:56:13 --> Message -> Source Video -> \\MEDIACENTER\Recorded TV\La Brea_s02e14 The Journey, Part 2_WNBCDT_2023_02_28_22_00_04.wtv
Converted Video -> \\MEDIACENTER\Recorded TV\La Brea\La Brea - S02E14_2023_02_28.wtv
Profile -> WTV Unprocessed
Conversion Task -> Move WTV Recorded TV
Converted At -> 2023-03-01T02:56:13
Time taken to convert (hh:mm) -> 00:14

2023-03-01T02:56:13 MCEBuddy.Engine.Core --> No conversions running, allowing system sleep
2023-03-01T02:56:13 MCEBuddy.Engine.ConversionJob --> Starting Conversion Thread
INFORMATION> 2023-03-01T02:56:13 MCEBuddy.Engine.ConversionJob --> Creating log file : C:\Program Files\MCEBuddy2x\log\FBI International - S02E14_2023_02_28.wtv-Move WTV Recorded TV-1900-01-01T00-00-00.log
INFORMATION> 2023-03-01T02:56:13 MCEBuddy.Engine.Core --> Job for \\MEDIACENTER\Recorded TV\FBI International\FBI International - S02E14_2023_02_28.wtv started using conversion task -> Move WTV Recorded TV and profile -> WTV Unprocessed
2023-03-01T02:56:13 MCEBuddy.Engine.Core --> Temp working path is C:\Program Files\MCEBuddy2x\working0
2023-03-01T02:56:13 MCEBuddy.Engine.Core --> Starting new conversions, preventing system sleep
INFORMATION> 2023-03-01T02:56:14 --> Successfully send eMail
WARNING> 2023-03-01T02:56:25 MCEBuddy.Engine.QueueManager --> Monitor task E Drive Recorded TV : Unable to queue file for conversion - file inaccessible/locked by another process \\MEDIACENTER\Recorded TV\La Brea_s02e14 The Journey, Part 2_WNBCDT_2023_02_28_22_00_04.wtv

2023-03-01T02:56:26 MCEBuddy.Engine.QueueManager --> Monitor task E Drive Recorded TV : File \\MEDIACENTER\Recorded TV\FBI Most Wanted\FBI Most Wanted - S04E14_2023_02_28.wtv already converted with status OutputFromConversion
2023-03-01T02:56:26 MCEBuddy.Engine.QueueManager --> Monitor task E Drive Recorded TV : File \\MEDIACENTER\Recorded TV\La Brea\La Brea - S02E14_2023_02_28.wtv already converted with status OutputFromConversion
INFORMATION> 2023-03-01T03:10:28 MCEBuddy.Engine.QueueManager --> No accessible files founds in location \\MEDIACENTER\Recorded TV5 for monitor task I Drive Recorded TV5
INFORMATION> 2023-03-01T03:11:53 MCEBuddy.Engine.Core --> Job for \\MEDIACENTER\Recorded TV\FBI International\FBI International - S02E14_2023_02_28.wtv completed
2023-03-01T03:11:53 MCEBuddy.Engine.Core --> Deleting original file \\MEDIACENTER\Recorded TV\FBI International\FBI International - S02E14_2023_02_28.wtv
2023-03-01T03:11:53 MCEBuddy.Engine.QueueManager --> Deleting directory \\MEDIACENTER\Recorded TV\FBI International
ERROR> 2023-03-01T03:11:53 MCEBuddy.Engine.QueueManager --> Unable to read parent directory contents \\MEDIACENTER\Recorded TV\FBI International
System.IO.IOException: The directory is not empty.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
   at MCEBuddy.Engine.QueueManager.DeleteParentDirectoryChainIfEmpty(String filePath, String uptoParentFolder)
INFORMATION> 2023-03-01T03:11:53 --> Job for \\MEDIACENTER\Recorded TV\FBI International\FBI International - S02E14_2023_02_28.wtv converted successfully to \\MEDIACENTER\Recorded TV\FBI International\FBI International\FBI International - S02E14_2023_02_28.wtv using conversion task -> Move WTV Recorded TV and profile -> WTV Unprocessed
INFORMATION> 2023-03-01T03:11:53 --> Request to send eMail
2023-03-01T03:11:53 --> Server -> xxxxxxxxx
2023-03-01T03:11:53 --> Port -> 25
2023-03-01T03:11:53 --> SSL -> False
2023-03-01T03:11:53 --> Username -> xxxxxxxxx
2023-03-01T03:11:53 --> From -> xxxxxxxxx
2023-03-01T03:11:53 --> To -> xxxxxxxxx
2023-03-01T03:11:53 --> Subject -> MCEBuddy successfully converted a video
2023-03-01T03:11:53 --> Message -> Source Video -> \\MEDIACENTER\Recorded TV\FBI International\FBI International - S02E14_2023_02_28.wtv
Converted Video -> \\MEDIACENTER\Recorded TV\FBI International\FBI International\FBI International - S02E14_2023_02_28.wtv
Profile -> WTV Unprocessed
Conversion Task -> Move WTV Recorded TV
Converted At -> 2023-03-01T03:11:53
Time taken to convert (hh:mm) -> 00:15

2023-03-01T03:11:53 MCEBuddy.Engine.Core --> No conversions running, allowing system sleep
INFORMATION> 2023-03-01T03:11:55 --> Successfully send eMail
INFORMATION> 2023-03-01T03:15:26 MCEBuddy.Engine.QueueManager --> No accessible files founds in location \\MEDIACENTER\Recorded TV-C for monitor task C Drive Recorded TV-C
2023-03-01T03:15:31 MCEBuddy.Engine.QueueManager --> Monitor task E Drive Recorded TV : File \\MEDIACENTER\Recorded TV\FBI International\FBI International\FBI International - S02E14_2023_02_28.wtv already converted with status OutputFromConversion

```

However I do see other errors related to reading and deleting directories on the NAS. The files are locked or the NAS is denying access to these files/directories.

If you’re seeing issues with a NAS it’s normally a NAS issue. These can be cause of network issues, sharing issues with other computers, internal NAS issues (like date/time being incorrect which can cause access denials) etc. Was there an update to your NAS firmware recently? See this post also

> [@System.IO.IOException: The specified network name is no longer available](https://discussion.mcebuddy2x.com/t/system-io-ioexception-the-specified-network-name-is-no-longer-available/3029/2):
>
> That means windows is not able to access your network drive. There are a couple of things to note when using network drives in mcebuddy since the engine runs in kernel space by default: Enter credentials for your network drive in mcebuddy Check your network/server time, [if the network time is off windows won’t connect](https://discussion.mcebuddy2x.com/t/cant-get-mcebuddy-working-on-this-new-computer/2424/2) Windows can’t access the drive You don’t have fallback configured: Fallback Destination → False You can see more about it here:

---

_[View the full topic](https://discussion.mcebuddy2x.com/t/conversion-to-move-file-randomly-fails/4973)._
