Manjaro Linux (AUR) version throwing up errors.

40 views
Skip to first unread message

Huang

unread,
Jan 4, 2020, 9:10:49 PM1/4/20
to mnemosyne-proj-users
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. 

Peter Bienstman (UGent-imec)

unread,
Jan 6, 2020, 8:31:48 AM1/6/20
to mnemosyne-...@googlegroups.com

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

--
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-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/eebe9540-64c1-4ed0-b244-73d86c8d56e8%40googlegroups.com.

huang...@gmail.com

unread,
Jan 6, 2020, 7:48:13 PM1/6/20
to mnemosyne-proj-users
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.

To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-users+unsub...@googlegroups.com.

Peter Bienstman (UGent-imec)

unread,
Jan 7, 2020, 2:48:12 AM1/7/20
to mnemosyne-...@googlegroups.com

Yes, if you install the modules in your 3.7 install, and Mnemosyne runs from 3.8, it won’t find them..

 

Cheers,

 

Peter

To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.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-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/bc556616-7303-44d5-8891-961f30c67a97%40googlegroups.com.

huang

unread,
Jan 7, 2020, 6:29:23 PM1/7/20
to mnemosyne-proj-users
I got it working.  There's nothing wrong with anything.  Apparently all my dependencies for python-matplotlib and python-cherrypy, and their subdependencies were all messed up.  After overwriting everything, there's no more errors being thrown up.  Sorry for wasting your time. 

To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-users+unsub...@googlegroups.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+unsub...@googlegroups.com.

Peter Bienstman (UGent-imec)

unread,
Jan 8, 2020, 3:46:34 AM1/8/20
to mnemosyne-...@googlegroups.com

No problem, glad it works!

 

To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.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-u...@googlegroups.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-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/2582a937-4eb8-4bab-9a43-e924ad7af541%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages