SWYH plante après avoir démarré

Bonjour,

Super idée ce programme… Mais je rencontre une erreur apres le lancement.

Tests effectués :
1- sur un TOSHIBA R850 sous windows 7 - 64 bits avec .Net framework 4.0
2- sur un SAMSUNG R510 sous Vista SP2 Edition familliale - 32 bits avec .Net framework 4.0

Même problème sur les 2 PC… snif…Une idée ? un pb matériel ?

ci-dessous les logs windows et applicatifs :

error.log :
Date: 03/02/2013 19:05:39
Message: L’index était hors limites. Il ne doit pas être négatif et doit être inférieur à la taille de la collection.
Nom du paramètre : index
Detail: System.ArgumentOutOfRangeException: L’index était hors limites. Il ne doit pas être négatif et doit être inférieur à la taille de la collection.
Nom du paramètre : index
à System.Collections.ArrayList.get_Item(Int32 index)
à SWYH.App.c__DisplayClass19.b__18()
à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
à MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
à System.Windows.Threading.DispatcherOperation.InvokeImpl()
à System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
à System.Threading.ExecutionContext.runTryCode(Object userData)
à System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
à System.Windows.Threading.DispatcherOperation.Invoke()
à System.Windows.Threading.Dispatcher.ProcessQueue()
à System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
à MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
à System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
à MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
à MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
à System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
à System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
à System.Windows.Application.RunDispatcher(Object ignore)
à System.Windows.Application.RunInternal(Window window)
à System.Windows.Application.Run(Window window)
à SWYH.App.Main()

Windows :
Application : SWYH.exe
Version du Framework : v4.0.30319
Description : le processus a été arrêté en raison d’une exception non gérée.
Informations sur l’exception : System.ArgumentOutOfRangeException

+1

Même message d’erreur… (ordi windows vista sur ampli pioneer VSX-922)

Message: L’index était hors limites. Il ne doit pas être négatif et doit être inférieur à la taille de la collection.

 

Bonjour,

J’ai corrigé le bug de facon à éviter le crash de l’application mais je ne suis pas sûr que vos devices UPnP vont être correctement detectés !

Je vous laisse tester cette version provisoire. Merci de me remonter votre feedback !

Pour cela :

1 - Télécharger le fichier : http://www.streamwhatyouhear.com/downloads/SWYH_1.3_13063_BugFix.exe

2 - Renommer le fichier en “SWYH.exe”

3 - Copier ce fichier dans le répertoire de SWYH (qq chose comme : C:\Program Files (x86)\Stream What You Hear).

(ps : renommer le fichier original de facon à garder un backup au cas où).

Merci de vos retours;

Bonjour.

voila juste un probleme avec SWYH config : Pioneer VSX-922 et ACER 8935G W7 Pro 32 bitsvoila le fichier ERROR de SWYH:

Date: 08/03/2013 14:21:06
Message: Invalid number of channels
Nom du paramètre : format
Detail: System.ArgumentOutOfRangeException: Invalid number of channels
Nom du paramètre : format
à SWYH.Audio.Mp3.LHV1…ctor(WaveFormat format, UInt32 MpeBitRate)
à SWYH.Audio.WasapiProvider…ctor()
à SWYH.App.Application_Startup(Object sender, StartupEventArgs e)
à System.Windows.Application.OnStartup(StartupEventArgs e)
à System.Windows.Application.<.ctor>b__1(Object unused)
à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
à MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
à System.Windows.Threading.DispatcherOperation.InvokeImpl()
à System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
à System.Threading.ExecutionContext.runTryCode(Object userData)
à System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
à System.Windows.Threading.DispatcherOperation.Invoke()
à System.Windows.Threading.Dispatcher.ProcessQueue()
à System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
à MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
à System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
à MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
à MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
à System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
à System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
à System.Windows.Application.RunDispatcher(Object ignore)
à System.Windows.Application.RunInternal(Window window)
à System.Windows.Application.Run(Window window)
à SWYH.App.Main()

 

Merci

oui super idée ce soft mais ça plante également pour moi, même avec le fix :

 

Date: 28/04/2013 11:55:08

Message: Invalid number of channels

Nom du paramètre : format

