Jump to content

Auto Organize Internal Error


Recommended Posts

Posted (edited)

I got the Auto Organize to work fine with new episodes. However, if there is another download/new episode version (such as repack) it's having issues.

 

I keep getting

 

 

*** Error Report ***

Version: 3.5.3.0
Command line: C:\Users\XXXXX\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
Operating system: Microsoft Windows NT 6.2.9200.0
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 4
Program data path: C:\Users\XXXXX\AppData\Roaming\Emby-Server\programdata
Application directory: C:\Users\XXXXX\AppData\Roaming\Emby-Server\system
System.UnauthorizedAccessException: Access to the path 'F:\TV\Supergirl (2015)\Season 4\Supergirl - 0401 - American Alien.mkv' is denied.
   at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
   at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
   at Emby.AutoOrganize.Core.EpisodeFileOrganizer.PerformFileSorting(TvFileOrganizationOptions options, FileOrganizationResult result)
System.UnauthorizedAccessException
   at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
   at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
   at Emby.AutoOrganize.Core.EpisodeFileOrganizer.PerformFileSorting(TvFileOrganizationOptions options, FileOrganizationResult result)
 
2018-10-15 18:47:16.973 Info App: Sorting file F:\dload\This.Is.Us.S03E03.REPACK.1080p.WEB.x264-TBS[rarbg]\this.is.us.s03e03.repack.1080p.web.x264-tbs.mkv
2018-10-15 18:47:16.975 Info HttpServer: HTTP GET http://localhost:8096/web/css/images/throbber.gif. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:47:16.975 Info HttpServer: HTTP Response 404 to ::1. Time: 1ms. http://localhost:8096/web/css/images/throbber.gif 
2018-10-15 18:47:17.064 Info App: Sorting file F:\dload\This.Is.Us.S03E03.REPACK.1080p.WEB.x264-TBS[rarbg]\this.is.us.s03e03.repack.1080p.web.x264-tbs.mkv into series F:\TV\This Is Us (2016)
2018-10-15 18:47:17.064 Info App: Sorting file F:\dload\This.Is.Us.S03E03.REPACK.1080p.WEB.x264-TBS[rarbg]\this.is.us.s03e03.repack.1080p.web.x264-tbs.mkv to new path F:\TV\This Is Us (2016)\Season 3\This Is Us - 0303 - Katie Girls.mkv
2018-10-15 18:47:17.069 Info HttpServer: HTTP GET http://localhost:8096/emby/Library/FileOrganization?StartIndex=0&Limit=50. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:47:17.070 Info HttpServer: HTTP Response 200 to ::1. Time: 1ms. http://localhost:8096/emby/Library/FileOrganization?StartIndex=0&Limit=50 
2018-10-15 18:47:17.082 Info HttpServer: HTTP GET http://localhost:8096/web/css/images/throbber.gif. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:47:17.083 Info HttpServer: HTTP Response 404 to ::1. Time: 1ms. http://localhost:8096/web/css/images/throbber.gif 
2018-10-15 18:47:37.391 Info HttpServer: HTTP GET http://localhost:8096/web/configurationpage?name=AutoOrganizeTv&v=3.5.3.0&r=0. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:47:37.397 Info HttpServer: HTTP Response 304 to ::1. Time: 7ms. http://localhost:8096/web/configurationpage?name=AutoOrganizeTv&v=3.5.3.0&r=0 
2018-10-15 18:47:37.435 Info HttpServer: HTTP GET http://localhost:8096/web/configurationpage?name=AutoOrganizeTvJs&v=3.5.3.0. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:47:37.435 Info HttpServer: HTTP Response 304 to ::1. Time: 0ms. http://localhost:8096/web/configurationpage?name=AutoOrganizeTvJs&v=3.5.3.0 
2018-10-15 18:47:37.731 Info HttpServer: HTTP GET http://localhost:8096/emby/System/Configuration/autoorganize. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:47:37.744 Info HttpServer: HTTP Response 200 to ::1. Time: 13ms. http://localhost:8096/emby/System/Configuration/autoorganize 
2018-10-15 18:47:37.918 Info HttpServer: HTTP GET http://localhost:8096/emby/Library/VirtualFolders. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:47:37.939 Info HttpServer: HTTP Response 200 to ::1. Time: 21ms. http://localhost:8096/emby/Library/VirtualFolders 
2018-10-15 18:47:56.761 Info HttpServer: HTTP GET http://localhost:8096/emby/Library/FileOrganization?StartIndex=0&Limit=50. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:47:56.763 Info HttpServer: HTTP GET http://localhost:8096/emby/ScheduledTasks?IsEnabled=true. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:47:56.846 Info HttpServer: HTTP Response 200 to ::1. Time: 85ms. http://localhost:8096/emby/Library/FileOrganization?StartIndex=0&Limit=50 
2018-10-15 18:47:56.846 Info HttpServer: HTTP Response 200 to ::1. Time: 83ms. http://localhost:8096/emby/ScheduledTasks?IsEnabled=true 
2018-10-15 18:47:56.860 Info HttpServer: HTTP GET http://localhost:8096/web/css/images/throbber.gif. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:47:56.862 Info HttpServer: HTTP Response 404 to ::1. Time: 2ms. http://localhost:8096/web/css/images/throbber.gif 
2018-10-15 18:49:02.046 Info LibraryMonitor: American Alien (F:\TV\Supergirl (2015)\Season 4\Supergirl - 0401 - American Alien.mkv) will be refreshed.
2018-10-15 18:49:18.401 Error App: Error deleting F:\dload\This.Is.Us.S03E03.REPACK.1080p.WEB.x264-TBS[rarbg]\this.is.us.s03e03.repack.1080p.web.x264-tbs.mkv
*** Error Report ***
Version: 3.5.3.0
Command line: C:\Users\XXXXX\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
Operating system: Microsoft Windows NT 6.2.9200.0
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 4
Program data path: C:\Users\XXXXX\AppData\Roaming\Emby-Server\programdata
Application directory: C:\Users\XXXXX\AppData\Roaming\Emby-Server\system
System.IO.IOException: The process cannot access the file 'F:\dload\This.Is.Us.S03E03.REPACK.1080p.WEB.x264-TBS[rarbg]\this.is.us.s03e03.repack.1080p.web.x264-tbs.mkv' because it is being used by another process.
   at System.IO.FileSystem.DeleteFile(String fullPath)
   at System.IO.File.Delete(String path)
   at Emby.AutoOrganize.Core.EpisodeFileOrganizer.PerformFileSorting(TvFileOrganizationOptions options, FileOrganizationResult result)
