MP crash when accessing to remote shared file (1 Viewer)

PeppeBytes

Portal Member
April 22, 2008
29
5
Rome
Home Country
Italy Italy
Hi to all and thanks for good job,
I have found a bug.
When a remote folder there are a file without read permission to Everyone, the MediaPortal crash when movinpictures try to access to this file.
the only error are present in error.log see below
the moving picture log do not contain any error because stop working at the same time of the error.

after I set read grant to everyone to the involved file the error disappear and all work fine.

movingpictures 1.1.2
mediaportal 1.1.3.0
windows xp SP3
remote folder on windows 7 sp1

error.log
Code:
[B]2011-04-08 13.48.14.328125 [ERROR][PathScanner(20)]: MediaPortal: Unhandled exception occured
2011-04-08 13.48.14.328125 [ERROR][PathScanner(20)]: Exception   :System.UnauthorizedAccessException: Access to the path '\\SERVER\Downloads\HD\I Poliziotti di Riserva [2010 iTA-ENG Subs.720p.Bluray.x264.DTS].mkv' is denied.[/B]
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.IO.FileInfo.Open(FileMode mode, FileAccess access, FileShare share)
   at Cornerstone.Extensions.IO.FileInfoExtensions.IsLocked(FileInfo self)
   at MediaPortal.Plugins.MovingPictures.LocalMediaManagement.MovieImporter.ScanFiles(List`1 importFileList, Boolean highPriority)
   at MediaPortal.Plugins.MovingPictures.LocalMediaManagement.MovieImporter.ScanAndMonitorPaths()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
[B]2011-04-08 13.48.14.328125 [ERROR][PathScanner(20)]: Exception   :Access to the path '\\SERVER\Downloads\HD\I Poliziotti di Riserva [2010 iTA-ENG Subs.720p.Bluray.x264.DTS].mkv' is denied.[/B]
2011-04-08 13.48.14.328125 [ERROR][PathScanner(20)]:   site      :Void WinIOError(Int32, System.String)
2011-04-08 13.48.14.328125 [ERROR][PathScanner(20)]:   source    :mscorlib
2011-04-08 13.48.14.328125 [ERROR][PathScanner(20)]:   stacktrace:   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.IO.FileInfo.Open(FileMode mode, FileAccess access, FileShare share)
   at Cornerstone.Extensions.IO.FileInfoExtensions.IsLocked(FileInfo self)
   at MediaPortal.Plugins.MovingPictures.LocalMediaManagement.MovieImporter.ScanFiles(List`1 importFileList, Boolean highPriority)
   at MediaPortal.Plugins.MovingPictures.LocalMediaManagement.MovieImporter.ScanAndMonitorPaths()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

