Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Propresenter Crash when Searching Scripture #38

Closed
macsamsonx opened this issue Oct 17, 2024 · 10 comments
Closed

[BUG] Propresenter Crash when Searching Scripture #38

macsamsonx opened this issue Oct 17, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@macsamsonx
Copy link

I've got this error, when I try to search a scripture

Using Windows 11 -

System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) at ProPresenter.DO.Bibles.BibleHelper.MatchBook(BibleBase bible, String bookName) at ProPresenter.DO.Bibles.BibleHelper.ParseReferenceText(BibleBase bible, String text, BibleReference& startReference, BibleReference& endReference) at ProPresenter.ViewModels.BibleVM.UpdatePresentationContent(BibleBase bible, Boolean skipUndos) at ProPresenter.ViewModels.BibleVM.<.ctor>b__209_3(Object s, EventArgs e) at System.Windows.Threading.DispatcherTimer.FireTick(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext 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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(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.Window.ShowHelper(Object booleanBox) at System.Windows.Window.ShowDialog() at ProPresenter.Entry.Run(String[] args, InstanceValidator instanceValidator, SharedData1 sharedData)
at ProPresenter.Entry.Main(String[] args)

@macsamsonx macsamsonx added the bug Something isn't working label Oct 17, 2024
@martijnlentink
Copy link
Owner

Hi there,

Could you provide me with some more information like what search query did you use and which translation?

@macsamsonx
Copy link
Author

Ohh. I did't expect to get fast response. Thank you brother!

"1a30ba73-9f0d-41ed-84f8-227439c6de34|SWE|Magandang Balita Biblia (2005)|1"];

MMB05 is Filipino Bible -> I swap it with SWE

@martijnlentink
Copy link
Owner

Okay. And to clarify. You get this error message upon opening the bible, clicking the scripture dropdown or using the search box?
image

@macsamsonx
Copy link
Author

Yes Sir! After I click the specific verse

@martijnlentink
Copy link
Owner

You have that with any verse and chapter or specifically one?

@macsamsonx
Copy link
Author

Im just trying out so I just tried for one translation.

Did I did something wrong in the installation

I run the phyton script
-> Select a language
-> Select Translation
-> Hit OK
-> Choose a free version to swap that was not yet installed to my propresenter
-> Restart ProPresenter

@macsamsonx
Copy link
Author

Yes any verse and title

@macsamsonx
Copy link
Author

I tried with the OLD version of Filipino Bible it works with Ang Salita ng Diyos (SND)

martijnlentink added a commit that referenced this issue Dec 29, 2024
@martijnlentink
Copy link
Owner

Fixed issue in my last commit. Will be fixed in next release

@martijnlentink
Copy link
Owner

Newest release now out! Click here to download. Keen to hear if this fixes the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants