Package Details: mnemosyne 2.6.1-2

Git Clone URL: https://aur.archlinux.org/mnemosyne.git (read-only)
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: marmistrz
Last Packager: marmistrz
Votes: 82
Popularity: 0.004461
First Submitted: 2007-11-04 20:08
Last Updated: 2019-04-14 08:22

Latest Comments

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

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.

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

billypilgrim commented on 2019-09-24 04:54

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

@lchimonji10 thanks!

jerebear commented on 2019-02-14 20:09

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.

marmistrz commented on 2018-10-15 17:00

Updated PKGBUILD: https://gist.github.com/f0ea7000b121fe6bad6c6b50f18256ae

smls you can add me as a co-maintainer if you wish, I'm quite an active Mnemosyne user :)

XuLin commented on 2018-09-05 10:54

Contacted the author about the crash issues and here’s the reply: “Perhaps changing the minor version of Qt5 helps. Anyway, 2.6-2 is not an official Mnemosyne version number, I guess it has been packaged by your specific Linux distribution. I would contact the packagers, as they will probably better be able to figure what exactly is going wrong in your distribution.”

With that being said, can someone please repackage Mnemosyne to use version 2.6-1 please. Maybe that’ll get rid of the problems. Thanks.

macxcool commented on 2018-08-08 11:39

@Perico This looks like something that should be reported upstream. Have a look at https://mnemosyne-proj.org/getting_help.php for details. This is not an bug with the PKGBUILD.

Perico commented on 2018-03-08 13:39

mnemosyne 2.6 crashes as soon as I hit "add card". The rest of the program seems to work correctly. I paste the errors from the console. Thanks.

<hr>

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 [0308/143136.672737:WARNING:stack_trace_posix.cc(648)] Failed to open file: /tmp/.glzxYHr1 (deleted) Error: No existe el fichero o el directorio QIODevice::write (QProcess): device not open QIODevice::write (QProcess): device not open QIODevice::write (QProcess): device not open QXcbShmImage: shmget() failed (22: Argumento inválido) for size -102507248 (367428x157441) QWidget::paintEngine: Should no longer be called QPainter::begin: Paint device returned engine == 0, type: 1 QPainter::pen: Painter not active QPainter::setPen: Painter not active QPainter::setPen: Painter not active QWidget::paintEngine: Should no longer be called QPainter::begin: Paint device returned engine == 0, type: 1 QPainter::setPen: Painter not active QPainter::save: Painter not active QPainter::restore: Unbalanced save/restore QPainter::save: Painter not active QPainter::setClipRect: Painter not active QPainter::pen: Painter not active QPainter::setPen: Painter not active QPainter::setPen: Painter not active QPainter::restore: Unbalanced save/restore QWidget::paintEngine: Should no longer be called QPainter::begin: Paint device returned engine == 0, type: 1 QPainter::pen: Painter not active QPainter::setPen: Painter not active QPainter::setPen: Painter not active QWidget::paintEngine: Should no longer be called QPainter::begin: Paint device returned engine == 0, type: 1 QPainter::setPen: Painter not active QPainter::save: Painter not active QPainter::restore: Unbalanced save/restore QPainter::save: Painter not active QPainter::setClipRect: Painter not active QPainter::restore: Unbalanced save/restore QWidget::paintEngine: Should no longer be called QPainter::begin: Paint device returned engine == 0, type: 1 QPainter::setClipRect: Painter not active QPainter::setPen: Painter not active QPainter::pen: Painter not active QPainter::pen: Painter not active QPainter::setPen: Painter not active QWidget::paintEngine: Should no longer be called QPainter::begin: Paint device returned engine == 0, type: 1 QPainter::save: Painter not active Received signal 11 SEGV_MAPERR 000000000000

