Package Details: mnemosyne 2.7-1

Git Clone URL: https://aur.archlinux.org/mnemosyne.git (read-only, click to copy)
Package Base: mnemosyne
Description: A flash-card tool with a sophisticated card review algorithm
Upstream URL: http://www.mnemosyne-proj.org
Keywords: Anki flashcard learn memorize
Licenses: GPL
Conflicts: mnemosyne-bzr
Submitter: wide-eyed
Maintainer: billypilgrim
Last Packager: billypilgrim
Votes: 83
Popularity: 0.024050
First Submitted: 2007-11-04 20:08
Last Updated: 2019-11-28 13:48

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Lukas1818 commented on 2020-05-02 13:36

Does the sound of the cards work for you? I can not hear anything, if i add sound. In the webinterface it does work.

billypilgrim commented on 2019-11-28 13:47

Ta!

marmistrz commented on 2019-11-28 00:45

I disowned the package so that you can pick it up :) Have fun! :)

billypilgrim commented on 2019-11-27 22:39

Sure!

marmistrz commented on 2019-11-27 18:40

@billypilgrim: do you want to become a new maintainer of Mnemosyne? I switched to Anki TBH, so I can give the maintainership to you :)

billypilgrim commented on 2019-11-27 18:07

Ok, so somewhat embarrassingly I forgot that this wasn't my package and fixed up the PKGBUILD with the patch + new version and only noticed when I tried to push the changes. So @marmistrz, feel free to do: git pull https://github.com/alexdewar/mnemosyne master

...if you'd like my updated PKGBUILD.

jerebear commented on 2019-11-26 23:15

Looks like my custom repo somehow produced a borked build of mnemosyne. Forcing it to rebuild the package fixed my issue. I then hit the issue described by Hal5000, and the urllib-related fix detailed there worked for me. Thanks for submitting an upstream patch!

Hal5000 commented on 2019-11-19 20:17

Resolved it for me -- edited the file

/usr/lib/python3.8/site-packages/openSM2sync/server.py

by adding 

import urllib

and changing

        args = cgi.parse_qs(environ["QUERY_STRING"])

 in line 155 to:

        args = urllib.parse.parse_qs(environ["QUERY_STRING"])

Works for me again...

jerebear commented on 2019-11-17 18:29

@Hal5000 can you wrap your console output in markdown code fences (triple backticks)? It's unreadable. (EDIT: Thank you!)

I can no longer start mnemosyne at all, whether the GUI client or the sync server. Both fail with the same error:

$ mnemosyne 
Traceback (most recent call last):
  File "/usr/bin/mnemosyne", line 46, in <module>
    from mnemosyne.libmnemosyne import Mnemosyne
ModuleNotFoundError: No module named 'mnemosyne'

Hal5000 commented on 2019-11-17 11:31

Yesterdays update of python broke the ability to start a sync server, please see the error message below. Has anyone else faced this problem an can suggest a fix?

Thank you and best regards,

hal

Edit: Thank you for the pointer regardin the code wrap, jerebear!


hal@shorty ~ % mnemosyne             
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QIODevice::write (QProcess): device not open
QIODevice::write (QProcess): device not open
AttributeError("module 'cgi' has no attribute 'parse_qs'")
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/cheroot/server.py", line 1280, in communicate
    req.respond()
  File "/usr/lib/python3.8/site-packages/cheroot/server.py", line 1083, in respond
    self.server.gateway(self).respond()
  File "/usr/lib/python3.8/site-packages/cheroot/wsgi.py", line 143, in respond
    response = self.req.server.wsgi_app(self.env, self.start_response)
  File "/usr/lib/python3.8/site-packages/openSM2sync/server.py", line 115, in wsgi_app
    status, method, args  = self.get_method(environ)
  File "/usr/lib/python3.8/site-packages/openSM2sync/server.py", line 155, in get_method
    args = cgi.parse_qs(environ["QUERY_STRING"])
AttributeError: module 'cgi' has no attribute 'parse_qs'
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 251, in configure
    self.controller().show_configuration_dialog()
  File "/usr/lib/python3.8/site-packages/mnemosyne/libmnemosyne/controllers/default_controller.py", line 962, in show_configuration_dialog
    self.component_manager.current("configuration_dialog")\
  File "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/configuration_dlg.py", line 27, in __init__
    widget = widget(component_manager=self.component_manager, parent=self)
  File "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/configuration_wdgt_servers.py", line 27, in __init__
    self.sync_server_initially_running = self.is_server_running(sync_port)
  File "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/configuration_wdgt_servers.py", line 54, in is_server_running
    assert b"OK" in con.getresponse().read()
 AssertionError

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 251, in configure
    self.controller().show_configuration_dialog()
  File "/usr/lib/python3.8/site-packages/mnemosyne/libmnemosyne/controllers/default_controller.py", line 962, in show_configuration_dialog
    self.component_manager.current("configuration_dialog")\
  File "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/configuration_dlg.py", line 27, in __init__
    widget = widget(component_manager=self.component_manager, parent=self)
  File "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/configuration_wdgt_servers.py", line 27, in __init__
    self.sync_server_initially_running = self.is_server_running(sync_port)
  File "/usr/lib/python3.8/site-packages/mnemosyne/pyqt_ui/configuration_wdgt_servers.py", line 54, in is_server_running
    assert b"OK" in con.getresponse().read()
 AssertionError
QIODevice::write (QProcess): device not open
b'Waiting for uploader thread to stop...'
b'Done!'
QIODevice::write (QProcess): device not open