GuzziMP / my-films

Automatically exported from code.google.com/p/my-films
0 stars 0 forks source link

Error when creating a new catalog file inside a nonexistent folder #400

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
AMC updater

What steps will reproduce the problem?
Begin a new import. Then amcu asks if I want to create a new file. I select yes 
and then the error ocurs.
This only happens if the folder doesn´t exist.
c:\films\films.xml will give error only if the folder films does not exist, 
else all goes ok and it creates the file films.xml

Consulte el final de este mensaje para obtener más detalles sobre cómo 
invocar a la depuración 
Just-In-Time (JIT) en lugar de a este cuadro de diálogo.

************** Texto de la excepción **************
System.IO.DirectoryNotFoundException: No se puede encontrar una parte de la 
ruta de acceso 'C:\ProgramData\Team 
MediaPortal\MediaPortal\MyFilms\pelis\pelis.xml'.
   en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   en 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, Boolean useLongPath, Boolean checkHost)
   en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   en AMCUpdater.Form1.btnParseXML_Click(Object sender, EventArgs e)
   en AMCUpdater.Form1.btnJustDoIt_Click(Object sender, EventArgs e)
   en System.Windows.Forms.Control.OnClick(EventArgs e)
   en System.Windows.Forms.Button.OnClick(EventArgs e)
   en System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ButtonBase.WndProc(Message& m)
   en System.Windows.Forms.Button.WndProc(Message& m)
   en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Ensamblados cargados **************
mscorlib
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.17929 built by: FX45RTMREL
    Código base: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
AMCUpdater
    Versión del ensamblado: 6.1.0.3107
    Versión Win32: 6.1.0.3107
    Código base: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/AMCupdater.exe
----------------------------------------
Microsoft.VisualBasic
    Versión del ensamblado: 10.0.0.0
    Versión Win32: 11.0.50709.17929 built by: FX45RTMREL
    Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.17929 built by: FX45RTMREL
    Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.17929 built by: FX45RTMREL
    Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.17929 built by: FX45RTMREL
    Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.17929 built by: FX45RTMREL
    Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.17929 built by: FX45RTMREL
    Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.17929 built by: FX45RTMREL
    Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.17929 built by: FX45RTMREL
    Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Utils
    Versión del ensamblado: 1.8.0.0
    Versión Win32: 1.8.0.0
    Código base: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Utils.DLL
----------------------------------------
System.Data
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.17929 built by: FX45RTMREL
    Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Numerics
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.17929 built by: FX45RTMREL
    Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Data.DataSetExtensions
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.17929 built by: FX45RTMREL
    Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
----------------------------------------
System.Windows.Forms.resources
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.17929 built by: FX45RTMREL
    Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Accessibility
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.17929 built by: FX45RTMREL
    Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
mscorlib.resources
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.17929 built by: FX45RTMREL
    Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_es_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------

************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración 
de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada

Por ejemplo:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.

Original issue reported on code.google.com by vivamiloro on 8 Jul 2014 at 2:22

GoogleCodeExporter commented 8 years ago

Original comment by vivamiloro on 9 Jul 2014 at 6:49

GoogleCodeExporter commented 8 years ago

Original comment by vivamiloro on 9 Jul 2014 at 6:50

GoogleCodeExporter commented 8 years ago

Original comment by vivamiloro on 9 Jul 2014 at 6:54

GoogleCodeExporter commented 8 years ago
Do you mean the process of setuop a new catalog in MF setup - or using 
AMCupdater with an outdated config, that doesn't find the catalog file anymore?

Original comment by Guzz...@googlemail.com on 10 Jul 2014 at 12:42

GoogleCodeExporter commented 8 years ago
Seems there is more reports from users - althoug it is not yet fully clear, it 
seems to be caused by missing directory, so will try to fix that.

Original comment by Guzz...@googlemail.com on 16 Jul 2014 at 10:12

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r3125.

Original comment by Guzz...@googlemail.com on 16 Jul 2014 at 10:19