There seems to have been a bug in the software I use to create the
installer, such that the multimedia libraries were not bundled. This caused
the crash whenever you had a card that had audio.

I've upgraded to their development version, which supposedly fixed the
issue.

Can you try this version?

https://www.dropbox.com/s/6yhnso9tesgk2a5/mnemosyne-2.10.1-setup-console.exe?dl=0

Peter



On Fri, Feb 3, 2023 at 6:32 PM Adam M <[email protected]> wrote:

> It crashes after exactly 4 cards. When I open the Mnemosyne again, the
> same 4 cards appear. They're text-based. I've got audio and images in other
> cards.
>
> Here's the output from the console:
>
> PS C:\Program Files (x86)\Mnemosyne> .\Mnemosyne.exe
> qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
> qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
> qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
> qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
> qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
> qt.webenginecontext:
>
> GL Type: desktop
> Surface Type: OpenGL
> Surface Profile: CompatibilityProfile
> Surface Version: 4.6
> QSG RHI Backend: OpenGL
> Using Supported QSG Backend: yes
> Using Software Dynamic GL: no
> Using Multithreaded OpenGL: yes
>
> Init Parameters:
>   *  application-name Mnemosyne
>   *  browser-subprocess-path C:\Program Files
> (x86)\Mnemosyne\PyQt6\Qt6\bin\QtWebEngineProcess.exe
>   *  create-default-gl-context
>   *  disable-es3-gl-context
>   *  disable-features
> ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
>   *  disable-speech-api
>   *  enable-features NetworkServiceInProcess,TracingServiceInProcess
>   *  enable-threaded-compositing
>   *  in-process-gpu
>   *  use-gl desktop
>
> could not load multimedia backend ""
> QtMultimedia is not currently supported on this platform or compiler.
> PS C:\Program Files (x86)\Mnemosyne>
>
> Hope this helps in any way. Mnemosyne is awesome and I wish I could keep
> using it.
> On Friday, February 3, 2023 at 1:32:55 PM UTC+1 Peter Bienstman wrote:
>
>> Strange... Is there any pattern to it? Like number of cards reviewed,
>> images, audio?
>>
>> The trouble is, if there's no dialog box with an error message, it means
>> that the crash is happening somewhere deep inside the libraries I'm using,
>> and not in Mnemosyne itself.
>>
>> Anyway, here's an installer that does not hide the console, so that these
>> libraries have a chance to print messages there:
>>
>>
>> https://www.dropbox.com/s/gtlp4rgl17lwknc/mnemosyne-2.10.1-console-setup.exe?dl=0
>>
>> Start this version of Mnemosyne from command prompt, and you will be able
>> to keep seeing the messages even if the program closes.
>>
>> Peter
>>
>>
>>
>> On Fri, 3 Feb 2023, 13:03 Adam M, <[email protected]> wrote:
>>
>>> I gave a go the preview version, which you posted - 2.10.1. Still, it
>>> crashes after several cards. Is there a way to debug this on Windows 10?
>>>
>>> On Thursday, February 2, 2023 at 7:39:52 PM UTC+1 Peter Bienstman wrote:
>>>
>>>> If you want to downgrade, I'm afraid you have to delete config.db,
>>>> which will reset your settings...
>>>>
>>>> Still, it would be good to figure out if 2.10 correctly works when you
>>>> fully uninstall the old version first.
>>>>
>>>> Peter
>>>>
>>>> On Thu, Feb 2, 2023 at 7:11 PM Adam M <[email protected]> wrote:
>>>>
>>>>> Howdy!
>>>>>
>>>>> I installed Mnemosyne 2.10, but it kept exiting unexpectedly on random
>>>>> cards. So I decided to give an older version a go. Perhaps my mistake was
>>>>> not uninstalling the 2.10 earlier (I do not know if the database will be
>>>>> kept), but now when I try to open the application I get the following:
>>>>>
>>>>> ---------------------------
>>>>> An unexpected error has occurred.
>>>>> Please forward the following info to the developers:
>>>>>
>>>>> Traceback (innermost last):
>>>>>   File "mnemosyne\pyqt_ui\mnemosyne", line 278, in <module>
>>>>>   File "mnemosyne\libmnemosyne\__init__.py", line 462, in initialise
>>>>>   File "mnemosyne\libmnemosyne\__init__.py", line 584, in start_review
>>>>>   File "mnemosyne\libmnemosyne\controllers\default_controller.py",
>>>>> line 114, in set_study_mode
>>>>>   File
>>>>> "mnemosyne\libmnemosyne\study_modes\scheduled_forgotten_new.py", line 23,
>>>>> in activate
>>>>>   File "mnemosyne\libmnemosyne\review_controllers\SM2_controller.py",
>>>>> line 53, in reset
>>>>>   File "mnemosyne\libmnemosyne\review_controllers\SM2_controller.py",
>>>>> line 115, in show_new_question
>>>>>   File "mnemosyne\libmnemosyne\review_controllers\SM2_controller.py",
>>>>> line 196, in update_dialog
>>>>>   File "mnemosyne\libmnemosyne\review_controllers\SM2_controller.py",
>>>>> line 228, in update_qa_area
>>>>>   File "mnemosyne\libmnemosyne\card.py", line 96, in question
>>>>>   File "mnemosyne\libmnemosyne\card_type.py", line 76, in
>>>>> render_question
>>>>>   File "mnemosyne\libmnemosyne\render_chain.py", line 153, in
>>>>> render_question
>>>>>   File "mnemosyne\libmnemosyne\render_chain.py", line 184, in _render
>>>>>   File "mnemosyne\libmnemosyne\renderers\html_css.py", line 128, in
>>>>> render
>>>>>   File "mnemosyne\libmnemosyne\renderers\html_css.py", line 105, in css
>>>>>   File "mnemosyne\libmnemosyne\renderers\html_css.py", line 99, in
>>>>> update
>>>>>   File "mnemosyne\libmnemosyne\renderers\html_css.py", line 76, in
>>>>> card_type_css
>>>>>  ValueError: too many values to unpack (expected 10)
>>>>>
>>>>> Any solution would be awesome.
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "mnemosyne-proj-users" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/mnemosyne-proj-users/c6b1e9cd-716a-42aa-96eb-5be44aab469an%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/mnemosyne-proj-users/c6b1e9cd-716a-42aa-96eb-5be44aab469an%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "mnemosyne-proj-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/mnemosyne-proj-users/8be61a48-1f25-42e5-a747-c9af89bd8674n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/mnemosyne-proj-users/8be61a48-1f25-42e5-a747-c9af89bd8674n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "mnemosyne-proj-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mnemosyne-proj-users/5af507b4-8525-44bf-a2e9-c34d81912b3cn%40googlegroups.com
> <https://groups.google.com/d/msgid/mnemosyne-proj-users/5af507b4-8525-44bf-a2e9-c34d81912b3cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/CAMdxoPHGT6wd-9TyyB7aPGNBsQNunTy%3DWLaGoGxFNezVtv1e2Q%40mail.gmail.com.

Reply via email to