System.IO.IOException
   at System.IO.FileSystem.DeleteFile(String fullPath)
   at System.IO.File.Delete(String path)
   at Emby.AutoOrganize.Core.EpisodeFileOrganizer.PerformFileSorting(TvFileOrganizationOptions options, FileOrganizationResult result)
 
2018-10-15 18:49:18.429 Info HttpServer: HTTP GET http://localhost:8096/web/css/images/throbber.gif. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:49:18.430 Info App: Sorting file F:\dload\The.Walking.Dead.S09E02.1080p.WEB.h264-CONVOY[rarbg]\the.walking.dead.s09e02.1080p.web.h264-convoy.mkv
2018-10-15 18:49:18.430 Info HttpServer: HTTP Response 404 to ::1. Time: 2ms. http://localhost:8096/web/css/images/throbber.gif 
2018-10-15 18:49:18.529 Info App: Sorting file F:\dload\The.Walking.Dead.S09E02.1080p.WEB.h264-CONVOY[rarbg]\the.walking.dead.s09e02.1080p.web.h264-convoy.mkv into series F:\TV\The Walking Dead (2010)
2018-10-15 18:49:18.530 Info App: Sorting file F:\dload\The.Walking.Dead.S09E02.1080p.WEB.h264-CONVOY[rarbg]\the.walking.dead.s09e02.1080p.web.h264-convoy.mkv to new path F:\TV\The Walking Dead (2010)\Season 9\The Walking Dead - 0902 - The Bridge.mkv
2018-10-15 18:49:18.535 Info HttpServer: HTTP GET http://localhost:8096/emby/Library/FileOrganization?StartIndex=0&Limit=50. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:49:18.543 Info HttpServer: HTTP Response 200 to ::1. Time: 8ms. http://localhost:8096/emby/Library/FileOrganization?StartIndex=0&Limit=50 
2018-10-15 18:49:18.556 Info HttpServer: HTTP GET http://localhost:8096/web/css/images/throbber.gif. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:49:18.557 Info HttpServer: HTTP Response 404 to ::1. Time: 1ms. http://localhost:8096/web/css/images/throbber.gif 
2018-10-15 18:50:18.435 Info HttpServer: HTTP DELETE http://localhost:8096/emby/Library/FileOrganizations/Completed. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:50:18.444 Info HttpServer: HTTP Response 204 to ::1. Time: 8ms. http://localhost:8096/emby/Library/FileOrganizations/Completed 
2018-10-15 18:50:18.452 Info HttpServer: HTTP GET http://localhost:8096/emby/Library/FileOrganization?StartIndex=0&Limit=50. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:50:18.453 Info HttpServer: HTTP Response 200 to ::1. Time: 2ms. http://localhost:8096/emby/Library/FileOrganization?StartIndex=0&Limit=50 
2018-10-15 18:50:18.455 Info HttpServer: HTTP GET http://localhost:8096/emby/Library/FileOrganization?StartIndex=0&Limit=50. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:50:18.457 Info HttpServer: HTTP Response 200 to ::1. Time: 2ms. http://localhost:8096/emby/Library/FileOrganization?StartIndex=0&Limit=50 
2018-10-15 18:50:18.466 Info HttpServer: HTTP GET http://localhost:8096/web/css/images/throbber.gif. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:50:18.468 Info HttpServer: HTTP Response 404 to ::1. Time: 1ms. http://localhost:8096/web/css/images/throbber.gif 
2018-10-15 18:50:44.811 Error App: Error deleting F:\dload\The.Walking.Dead.S09E02.1080p.WEB.h264-CONVOY[rarbg]\the.walking.dead.s09e02.1080p.web.h264-convoy.mkv
*** Error Report ***
Version: 3.5.3.0
Command line: C:\Users\XXXXX\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
Operating system: Microsoft Windows NT 6.2.9200.0
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 4
Program data path: C:\Users\XXXXX\AppData\Roaming\Emby-Server\programdata
Application directory: C:\Users\XXXXX\AppData\Roaming\Emby-Server\system
System.IO.IOException: The process cannot access the file 'F:\dload\The.Walking.Dead.S09E02.1080p.WEB.h264-CONVOY[rarbg]\the.walking.dead.s09e02.1080p.web.h264-convoy.mkv' because it is being used by another process.
   at System.IO.FileSystem.DeleteFile(String fullPath)
   at System.IO.File.Delete(String path)
   at Emby.AutoOrganize.Core.EpisodeFileOrganizer.PerformFileSorting(TvFileOrganizationOptions options, FileOrganizationResult result)
