Dag Peter, I tried out the version you suggested, it works like a charm! Thanks a lot.
hugo On Tue, 25 Jul 2023 at 14:49, Peter Bienstman <peter.bienst...@gmail.com> wrote: > Can you try this version? > > > https://www.dropbox.com/scl/fi/tr5cni6itp8065ggr2794/Mnemosyne-2.10.1.tar.gz?rlkey=qw2c0mt9zw83y7nuqysogjnmf&dl=0 > > Cheers, > > Peter > > On Tue, Jul 25, 2023 at 11:28 AM Hugo Coolens <hugocool...@gmail.com> > wrote: > > > > I tried removing config.db but the problem does not go away. > > > > kind regards, > > Hugo > > > > On Mon, 24 Jul 2023 at 15:52, Peter Bienstman <peter.bienst...@gmail.com> > wrote: > >> > >> Can you try again with removing config.db? > >> > >> If that doesn't work, it's probably because linux reports the font > >> properties slightly differently than Windows. > >> > >> Peter > >> > >> On Mon, Jul 24, 2023 at 3:36 PM Hugo Coolens <hugocool...@gmail.com> > wrote: > >> > > >> > Peter, > >> > I installed 2.10.1 and the problem with increasing the size of the > non-latin characters with extra points is solved, thanks a lot. I also > tried to change the font to times new roman in stead of ubuntu regular. > Unfortunately, this results in a crash. > >> > As you can see below: > >> > > >> > > /usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10.1-py3.10.egg/mnemosyne/libmnemosyne/__init__.py:377: > UserWarning: google_trans_new package is not installed. Google translate > feature will not be available. > >> > warnings.warn("google_trans_new package is not installed. Google > translate feature will not be available.") > >> > 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 > /home/coolens/.local/lib/python3.10/site-packages/PyQt6/Qt6/libexec/QtWebEngineProcess > >> > * create-default-gl-context > >> > * disable-features > ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture > >> > * disable-setuid-sandbox > >> > * disable-speech-api > >> > * enable-features NetworkServiceInProcess,TracingServiceInProcess > >> > * enable-threaded-compositing > >> > * in-process-gpu > >> > * use-gl desktop > >> > > >> > Log body: > >> > An unexpected error has occurred. > >> > Please forward the following info to the developers: > >> > > >> > Traceback (innermost last): > >> > File "/usr/local/bin/mnemosyne", line 4, in <module> > >> > __import__('pkg_resources').run_script('Mnemosyne==2.10.1', > 'mnemosyne') > >> > File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", > line 656, in run_script > >> > self.require(requires)[0].run_script(script_name, ns) > >> > File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", > line 1453, in run_script > >> > exec(code, namespace, namespace) > >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10.1-py3.10.egg/EGG-INFO/scripts/mnemosyne", > line 312, in <module> > >> > mnemosyne.initialise(data_dir=data_dir, filename=filename, > >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10.1-py3.10.egg/mnemosyne/libmnemosyne/__init__.py", > line 462, in initialise > >> > self.start_review() > >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10.1-py3.10.egg/mnemosyne/libmnemosyne/__init__.py", > line 584, in start_review > >> > self.controller().set_study_mode(self.study_mode_with_id(\ > >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10.1-py3.10.egg/mnemosyne/libmnemosyne/controllers/default_controller.py", > line 114, in set_study_mode > >> > study_mode.activate() > >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10.1-py3.10.egg/mnemosyne/libmnemosyne/study_modes/scheduled_forgotten_new.py", > line 23, in activate > >> > self.review_controller().reset(new_only=False) > >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10.1-py3.10.egg/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py", > line 53, in reset > >> > self.show_new_question() > >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10.1-py3.10.egg/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py", > line 115, in show_new_question > >> > self.update_dialog() > >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10.1-py3.10.egg/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py", > line 196, in update_dialog > >> > self.update_qa_area(redraw_all) > >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10.1-py3.10.egg/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py", > line 228, in update_qa_area > >> > w.set_question(self.card.question(self.render_chain)) > >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10.1-py3.10.egg/mnemosyne/libmnemosyne/card.py", > line 96, in question > >> > return self.card_type.render_question\ > >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10.1-py3.10.egg/mnemosyne/libmnemosyne/card_type.py", > line 76, in render_question > >> > return self.render_chain(render_chain).\ > >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10.1-py3.10.egg/mnemosyne/libmnemosyne/render_chain.py", > line 153, in render_question > >> > return self._render(card, fact_keys, decorators, **render_args) > >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10.1-py3.10.egg/mnemosyne/libmnemosyne/render_chain.py", > line 178, in _render > >> > fact_data[fact_key] = filter.run(fact_data[fact_key], > >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10.1-py3.10.egg/mnemosyne/libmnemosyne/filters/non_latin_font_size_increase.py", > line 55, in run > >> > family,size,x,x,w,i,u,s,x,x,x,x,x,x,x,x,style \ > >> > ValueError: not enough values to unpack (expected 17, got 16) > >> > > >> > An unexpected error has occurred. > >> > Please forward the following info to the developers: > >> > > >> > Traceback (innermost last): > >> > File "/usr/local/bin/mnemosyne", line 4, in <module> > >> > __import__('pkg_resources').run_script('Mnemosyne==2.10.1', > 'mnemosyne') > >> > File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", > line 656, in run_script > >> > self.require(requires)[0].run_script(script_name, ns) > >> > File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", > line 1453, in run_script > >> > exec(code, namespace, namespace) > >> > File "/usr/local/lib/python3.10/dist-packages/Mne > >> > > >> > > >> > > >> > > >> > On Mon, 24 Jul 2023 at 12:00, Peter Bienstman < > peter.bienst...@gmail.com> wrote: > >> >> > >> >> Could you try with 2.10.1? It should be fixed in the latest release. > >> >> > >> >> Cheers, > >> >> > >> >> Peter > >> >> > >> >> On Mon, Jul 24, 2023 at 11:51 AM Hugo Coolens <hugocool...@gmail.com> > wrote: > >> >> > > >> >> > > >> >> > Removing config.db lets me start mnemosyne as normal. However > trying to change, the font size or font type leads to crashes. > >> >> > I have an example here below: > >> >> > > >> >> > coolens@antec2:~$ mnemosyne > >> >> > 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 > /home/coolens/.local/lib/python3.10/site-packages/PyQt6/Qt6/libexec/QtWebEngineProcess > >> >> > * create-default-gl-context > >> >> > * disable-features > ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture > >> >> > * disable-setuid-sandbox > >> >> > * disable-speech-api > >> >> > * enable-features > NetworkServiceInProcess,TracingServiceInProcess > >> >> > * enable-threaded-compositing > >> >> > * in-process-gpu > >> >> > * use-gl desktop > >> >> > > >> >> > Log body: > >> >> > An unexpected error has occurred. > >> >> > Please forward the following info to the developers: > >> >> > > >> >> > Traceback (innermost last): > >> >> > File "/usr/local/bin/mnemosyne", line 4, in <module> > >> >> > __import__('pkg_resources').run_script('Mnemosyne==2.10', > 'mnemosyne') > >> >> > File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", > line 656, in run_script > >> >> > self.require(requires)[0].run_script(script_name, ns) > >> >> > File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", > line 1453, in run_script > >> >> > exec(code, namespace, namespace) > >> >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10-py3.10.egg/EGG-INFO/scripts/mnemosyne", > line 312, in <module> > >> >> > mnemosyne.initialise(data_dir=data_dir, filename=filename, > >> >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10-py3.10.egg/mnemosyne/libmnemosyne/__init__.py", > line 462, in initialise > >> >> > self.start_review() > >> >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10-py3.10.egg/mnemosyne/libmnemosyne/__init__.py", > line 584, in start_review > >> >> > self.controller().set_study_mode(self.study_mode_with_id(\ > >> >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10-py3.10.egg/mnemosyne/libmnemosyne/controllers/default_controller.py", > line 114, in set_study_mode > >> >> > study_mode.activate() > >> >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10-py3.10.egg/mnemosyne/libmnemosyne/study_modes/scheduled_forgotten_new.py", > line 23, in activate > >> >> > self.review_controller().reset(new_only=False) > >> >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10-py3.10.egg/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py", > line 53, in reset > >> >> > self.show_new_question() > >> >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10-py3.10.egg/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py", > line 115, in show_new_question > >> >> > self.update_dialog() > >> >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10-py3.10.egg/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py", > line 196, in update_dialog > >> >> > self.update_qa_area(redraw_all) > >> >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10-py3.10.egg/mnemosyne/libmnemosyne/review_controllers/SM2_controller.py", > line 228, in update_qa_area > >> >> > w.set_question(self.card.question(self.render_chain)) > >> >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10-py3.10.egg/mnemosyne/libmnemosyne/card.py", > line 96, in question > >> >> > return self.card_type.render_question\ > >> >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10-py3.10.egg/mnemosyne/libmnemosyne/card_type.py", > line 76, in render_question > >> >> > return self.render_chain(render_chain).\ > >> >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10-py3.10.egg/mnemosyne/libmnemosyne/render_chain.py", > line 153, in render_question > >> >> > return self._render(card, fact_keys, decorators, **render_args) > >> >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10-py3.10.egg/mnemosyne/libmnemosyne/render_chain.py", > line 178, in _render > >> >> > fact_data[fact_key] = filter.run(fact_data[fact_key], > >> >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10-py3.10.egg/mnemosyne/libmnemosyne/filters/non_latin_font_size_increase.py", > line 52, in run > >> >> > base_font_size = self.main_widget().default_font_size() > >> >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10-py3.10.egg/mnemosyne/pyqt_ui/main_wdgt.py", > line 120, in default_font_size > >> >> > return QtWidgets.qApp.font().pointSize() > >> >> > AttributeError: module 'PyQt6.QtWidgets' has no attribute 'qApp' > >> >> > > >> >> > An unexpected error has occurred. > >> >> > Please forward the following info to the developers: > >> >> > > >> >> > Traceback (innermost last): > >> >> > File "/usr/local/bin/mnemosyne", line 4, in <module> > >> >> > __import__('pkg_resources').run_script('Mnemosyne==2.10', > 'mnemosyne') > >> >> > File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", > line 656, in run_script > >> >> > self.require(requires)[0].run_script(script_name, ns) > >> >> > File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", > line 1453, in run_script > >> >> > exec(code, namespace, namespace) > >> >> > File > "/usr/local/lib/python3.10/dist-packages/Mnemosyne-2.10-py3.10.egg/EGG-INFO/scripts/mnemosyne", > line 312, in <module> > >> >> > mnemosyne.initialise(data_dir=data_dir, filename=file > >> >> > > >> >> > On Mon, 24 Jul 2023 at 11:33, Peter Bienstman < > peter.bienst...@gmail.com> wrote: > >> >> >> > >> >> >> Hi, > >> >> >> > >> >> >> Try deleting config.db and try again. Let me know if the problem > persists. > >> >> >> > >> >> >> Cheers, > >> >> >> > >> >> >> Peter > >> >> >> > >> >> >> On Mon, Jul 24, 2023 at 11:26 AM Hugo Coolens < > hugocool...@gmail.com> wrote: > >> >> >> > > >> >> >> > Dear all, > >> >> >> > I tried to increase the font size for non-latin characters with > three pixels using the settings menu, I got a list of errors after doing > that, and now every time I try to start mnemosyne I'm getting the attached > error message window. How can I get mnemosyne back to work? > >> >> >> > > >> >> >> > kind regards, > >> >> >> > hugo > >> >> >> > > >> >> >> > -- > >> >> >> > 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 mnemosyne-proj-users+unsubscr...@googlegroups.com. > >> >> >> > To view this discussion on the web visit > https://groups.google.com/d/msgid/mnemosyne-proj-users/CAFCZ8G0SV4WuL2v0SLnLKVjNWDeEQ6NmjTpzC3tr599SA9fyTw%40mail.gmail.com > . > >> >> >> > >> >> >> -- > >> >> >> 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 mnemosyne-proj-users+unsubscr...@googlegroups.com. > >> >> >> To view this discussion on the web visit > https://groups.google.com/d/msgid/mnemosyne-proj-users/CAMdxoPEwC4pa0P8%2BHZ8ZoE_1h4Wu3qxwv%3D3M0TPHAVYFLqFZRg%40mail.gmail.com > . > >> >> > > >> >> > -- > >> >> > 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 mnemosyne-proj-users+unsubscr...@googlegroups.com. > >> >> > To view this discussion on the web visit > https://groups.google.com/d/msgid/mnemosyne-proj-users/CAFCZ8G1tZ1DTUE5wwGPjTEtBNkgJM0gp0N%3DHBbmipHpmaX0NZQ%40mail.gmail.com > . > >> >> > >> >> -- > >> >> 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 mnemosyne-proj-users+unsubscr...@googlegroups.com. > >> >> To view this discussion on the web visit > https://groups.google.com/d/msgid/mnemosyne-proj-users/CAMdxoPFw6MN5wGy5BVix658XhqSYXPeSz3i559XzusCz3BiAwg%40mail.gmail.com > . > >> > > >> > -- > >> > 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 mnemosyne-proj-users+unsubscr...@googlegroups.com. > >> > To view this discussion on the web visit > https://groups.google.com/d/msgid/mnemosyne-proj-users/CAFCZ8G1wxFwuHbZmPX0ZThTpKqKzE1Y-1OnhBQMLFOR9mCpOjA%40mail.gmail.com > . > >> > >> -- > >> 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 mnemosyne-proj-users+unsubscr...@googlegroups.com. > >> To view this discussion on the web visit > https://groups.google.com/d/msgid/mnemosyne-proj-users/CAMdxoPEj%2BgNFJ6Ww%2BpQSutZ8SQuCgPMkjR1knu3i_cBkQGHcPQ%40mail.gmail.com > . > > > > -- > > 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 mnemosyne-proj-users+unsubscr...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/mnemosyne-proj-users/CAFCZ8G2eVJFV%2Bg%3DZ09VOnjO3Df9RrQWSkik4FjNJdmc5VOSAJQ%40mail.gmail.com > . > > -- > 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 mnemosyne-proj-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mnemosyne-proj-users/CAMdxoPH_Hi3FsnyasQETsOmr%3DdHgHkq%2Bo_WwsZ%2BNLg-NVADv8A%40mail.gmail.com > . > -- 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 mnemosyne-proj-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/CAFCZ8G2Km7DqshQLSCFtUDuFY%3D5ZHoSMx-AuYzRhHaM_KgXv6A%40mail.gmail.com.