0 0x7ff3bc10fe76 <unknown></unknown>
1 0x7ff3bad8d88c <unknown></unknown>
2 0x7ff3bc1101ec <unknown></unknown>
3 0x7ff3cad70dd0 <unknown></unknown>
4 0x7ff3c1caefce qDrawBorderPixmap()
5 0x7ff3c1d1ac20 QFusionStyle::drawPrimitive()
6 0x7ff3c1d21007 QFusionStyle::drawComplexControl()
7 0x7ff3c1d7bac6 QGroupBox::paintEvent()
8 0x7ff3a6b1a514 <unknown></unknown>
9 0x7ff3c1c82188 QWidget::event()
10 0x7ff3c1d7ce94 QGroupBox::event()
11 0x7ff3a6b19034 <unknown></unknown>
12 0x7ff3c1c41fec QApplicationPrivate::notify_helper()
13 0x7ff3c1c499c6 QApplication::notify()
14 0x7ff3a6a3433f <unknown></unknown>
15 0x7ff3c0ec3da0 QCoreApplication::notifyInternal2()
16 0x7ff3c1c7aa6c QWidgetPrivate::sendPaintEvent()
17 0x7ff3c1c7b123 QWidgetPrivate::drawWidget()
18 0x7ff3c1c7be45 QWidgetPrivate::paintSiblingsRecursive()
19 0x7ff3c1c7bfd6 QWidgetPrivate::paintSiblingsRecursive()
20 0x7ff3c1c7bfd6 QWidgetPrivate::paintSiblingsRecursive()
21 0x7ff3c1c7bfd6 QWidgetPrivate::paintSiblingsRecursive()
22 0x7ff3c1c7ac4f QWidgetPrivate::drawWidget()
23 0x7ff3c1c5190b <unknown></unknown>
24 0x7ff3c1c520d3 <unknown></unknown>
25 0x7ff3c1c9f5ca <unknown></unknown>
26 0x7ff3c1c9feef <unknown></unknown>
27 0x7ff3c1c41fec QApplicationPrivate::notify_helper()
28 0x7ff3c1c499c6 QApplication::notify()
29 0x7ff3a6a3433f <unknown></unknown>
30 0x7ff3c0ec3da0 QCoreApplication::notifyInternal2()
31 0x7ff3c1438383 QGuiApplicationPrivate::processExposeEvent()
32 0x7ff3c143900e QGuiApplicationPrivate::processWindowSystemEvent()
33 0x7ff3c141029c QWindowSystemInterface::sendWindowSystemEvents()
34 0x7ff3a5f3848d <unknown></unknown>
35 0x7ff3c0ec23db QEventLoop::exec()
36 0x7ff3c1e3969b QDialog::exec()
37 0x7ff3a6a70f69 <unknown></unknown>
38 0x7ff3ca5a9ad0 _PyCFunction_FastCallDict
39 0x7ff3ca5cfd1b <unknown></unknown>
40 0x7ff3ca563b5a _PyEval_EvalFrameDefault
41 0x7ff3ca5cf85b <unknown></unknown>
42 0x7ff3ca5cfdde <unknown></unknown>
43 0x7ff3ca563b5a _PyEval_EvalFrameDefault
44 0x7ff3ca5cf85b <unknown></unknown>
45 0x7ff3ca5cfdde <unknown></unknown>
46 0x7ff3ca563b5a _PyEval_EvalFrameDefault
47 0x7ff3ca5cf36b _PyFunction_FastCallDict
48 0x7ff3ca5b30bf _PyObject_FastCallDict
49 0x7ff3ca5b3e03 _PyObject_Call_Prepend
50 0x7ff3ca5b3eeb PyObject_Call
51 0x7ff3a7cc4011 <unknown></unknown>
52 0x7ff3a7cc4501 <unknown></unknown>
53 0x7ff3a7cc4793 <unknown></unknown>
54 0x7ff3a7cc5128 <unknown></unknown>
55 0x7ff3c0ef4792 QMetaObject::activate()
56 0x7ff3c1c3b533 QAction::triggered()
57 0x7ff3c1c3ddb6 QAction::activate()
58 0x7ff3c1d390ec <unknown></unknown>
59 0x7ff3c1d3935e QAbstractButton::mouseReleaseEvent()
60 0x7ff3c1e1f6ab QToolButton::mouseReleaseEvent()
61 0x7ff3c1c82188 QWidget::event()

r8: 00007ffe9f6714e0 r9: 00007ffe9f6714c0 r10: 00007ffe9f6714c0 r11: 007900740073002f r12: 00007ffe9f671490 r13: 00007ffe9f6714a0 r14: 0000000000000006 r15: 0000000000000002 di: 00007ffe9f671a70 si: 0000000000000004 bp: 0000000000059b28 bx: 0000000000059b22 dx: 0000000000000010 ax: 0000000000000000 cx: 0000000000000056 sp: 00007ffe9f670700 ip: 00007ff3c1caefce efl: 0000000000010246 cgf: 002b000000000033 erf: 0000000000000004 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000000 [end of stack trace] Calling _exit(1). Core file will not be generated.