System.IO.IOException
   at System.IO.FileSystem.DeleteFile(String fullPath)
   at System.IO.File.Delete(String path)
   at Emby.AutoOrganize.Core.EpisodeFileOrganizer.PerformFileSorting(TvFileOrganizationOptions options, FileOrganizationResult result)
 
2018-10-15 18:50:44.817 Info TaskManager: Queueing task RefreshMediaLibraryTask
2018-10-15 18:50:44.817 Info TaskManager: Organize new media files Completed after 3 minute(s) and 29 seconds
2018-10-15 18:50:44.817 Info TaskManager: Executing Scan media library
2018-10-15 18:50:44.877 Info LibraryMonitor: Stopping directory watching for path F:\TV
2018-10-15 18:50:44.878 Info LibraryMonitor: Stopping directory watching for path E:\Movies
2018-10-15 18:50:44.881 Info TaskManager: ExecuteQueuedTasks
2018-10-15 18:50:44.906 Info HttpServer: HTTP GET http://localhost:8096/emby/Library/FileOrganization?StartIndex=0&Limit=50. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:50:44.908 Info HttpServer: HTTP Response 200 to ::1. Time: 2ms. http://localhost:8096/emby/Library/FileOrganization?StartIndex=0&Limit=50 
2018-10-15 18:50:44.911 Info App: Validating media library
2018-10-15 18:50:44.925 Info HttpServer: HTTP GET http://localhost:8096/web/css/images/throbber.gif. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2018-10-15 18:50:44.926 Info HttpServer: HTTP Response 404 to ::1. Time: 1ms. http://localhost:8096/web/css/images/throbber.gif 
 

 

I have made sure the entire TV folder and subfolders have good permissions in Win as well as Overwrite Existing Episodes in the TV tab of Auto Organize.

It's also taking several minutes to process everything (does it usually take that long?)

 

If I try to move it manually I get this

 

 

*** Error Report ***

Version: 3.5.3.0
Command line: C:\Users\XXXXX\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
Operating system: Microsoft Windows NT 6.2.9200.0
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 4
Program data path: C:\Users\XXXXX\AppData\Roaming\Emby-Server\programdata
Application directory: C:\Users\XXXXX\AppData\Roaming\Emby-Server\system
Emby.AutoOrganize.Core.OrganizationException: Failed to move file from F:\dload\This.Is.Us.S03E03.REPACK.1080p.WEB.x264-TBS[rarbg]\this.is.us.s03e03.repack.1080p.web.x264-tbs.mkv to F:\TV\This Is Us (2016)\Season 3\This Is Us - 0303 - Katie Girls.mkv: Access to the path 'F:\TV\This Is Us (2016)\Season 3\This Is Us - 0303 - Katie Girls.mkv' is denied.
   at Emby.AutoOrganize.Core.FileOrganizationService.PerformOrganization(String resultId)
Emby.AutoOrganize.Core.OrganizationException
   at Emby.AutoOrganize.Core.FileOrganizationService.PerformOrganization(String resultId)
Edited by dejo78
Posted

Hi, this has been reported before and the developers of the Auto-Organize plugin just haven't' chased it down yet.

 

While we are here I would just like to point out that Auto-Organize is a community addition that is maintained by volunteer community members, and contributions are welcome. The source code can be found here:

https://github.com/MediaBrowser/Emby.AutoOrganize

 

Thanks !

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...