movingpicture.log
Code:
08-Apr-2011 13:48:05  Info [     DatabaseManager]: Successfully Opened Database: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Database\movingpictures.db3 
08-Apr-2011 13:48:05  Info [     SettingsManager]: SettingsManager Created 
08-Apr-2011 13:48:05  Info [  MovingPicturesCore]: Moving Pictures (1.1.2:1219) 
08-Apr-2011 13:48:05  Info [  MovingPicturesCore]: Plugin Launched 
08-Apr-2011 13:48:05  Info [DatabaseMaintenanceM]: Checking for bad data source entries... 
08-Apr-2011 13:48:08  Info [ DataProviderManager]: DataProviderManager Starting 
08-Apr-2011 13:48:08  Info [ DataProviderManager]: Loading existing data sources... 
08-Apr-2011 13:48:08  Info [ DataProviderManager]: Checking internal scripts for updates... 
08-Apr-2011 13:48:09  Info [DatabaseMaintenanceM]: Updating Movie Information... 
08-Apr-2011 13:48:09  Info [DatabaseMaintenanceM]: Removed 0 movie entries. 
08-Apr-2011 13:48:09  Info [DatabaseMaintenanceM]: Updated 0 movie entries with default user setting. 
08-Apr-2011 13:48:09  Info [         Translation]: Using language it 
08-Apr-2011 13:48:09  Info [         Translation]: Translation not found for field: RemoteNumericAlphabet0.  Using hard-coded English default. 
08-Apr-2011 13:48:09  Info [         Translation]: Translation not found for field: RemoteNumericAlphabet1.  Using hard-coded English default. 
08-Apr-2011 13:48:09  Info [       DeviceManager]: Starting Disk Watcher... 
08-Apr-2011 13:48:09  Info [       DeviceManager]: Successfully started Disk Watcher. 
08-Apr-2011 13:48:09  Info [       DeviceManager]: Added J: to Disk Watcher 
08-Apr-2011 13:48:09  Info [       DeviceManager]: Added I: to Disk Watcher 
08-Apr-2011 13:48:09  Info [       MovieImporter]: Started MovieImporter 
08-Apr-2011 13:48:09  Info [       MovieImporter]: Initiating full scan on watch folders. 
08-Apr-2011 13:48:09  Info [        SkinSettings]: Loading defines from skin. 
08-Apr-2011 13:48:09  Info [        SkinSettings]: Assigned skin setting: ListViewAvailable (#list.available) = True 
08-Apr-2011 13:48:09  Info [        SkinSettings]: Assigned skin setting: IconViewAvailable (#smallicons.available) = True 
08-Apr-2011 13:48:09  Info [        SkinSettings]: Assigned skin setting: LargeIconViewAvailable (#largeicons.available) = True 
08-Apr-2011 13:48:09  Info [        SkinSettings]: Assigned skin setting: FilmstripViewAvailable (#filmstrip.available) = True 
08-Apr-2011 13:48:09  Info [        SkinSettings]: Assigned skin setting: UseBackdropInListView (#list.backdrop.used) = True 
08-Apr-2011 13:48:09  Info [        SkinSettings]: Assigned skin setting: UseBackdropInIconView (#smallicons.backdrop.used) = True 
08-Apr-2011 13:48:09  Info [        SkinSettings]: Assigned skin setting: UseBackdropInLargeIconView (#largeicons.backdrop.used) = True 
08-Apr-2011 13:48:09  Info [        SkinSettings]: Assigned skin setting: UseBackdropInFilmstripView (#filmstrip.backdrop.used) = True 
08-Apr-2011 13:48:09  Info [        SkinSettings]: Assigned skin setting: UseBackdropInDetailsView (#details.backdrop.used) = True 
08-Apr-2011 13:48:09  Info [        SkinSettings]: Assigned skin setting: UseBackdropInCategoriesView (#categories.backdrop.used) = True 
08-Apr-2011 13:48:09  Info [         MoviePlayer]: Movie Player initialized. 
08-Apr-2011 13:48:09  Info [   MovingPicturesGUI]: GUI Initialization Complete 
08-Apr-2011 13:48:09  Info [  MovingPicturesCore]: Starting Background Processes... 
08-Apr-2011 13:48:09  Info [MediaInfoUpdateProce]: Begining background media info update process. 
08-Apr-2011 13:48:10  Info [MediaInfoUpdateProce]: Background media info update process complete. 
08-Apr-2011 13:48:10  Info [UpdateArtworkProcess]: Beginging artwork updater background process. 
08-Apr-2011 13:48:10  Info [       MovieImporter]: Started watching '\\Freenas\HD_VIDEO_Novita' (Network) - Path is now being monitored for changes. 
08-Apr-2011 13:48:10  Info [       MovieImporter]: Started watching 'I:\My Video\!Films' (Fixed) - Path is now being monitored for changes. 
08-Apr-2011 13:48:10  Info [       MovieImporter]: Started watching '\\Freenas\HDVIDEO2' (Network) - Path is now being monitored for changes. 
08-Apr-2011 13:48:10  Info [       MovieImporter]: Started watching '\\Freenas\HDVIDEO' (Network) - Path is now being monitored for changes. 
08-Apr-2011 13:48:10  Info [       MovieImporter]: Started watching '\\SERVER\Downloads\HD' (Network) - Path is now being monitored for changes. 
08-Apr-2011 13:48:10  Info [        DBImportPath]: Skipping scan for 'J:\': the drive is empty. 
08-Apr-2011 13:48:11  Info [         DBMovieInfo]: Added backdrop for 'La linea' from: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Thumbs\MovingPictures\Backdrops\FullSize\{La.linea} [1080528513].jpg 
08-Apr-2011 13:48:14  Info [       MovieImporter]: File '\\SERVER\Downloads\HD\Death Race 2 [2010 iTA 720p BluRay x264 DTS AC3 Subs].mkv' was moved/renamed to '\\Freenas\HD_VIDEO_Novita\Death Race 2 [2010 iTA 720p BluRay x264 DTS AC3 Subs].mkv'. Updating existing entry. 
08-Apr-2011 13:48:14  Warn [   FileBasedResource]: File does not exist: http://cf1.imgobject.com/backdrops/2f4/4bc95769017a3c57fe0272f4/streets-of-blood-original.png 
08-Apr-2011 13:48:14 Error [   FileBasedResource]: Failed downloading backdrop for "Streets of Blood": http://cf1.imgobject.com/backdrops/2f4/4bc95769017a3c57fe0272f4/streets-of-blood-original.png 
08-Apr-2011 13:48:14  Info [       MovieImporter]: File '\\SERVER\Downloads\HD\Game Of Death [2010.iTALiAN.720p.PDTV.x264-AiRED].mkv' was moved/renamed to '\\Freenas\HD_VIDEO_Novita\Game Of Death [2010.iTALiAN.720p.PDTV.x264-AiRED].mkv'. Updating existing entry. 
08-Apr-2011 13:48:14 Error [          WebGrabber]: Connection failed: URL=http://www.mymovies.it/poster/?id=42531, Status=InternalServerError, Description=Internal Server Error.

thanks to all for support....
 

Users who are viewing this thread

Top Bottom