Detail: System.ArgumentOutOfRangeException: Invalid number of channels

Nom du paramètre : format

à SWYH.Audio.Mp3.LHV1…ctor(WaveFormat format, UInt32 MpeBitRate)

à SWYH.Audio.WasapiProvider…ctor()

à SWYH.App.Application_Startup(Object sender, StartupEventArgs e)

à System.Windows.Application.OnStartup(StartupEventArgs e)

à System.Windows.Application.<.ctor>b__1(Object unused)

à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

à MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

à System.Windows.Threading.DispatcherOperation.InvokeImpl()

à System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)

à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

à System.Windows.Threading.DispatcherOperation.Invoke()

à System.Windows.Threading.Dispatcher.ProcessQueue()

à System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

à MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

à MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

à MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

à System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)

à MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

à MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)

à System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)

à System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)

à System.Windows.Threading.Dispatcher.Run()

à System.Windows.Application.RunDispatcher(Object ignore)

à System.Windows.Application.RunInternal(Window window)

à System.Windows.Application.Run(Window window)

à SWYH.App.Main()


Date: 28/04/2013 11:56:53

Message: Invalid number of channels

Nom du paramètre : format

Detail: System.ArgumentOutOfRangeException: Invalid number of channels

Nom du paramètre : format

à SWYH.Audio.Mp3.LHV1…ctor(WaveFormat format, UInt32 MpeBitRate)

à SWYH.Audio.WasapiProvider…ctor()

à SWYH.App.Application_Startup(Object sender, StartupEventArgs e)

à System.Windows.Application.OnStartup(StartupEventArgs e)

à System.Windows.Application.<.ctor>b__1(Object unused)

à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

à MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

à System.Windows.Threading.DispatcherOperation.InvokeImpl()

à System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)

à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

à System.Windows.Threading.DispatcherOperation.Invoke()

à System.Windows.Threading.Dispatcher.ProcessQueue()

à System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

à MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

à MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

à MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

à System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)

à MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

à MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)

à System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)

à System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)

à System.Windows.Threading.Dispatcher.Run()

à System.Windows.Application.RunDispatcher(Object ignore)

à System.Windows.Application.RunInternal(Window window)

à System.Windows.Application.Run(Window window)

à SWYH.App.Main()


Merci :wink:

Bonjour,

SWYH est actuellement (v1.3) incapable de capturer le son autre qu’une source Stéréo (2 canaux). De ce fait, si vous avez un PC avec plusieurs canaux en sortie (5.1 par exemple), SWYH plante :frowning:

Je n’ai pas encore trouvé le temps de corriger cela, le moyen le plus simple est de re-configurer votre carte son pour sortir sur 2 canaux seulement (mode Stéréo).

Voir sur forum EN : http://www.streamwhatyouhear.com/forums/topic/stream-what-you-hear-has-stopped-working/#post-350

Sebastien

salut

merci encore pour cette appli. j’ai eu le probleme de plantage apres demarrage. j’ai remplacé le exe par celui proposé ci-dessus. ca a marché 2-3 semaines, puis plus. le matos n’a pas changé entre temps (PC W7 64bit, recepteur radio internet philips).

une idée ? je suis tout prêt à “donate” si ça se stabilise :slight_smile:

 

Bonjour,

J’ai également un plantage au démarrage sur un PC avec 7 ultimate 64bits EN.

Date: 13/06/2013 19:13:43
Message: Unsupported sample rate
Parameter name: format
Detail: System.ArgumentOutOfRangeException: Unsupported sample rate
Parameter name: format
at SWYH.Audio.Mp3.LHV1…ctor(WaveFormat format, UInt32 MpeBitRate)
at SWYH.Audio.WasapiProvider…ctor()
at SWYH.App.Application_Startup(Object sender, StartupEventArgs e)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at SWYH.App.Main()

Merci de votre aide

Laurent

the finishing tchuoes: I added all new buttons (see shank button tutorial), re-stitched the tags, repaired lining holes (see patching nylon jacket tute), and re-stitched the

The tablet is not yet luceahnd in India but is expected for launch by October end and will be priced at under $300 according to reports which roughly translates into Rs 16,648. It should be a competitive price for such a highly branded product with good features.