Unfortunately there's no official manjaro mnemosyne packages, so I have to 
use AUR.

That said, it appears even if I remove the official manjaro 
python-matplotlib and python-cheroot, and replace them with pip versions 
(matplotlib, cheroot), I still get the same errors thrown up.  So perhaps 
it has to do with the newest versions?

If I try to downgrade the official manjaro packages, it says mnemosyne 
states that it can't find the modules, because I think they are using 
python 3.7 instead of python 3.8.

----------

Lastly, any chance of getting snap packages of mnemosyne?

Thanks.

On Monday, January 6, 2020 at 8:31:48 AM UTC-5, Peter Bienstman wrote:
>
> Hi,
>
>  
>
> These are errors related to the install of the dependencies of Mnemosyne 
> (matplotlib, cheroot), so I’m not sure I have a lot of useful input…
>
>  
>
> Is there some official Manjaro Mnemosyne package you could use? Perhaps 
> that will help to pull in the correct dependencies.
>
>  
>
> Otherwise, you could also ask around on Manjaro forums…
>
>  
>
> Cheers,
>
>  
>
> Peter
>
>  
>
> *From:* [email protected] <javascript:> <
> [email protected] <javascript:>> *On Behalf Of *Huang
> *Sent:* 05 January 2020 03:11
> *To:* mnemosyne-proj-users <[email protected] <javascript:>>
> *Subject:* [mnemosyne-proj-users] Manjaro Linux (AUR) version throwing up 
> errors.
>
>  
>
> Hi, I'm using Manjaro.  Unfortunately, since 2.7 I've been having a lot of 
> errors.
>
>  
>
> I was able to get by for the most part, but after my computer crashed, and 
> I had to reinstall everything, I haven't been able to fix these errors.  
>
>  
>
> The first one is when I click on the statistics button.  
>
>  
>
> Log body:
>  An unexpected error has occurred.
> Please forward the following info to the developers:
>
> Traceback (innermost last):
>   File "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/main_wdgt.py", 
> line 260, in show_statistics
>     self.controller().show_statistics_dialog()
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/libmnemosyne/controllers/default_controller.py",
>  
> line 965, in show_statistics_dialog
>     self.component_manager.current("statistics_dialog")\
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/statistics_dlg.py", 
> line 42, in activate
>     self.display_page(previous_page_index)
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/statistics_dlg.py", 
> line 76, in display_page
>     page.display_variant(variant_index)
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/statistics_dlg.py", 
> line 126, in display_variant
>     widget.show_statistics(self.variant_ids[variant_index])
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/statistics_wdgts_plotting.py",
>  
> line 119, in show_statistics
>     self.activate()
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/statistics_wdgts_plotting.py",
>  
> line 216, in activate
>     super().activate()
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/statistics_wdgts_plotting.py",
>  
> line 32, in activate
>     from matplotlib import use
>   File "/usr/lib/python3.8/site-packages/matplotlib/__init__.py", line 
> 138, in <module>
>     from . import cbook, rcsetup
>   File "/usr/lib/python3.8/site-packages/matplotlib/rcsetup.py", line 28, 
> in <module>
>     from cycler import Cycler, cycler as ccycler
>  ImportError: cannot import name 'Cycler' from 'cycler' 
> (/usr/lib/python3.8/site-packages/cycler.py)
>
> An unexpected error has occurred.
> Please forward the following info to the developers:
>
> Traceback (innermost last):
>   File "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/main_wdgt.py", 
> line 260, in show_statistics
>     self.controller().show_statistics_dialog()
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/libmnemosyne/controllers/default_controller.py",
>  
> line 965, in show_statistics_dialog
>     self.component_manager.current("statistics_dialog")\
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/statistics_dlg.py", 
> line 42, in activate
>     self.display_page(previous_page_index)
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/statistics_dlg.py", 
> line 76, in display_page
>     page.display_variant(variant_index)
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/statistics_dlg.py", 
> line 126, in display_variant
>     widget.show_statistics(self.variant_ids[variant_index])
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/statistics_wdgts_plotting.py",
>  
> line 119, in show_statistics
>     self.activate()
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/statistics_wdgts_plotting.py",
>  
> line 216, in activate
>     super().activate()
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/statistics_wdgts_plotting.py",
>  
> line 32, in activate
>     from matplotlib import use
>   File "/usr/lib/python3.8/site-packages/matplotlib/__init__.py", line 
> 138, in <module>
>     from . import cbook, rcsetup
>   File "/usr/lib/python3.8/site-packages/matplotlib/rcsetup.py", line 28, 
> in <module>
>     from cycler import Cycler, cycler as ccycler
>  ImportError: cannot import name 'Cycler' from 'cycler' 
> (/usr/lib/python3.8/site-packages/cycler.py)
>
>  
>
> ------------
>
>  
>
> The second error is much worse, and causes mnemosyne to not even load 
> unless I delete the config file with server information.  
>
>  
>
>
> Please forward the following info to the developers:
>
> Traceback (innermost last):
>   File "/usr/bin/mnemosyne", line 268, in <module>
>     mnemosyne.initialise(data_dir=data_dir, filename=filename,
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/libmnemosyne/__init__.py", line 
> 407, in initialise
>     self.activate_components()
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/libmnemosyne/__init__.py", line 
> 501, in activate_components
>     sync_server.activate()
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/qt_sync_server.py", 
> line 195, in activate
>     self.thread = ServerThread(\
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/qt_sync_server.py", 
> line 67, in __init__
>     super().__init__(ui=self, **kwds)
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/libmnemosyne/sync_server.py", 
> line 30, in __init__
>     super().__init__(machine_id=config.machine_id(),
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/libmnemosyne/component.py", 
> line 57, in __init__
>     super().__init__(**kwds)  # For parent classes other than 'Object'.
>   File "/usr/lib/python3.8/site-packages/openSM2sync/server.py", line 99, 
> in __init__
>     self.wsgi_server = wsgi.Server\
>  AttributeError: module 'cheroot.wsgi' has no attribute 'Server'
>
> An unexpected error has occurred.
> Please forward the following info to the developers:
>
> Traceback (innermost last):
>   File "/usr/bin/mnemosyne", line 268, in <module>
>     mnemosyne.initialise(data_dir=data_dir, filename=filename,
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/libmnemosyne/__init__.py", line 
> 407, in initialise
>     self.activate_components()
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/libmnemosyne/__init__.py", line 
> 501, in activate_components
>     sync_server.activate()
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/qt_sync_server.py", 
> line 195, in activate
>     self.thread = ServerThread(\
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/qt_sync_server.py", 
> line 67, in __init__
>     super().__init__(ui=self, **kwds)
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/libmnemosyne/sync_server.py", 
> line 30, in __init__
>     super().__init__(machine_id=config.machine_id(),
>   File 
> "/usr/lib/python3.8/site-packages/mnemosyne/libmnemosyne/component.py", 
> line 57, in __init__
>     super().__init__(**kwds)  # For parent classes other than 'Object'.
>   File "/usr/lib/python3.8/site-packages/openSM2sync/server.py", line 99, 
> in __init__
>     self.wsgi_server = wsgi.Server\
>  AttributeError: module 'cheroot.wsgi' has no attribute 'Server'
>
> ------------
>
>  
>
> Thanks in advance for looking into these issues.
>
>  
>
> BTW.  I also seem to be having trouble pamac build python-gtts.  I got 
> around this by simply editing the build file for mnemosyne and getting rid 
> of it as a dependency and then pip install gtts.  
>
> -- 
> 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] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/mnemosyne-proj-users/eebe9540-64c1-4ed0-b244-73d86c8d56e8%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/mnemosyne-proj-users/eebe9540-64c1-4ed0-b244-73d86c8d56e8%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/bc556616-7303-44d5-8891-961f30c67a97%40googlegroups.com.

Reply via email to