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 .. 4 5 6 7 8 9 10 11 Next › Last »

smls commented on 2014-08-30 13:06 (UTC)

@vagyok: Thanks for reporting; I see the same errors. For what it's worth, python2-pyqt4 is the correct dependency as Mnemosyne is a Qt4 program; the fact that the matplotlib dependency tries to load Qt5 is strange. I'll investigate.

vagyok commented on 2014-08-30 12:09 (UTC)

python2-pyqt , which is currently a dependency of this package, no longer seems to exist - it is apparently either python2-pyqt4 (which replaced python2-pyqt ) or python2-pyqt5 in [extra] now. Trying it with python2-pyqt4 (and its pyqt4-common dependency) gave me the following error: File "/usr/lib/python2.7/site-packages/matplotlib/backends/qt_compat.py", line 91, in <module> from PyQt5 import QtCore, QtGui, QtWidgets ImportError: No module named PyQt5 (in full: http://pastebin.com/FMT3WFsB ) Trying it with both python2-pyqt4 (and its pyqt4-common dependency) and python2-pyqt5 (and its pyqt5-common dependency) installed before rebuilding the package gave me the following error: File "/usr/lib/python2.7/site-packages/matplotlib/backends/qt_compat.py", line 91, in <module> from PyQt5 import QtCore, QtGui, QtWidgets RuntimeError: the PyQt5.QtCore and PyQt4.QtCore modules both wrap the QObject class (in full: http://pastebin.com/6aMr6es9 ) Trying to remove python2-pyqt4 (and/or pyqt4-common) so as to use only python2-pyqt5 and pyqt5-common failed because this package depends on python2-matplotlib in [community], which requires python2-pyqt4 explicitly, which, in turn, requires pyqt4-common. Any suggestions?

smls commented on 2013-08-24 11:39 (UTC)

Glad it worked out :)

gojun077 commented on 2013-08-24 05:00 (UTC)

You are a godsend, smls!!! Thanks to the path info you gave me for latex tmp files created by Mnemosyne, I was able to track down tmp.tex and open it in Gummi, my LaTeX editor. The problem was that tmp.tex failed to build at all due to a missing font! My LaTeX preamble in Mnemosyne was as follows: \documentclass[12pt]{article} \usepackage{amsmath, amsfonts, amssymb, cancel} ... Unfortunately the LaTeX font package cancel.sty in \usepackage above was missing from my Arch install! The font is provided by the package texlive-extralatex Now creating LaTeX cards works perfectly when running Mnemosyne as a local user. I wonder why running Mnemosyne as root allowed LaTeX to render despite missing one font file, however...

smls commented on 2013-08-23 11:36 (UTC)

@gojun077 If the problem persists, try manually following the individual steps that Mnemosyne performs, to see where exactly the problem lies: 1) Create a file called tmp.tex with the following content: \documentclass[12pt]{article} \pagestyle{empty} \begin{document} $\sqrt{x^3}$ \end{document} 2) Execute the command... latex tmp.tex ...which will try to create a file called tmp.dvi in the same folder. Be sure to also check the console output for errors. 3) Execute the command... dvipng -D 200 -T tight tmp.dvi ...which will try to create a file called tmp1.png in the same folder.

smls commented on 2013-08-23 11:29 (UTC)

@gojun077 That's strange, there should not be any need for special permissions or groups - for me it just works. Mnemosyne creates its LaTeX related temporary tex/dvi/png files in this folder (insert the name of your Mnemosyne database in place of "___TMP___", if you have given it an explicit name.): ~/.local/share/mnemosyne/___TMP___.db_media/_latex Make sure that there are no permission problems with this folder, and if there are old files there that may cause problems, remove them.

gojun077 commented on 2013-08-23 06:01 (UTC)

Thanks for your help in the dvipng / LaTeX thread on the main Arch Linux forums (https://bbs.archlinux.org/viewtopic.php?pid=1315420#p1315420) -- Now dvipng LaTeX rendering works in mnemosyne if I run it as root. When I run mnemosyne as regular user and try to create a card with LaTeX, however, the CLI output says "tmp.dvi: No such file or directory" and Mnemosyne complains, "Problem with latex. Are latex and dvipng installed?" This seems to be a file permission issue, but ls -l shows dvipng as r-x for regular users. Does my regular user need to be member of some group (i.e. tex) to be able to run LaTeX as non-root? After the texlive update I accidentally overwrote my /etc/group file when merging .pacnew files but have mostly recovered my original settings. I'm not sure if this is the right place to post this issue, as mnemosyne AUR package works just fine -- I seem to be having problems with texlive which is just an optional dependency for mnemosyne... Note: LaTeX editors like Gummi, which render to PDF, are working just fine for me (I can run it as local user).

smls commented on 2013-03-29 18:56 (UTC)

@gojun077 Thanks, I've bumped the version number of the mnemosyne-bzr package. For the mnemosyne package, I prefer to stick to stable releases only.

gojun077 commented on 2013-03-29 17:21 (UTC)

According to main developer Peter Bienstman 2.2.1 RC1 released yesterday: https://groups.google.com/forum/?fromgroups=#!topic/mnemosyne-proj-users/AIUxvJ3a1Sw