Package Details: mnemosyne 2.11-3

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: https://www.mnemosyne-proj.org
Keywords: Anki flashcard learn memorize
Licenses: LGPL-3.0-only AND LicenseRef-AGPL-3.0-Attribution
Submitter: wide-eyed
Maintainer: J5lx
Last Packager: J5lx
Votes: 85
Popularity: 0.000000
First Submitted: 2007-11-04 20:08 (UTC)
Last Updated: 2024-04-09 11:27 (UTC)

Dependencies (21)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 11 Next › Last »

billypilgrim commented on 2019-11-27 22:39 (UTC)

Sure!

marmistrz commented on 2019-11-27 18:40 (UTC)

@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 (UTC)

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.

jaudet commented on 2019-11-26 23:15 (UTC)

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 (UTC) (edited on 2019-11-20 20:54 (UTC) by Hal5000)

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...

jaudet commented on 2019-11-17 18:29 (UTC) (edited on 2019-11-26 04:18 (UTC) by jaudet)

@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 (UTC) (edited on 2019-11-18 20:08 (UTC) by Hal5000)

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

billypilgrim commented on 2019-09-24 04:54 (UTC)

I believe that arch should be any for this package, rather than x86_64. It doesn't seem to contain any architecture-specific code.

marmistrz commented on 2019-04-14 08:22 (UTC)

@lchimonji10 thanks!

jaudet commented on 2019-02-14 20:09 (UTC)

Mnemosyne failed to start for me, with the console output listed here. Installing python-opengl fixed the initial warning. Installing python-pyqtwebengine fixed the crash error. Perhaps these should be added to optdepends and depends, respectively.