Git Product home page Git Product logo

mnemosyne's People

Contributors

acezalba avatar adaschma avatar andipersti avatar crobinso avatar daimrod avatar dependabot[bot] avatar destynova avatar devvmh avatar elderry avatar gabriellevivissi avatar gbear605 avatar gojun077 avatar hgrahamcs avatar ichimonji10 avatar ioma8 avatar itraveller1 avatar j5lx avatar jbaiter avatar jmehne avatar joelpet avatar jooseef avatar kuraga avatar luckyturtledev avatar marmistrz avatar matkoniecz avatar pbienst avatar raoulevild avatar shiftee avatar supernabla avatar woohgit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mnemosyne's Issues

Flashcard contents can't be copied from the review view

Sometimes I want to copy-paste a Chinese character to see the stroke order. If I select the answer for the flashcard, it gets a gray background, but Ctrl+C doesn't copy it to the clipboard, as though as the focus were lost.

Cannot start web server in version 2.5

From: https://bugs.launchpad.net/mnemosyne-proj/+bug/1717810

Whenever I try to run the web server I get the following error:

AttributeError("'NoneType' object has no attribute 'set_render_chain'",)
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/cheroot/server.py", line 1124, in communicate
req.respond()
File "/usr/local/lib/python3.6/dist-packages/cheroot/server.py", line 951, in respond
self.server.gateway(self).respond()
File "/usr/local/lib/python3.6/dist-packages/cheroot/wsgi.py", line 125, in respond
response = self.req.server.wsgi_app(self.env, self.start_response)
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.5-py3.6.egg/mnemosyne/web_server/web_server.py", line 145, in wsgi_app
self.load_mnemosyne()
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.5-py3.6.egg/mnemosyne/web_server/web_server.py", line 111, in load_mnemosyne
filename=self.filename, automatic_upgrades=False)
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.5-py3.6.egg/mnemosyne/libmnemosyne/init.py", line 237, in initialise
self.start_review()
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.5-py3.6.egg/mnemosyne/libmnemosyne/init.py", line 362, in start_review
self.config()["study_mode"]))
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.5-py3.6.egg/mnemosyne/libmnemosyne/controllers/default_controller.py", line 100, in set_study_mode
study_mode.activate()
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.5-py3.6.egg/mnemosyne/libmnemosyne/study_modes/scheduled_forgotten_new.py", line 22, in activate
self.activate_components()
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.5-py3.6.egg/mnemosyne/libmnemosyne/study_mode.py", line 27, in activate_components
Component.activate(self) # Also activates GUI components.
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.5-py3.6.egg/mnemosyne/libmnemosyne/component.py", line 74, in activate
component = component(component_manager=self.component_manager)
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.5-py3.6.egg/mnemosyne/web_server/review_wdgt.py", line 26, in init
self.review_controller().set_render_chain("web_server")
AttributeError: 'NoneType' object has no attribute 'set_render_chain'

I get this error on both Ubuntu and Arch Linux.

Periodic popup

This is a kind of out-there request. I'd like to review for 5 minutes every hour, and have mnemosyne come up automatically and close after the first answered question after 5 minutes are up.

I can set up a systemd job for most of this but command line flags to go directly to review and close after n minutes/x questions would be awesome.

Crash on exit

Upon clicking 'Exit' in the 'File' menu, the following output was printed:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
File "/home/<user>/.py_envs/mnem25/lib64/python3.6/site-packages/Mnemosyne-2.5-py3.6.egg/mnemosyne/pyqt_ui/main_wdgt.py", line 76, in controller_heartbeat
self.controller().heartbeat()
File "/home/<user>/.py_envs/mnem25/lib64/python3.6/site-packages/Mnemosyne-2.5-py3.6.egg/mnemosyne/libmnemosyne/controllers/default_controller.py", line 52, in heartbeat
if not self.database().is_loaded() or
AttributeError: 'NoneType' object has no attribute 'is_loaded'
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Context: I'm in the habit of leaving Mnemosyne running for weeks at a time. It was during one such long run that no new cards were presented for several days, which is unusual, and made me suspect something was wrong. So I shut down Mnemosyne, and then the error above occurred.

After starting Mnemosyne again, everything seems to be fine. To be honest, I'm reporting this only to honor the request to "Please forward the following info the the developers..."

The JNI build recipes have hardcoded Windows paths

For example here: https://github.com/mnemosyne-proj/mnemosyne/blob/master/mnemosyne/android/app/src/main/jni/Android.mk#L2

This is the log from the vanilla NDK, still this has no chance of working even with the CrystaX NDK on Linux

Android NDK: android-9 is unsupported. Using minimum supported version android-14.    
Android NDK: WARNING: APP_PLATFORM android-14 is higher than android:minSdkVersion 9 in /home/marcin/proj/mnemosyne/mnemosyne/android/app/src/main/AndroidManifest.xml. NDK binaries will *not* be compatible with devices older than android-14. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.    
Android NDK: ERROR:/home/marcin/proj/mnemosyne/mnemosyne/android/app/src/main/jni/Android.mk:python3.5m: LOCAL_SRC_FILES points to a missing file    
Android NDK: Check that /home/marcin/proj/mnemosyne/mnemosyne/android/app/src/main/jni/C:/crystax-ndk-10.3.2/sources/python/3.5/libs/armeabi-v7a/libpython3.5m.so exists  or that its path is correct   
/opt/android-ndk/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting    .  Stop.

the commands used:

cd /root/of/mnemosyne/sources/
cd mnemosyne/android/app/src/main/jni
ndk-build

Probably the build recipes should expect the user to set the CRYSTAX_NDK_PATH before building themselves and fail if it's not set.

cc #83

mnemosyne fails to start, crashes with pkg_resources.ResolutionError: Script 'scripts/mnemosyne' not found in metadata

Traceback (most recent call last):
  File "/usr/local/bin/mnemosyne", line 4, in <module>
    __import__('pkg_resources').run_script('Mnemosyne==2.6', 'mnemosyne')
  File "/home/mateusz/.local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 654, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/home/mateusz/.local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1425, in run_script
    .format(**locals()),
pkg_resources.ResolutionError: Script 'scripts/mnemosyne' not found in metadata at '/home/mateusz/Install/Mnemosyne-2.6/Mnemosyne.egg-info'

on the attempt to run Mnemosyne 2.6 installed from source on

uname -a
Linux grisznak 4.15.0-29-generic #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

install log: https://gist.github.com/matkoniecz/a82135679ebff0bd40fe83d0e77d5a27

Browse Cards: IndexError: list index out of range

Suddenly for unknown reason my Mnemosyne started to fail when clicking on the Browse Cards button.

Version: 2.6
OS: Linux

Not sure what triggered this error.

Edit/New Card/Statistics all work.

Traceback (innermost last):
  File "/usr/lib/python3.6/site-packages/mnemosyne/pyqt_ui/main_wdgt.py", line 238, in browse_cards
    self.controller().show_browse_cards_dialog()
  File "/usr/lib/python3.6/site-packages/mnemosyne/libmnemosyne/controllers/default_controller.py", line 809, in show_browse_cards_dialog
    (component_manager=self.component_manager).activate()
  File "/usr/lib/python3.6/site-packages/mnemosyne/pyqt_ui/browse_cards_dlg.py", line 397, in __init__
    self.display_card_table(run_filter=False)
  File "/usr/lib/python3.6/site-packages/mnemosyne/pyqt_ui/browse_cards_dlg.py", line 716, in display_card_table
    self.card_model = CardModel(component_manager=self.component_manager)
  File "/usr/lib/python3.6/site-packages/mnemosyne/pyqt_ui/browse_cards_dlg.py", line 74, in __init__
    self.card_type_with_id(card_type_id).fact_keys_and_names[0][0]
 IndexError: list index out of range

Let me know if you need more info. I'm also a python developer, but I don't have enough time to dig into this.

Trace Back Error

This is a great product which I have been using as I prepare for O & Ps. The error does not seem to occur when near the beginning of the database, but as I get in past the first 200 cards or so.... the problem crops up. I'll edit the card as normal, then hit page down or next card or previous card and this error pops up. I have somewhere close to 1350 cards, 1220 are active. Thank you. Keep up the great work !
tracebackerror

How about saving default database in a way that isn't overwritten on a reinstall?

I know it's not really a bug, but with Microsoft thinking that everyone needs to "refresh" their computers at every hint of trouble, and them so confidently ensuring us that none of our files will be effected (only programs will need to be reinstalled, you see)... It's just that I can see other people making the same bonehead mistake I just made.
Bondhead mistake: After doing a "refresh" I reinstalled Mnemosyne thinking I could just open my card file from wherever I or the program saved it. Since most programs remember their default save locations, I thought nothing more of it....
Turns out this program is a little different and I'm afraid I just overwrote the default database with a "fresh" one when I reinstalled the program....

Suggestion: Perhaps along with the default database, the program saves an automatic copy of it somewhere every now and then? Somewhere like in the MyDocuments folder or something?

I had months of work stored on those cards and while I'm not complaining, this software is a godsend and nothing is perfect... If by me sharing my experience I could save even one other person from experiencing a devastating loss like this.... You catch my drift... :)

Thanks,
-Scott

P.S. If the software already does this? I am still operating on half a brain cell, and would greatly appreciate a heads up.

Mnemosyne 2.5: ImportError: cannot import name 'QtWebEngineWidgets'

Hallo,
when entering mnemosyne I get the following error message:
---------message----------------
An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
File "/usr/local/bin/mnemosyne", line 4, in
import('pkg_resources').run_script('Mnemosyne==2.5', 'mnemosyne')
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 748, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 1517, in run_script
exec(code, namespace, namespace)
File "/usr/local/lib/python3.6/dist-packages/Mnemosyne-2.5-py3.6.egg/EGG-INFO/scripts/mnemosyne", line 147, in
from PyQt5 import QtWebEngineWidgets # Needs to happen first for some reason.
ImportError: cannot import name 'QtWebEngineWidgets'
----------message-------------

My system is
Linux xxxx 4.13.0-1-amd64 #1 SMP Debian 4.13.4-2 (2017-10-15) x86_64 GNU/Linux

How can I solve the problem?

Thank you very much.

Unable to close the small progress bar windows

After sync with android or clicking on the Show statistics button and clicking through the tabs, most of the time the popup progress bar gtk windows will remain and can't be closed.

Some cases closing the statistics window closes the inactive windows, but after the sync they remain there and can't be closed. (3 or 4 windows)

sometimes typing is backward

Occasionally, I'll start a new card and the letters, while formed normally, will start appearing (on the front part of the card) from right to left, instead of left to right. They'll still be left-aligned in the box, but, for instance, when I type the word "what" it will appear as "tahw". It's always such a surprise that I haven't been able to track what I have been doing just before this happens. So far, it's always gone back to normal if I close the new card window and then re-open it.

I'm using Mnemosyne 2.6 with PortableApps on Windows 10 pro.

Resolve individual conflicts

When there is parallel review on two devices, it is very easy to have the grades go out of sync.
It would be great to be able to resolve individual conflicts, not have to copy the whole binary database in case of a conflict.

Error on 'select font'

How to reproduce, Settings > Configure Mnemosyne > Card appearance > Select font

Shows the following error message

image

My system is Windows 10 Home
Mnemosyne 2.6

Use custom context menu for the review widget Q/A

When reviewing cards, a right click on the question/answer areas brings up the standard (?) 'browser' context menu. IMHO, the actions it provides don't make much sense for mnemsnosyne:

  • back/forward
  • reload
  • view page source

In a first step, I'd like to look into disabling all of those, as they currenty don't work in a useful way (at least as far as I can see). Second, I would love to have an edit entry instead. Currently, if I want to make a quick correction I have to open the card browser, search for the card and then edit it, which I find cumbersome.

Do you think that's worthwhile trying out?

P.S.: do you prefer to discuss such ideas on the mailing list or in the issue tracker?

Browse Cards and Add/Edit Card stealing focus

Often when I'm adding/editing a card, I want to check existing cards, for example, to double check that I'm not writing a duplicate or to reference something that is mentioned in another card. This is not possible: the app doesn't let me open Browse Cards. At this time neither is it possible to go through flash cards (the main view with "Show answer").

Likewise you cannot go through flash cards at the same time as having Browse Cards open, it completely steals the focus.

It would make managing, editing and cross-referencing cards a lot easier if the focus wouldn't be stolen. Currently, I have to:

  1. Save the card I was adding mid-way
  2. Open Browse Cards to check another card
  3. Memorise this other card and close it
  4. Edit the original card I did not finish
  5. Naturally I failed to fully remember the other card, so go back to step 1.

This is quite cumbersome.

PS: I love this application! It's so useful for studying and note-taking. Thank you for all your effort!

Crashed at Start Up

Freshly installed Mnemosyne on my laptop through and upon running the program crashes.
For a brief second I'm able to see the splash screen and then it exits for no reason.

Ran on a terminal to see what was happening and here's the result:

qt5ct: using qt5ct plugin qt5ct: D-Bus global menu: no 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 Received signal 11 SEGV_MAPERR 000000000037 #0 0x7f34ccd1689e <unknown> #1 0x7f34ccd169b0 <unknown> #2 0x7f34ccd16fe7 <unknown> #3 0x7f34d78093c0 <unknown> #4 0x7f34d78042bd __GI___pthread_rwlock_unlock #5 0x7f34d389a812 glXCreatePbuffer #6 0x7f34cb78e626 <unknown> #7 0x7f34cb77672a <unknown> #8 0x7f34cd6638dd <unknown> #9 0x7f34cf37cb01 <unknown> #10 0x7f34cf37fa4e <unknown> #11 0x7f34cf37b2ee <unknown> #12 0x7f34cf3792a5 <unknown> #13 0x7f34cf37a692 <unknown> #14 0x7f34cf37bda5 <unknown> #15 0x7f34ccd17348 <unknown> #16 0x7f34ccd37baa <unknown> #17 0x7f34ccd3865f <unknown> #18 0x7f34ccd387da <unknown> #19 0x7f34ccd34c81 <unknown> #20 0x7f34ccd5a43b <unknown> #21 0x7f34ccd7d204 <unknown> #22 0x7f34ccd78c51 <unknown> #23 0x7f34d77fea9d start_thread #24 0x7f34d772ea43 __GI___clone r8: 000000000000001f r9: 0000000000000006 r10: 0000000000000000 r11: 00007f34b618b600 r12: 0000000000000050 r13: ffffffffffffffb0 r14: 00007f3400000000 r15: 00007f3434239b80 di: 000000000000001f si: 0000000000000000 bp: 000000000000001f bx: 0000000006a0003c dx: 0000008000800000 ax: 0000000000000000 cx: 0000000000000008 sp: 00007f34437fcbc0 ip: 00007f34d78042bd efl: 0000000000010206 cgf: 002b000000000033 erf: 0000000000000004 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000037 [end of stack trace] Calling _exit(1). Core file will not be generated.

Broken Launchpad translations

We had the problem earlier, but I forgot to follow-up on it, so that we got hit again:

Launchpad currently can't import the git repository, because any merge commit on Github adds a gpgsig tag that makes the importer on Launchpad error out.

Answer from Colin Watson to my question whether it's possible to use git repositories without importing to bzr:

It isn't possible yet. It's a gap I'd like to close, and in fact I did start some work on it recently, but there are several things to sort out, not least that we need to work out a good equivalent for the series-linked branch model in git.

So, I guess short-term we can't sign commits (if we want to keep using Launchpad 'stranslations infrastracture) and need to make sure that merge commits don't get signed. So, to fix this problem, it is necessary to:

  • rewrite the history again which will invalidate all forks. This is really unfortunate, but there don't seem to be that many forks yet, so ... well, it still sucks.
  • make sure merge commits don't get signed automatically. @pbienst do you have a gpg key imported into Github? I can't find an option to disable commit signing per project, so I guess you'd have to delete the public key from your Github account ...
  • add a check somewhere on travis that fails if a commit is signed so we don't accidentally merge PR's with signed commits.

failing tests in the master

python3 -m nose tests
...............................................................................F.........................................................F.................................................................................................................................................................................................................................Wrong username or password.......................Sync failed, the next sync will be a full sync.You have manually copied the data directory before sync. Sync needs to start from an empty database..Sync failed, the next sync will be a full sync.
Traceback (innermost last):
  File "/home/mateusz/Install/mnemosyne/openSM2sync/server.py", line 682, in get_sync_finish
    self.close_session_with_token(session_token)
  File "/home/mateusz/Install/mnemosyne/openSM2sync/server.py", line 184, in close_session_with_token
    session.close()
  File "/home/mateusz/Install/mnemosyne/openSM2sync/server.py", line 61, in close
    self.client_info["machine_id"])
  File "/home/mateusz/Install/mnemosyne/mnemosyne/libmnemosyne/databases/SQLite_sync.py", line 123, in update_last_log_index_synced_for
    raise RuntimeError(_("Missing plugins for card types."))
 RuntimeError: Missing plugins for card types.
Internal server error

Traceback (innermost last):
  File "/home/mateusz/Install/mnemosyne/openSM2sync/server.py", line 682, in get_sync_finish
    self.close_session_with_token(session_token)
  File "/home/mateusz/Install/mnemosyne/openSM2sync/server.py", line 184, in close_session_with_token
    session.close()
  File "/home/mateusz/Install/mnemosyne/openSM2sync/server.py", line 61, in close
    self.client_info["machine_id"])
  File "/home/mateusz/Install/mnemosyne/mnemosyne/libmnemosyne/databases/SQLite_sync.py", line 123, in update_last_log_index_synced_for
    raise RuntimeError(_("Missing plugins for card types."))
 RuntimeError: Missing plugins for card types.
Sync failed, the next sync will be a full sync..
Traceback (innermost last):
  File "/home/mateusz/Install/mnemosyne/openSM2sync/client.py", line 165, in sync
    result = self.put_client_log_entries()
 TypeError: <lambda>() missing 1 required positional argument: 'x'
Sync failed, the next sync will be a full sync.Sync failed, the next sync will be a full sync...........................................Sync failed, the next sync will be a full sync.Sync cycle detected. Sync through intermediate partner.................................................
======================================================================
FAIL: test_controller.TestController.test_retain_only_child_tags
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/home/mateusz/Install/mnemosyne/tests/test_controller.py", line 206, in test_retain_only_child_tags
    assert c._retain_only_child_tags(["a", "b"]) == ["a", "b"]
AssertionError

======================================================================
FAIL: test_database.TestDatabase.test_tags_for_cards
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/home/mateusz/Install/mnemosyne/tests/test_database.py", line 691, in test_tags_for_cards
    assert tag._id in [2]
AssertionError

----------------------------------------------------------------------
Ran 477 tests in 82.960s

FAILED (failures=2)

latex in macOS

I installed MiKTeX in order to view latex content in flashcards but I also had to make two other changes to finally make it work:
1-. In the .../Library/Mnemosyne/config.py file I changed the path for the latex and dvipng variables to /usr/local/bin/latex (and dvipng), which was the path where MikTeX installed the packages.
2-. In this same file, the latex command supposedly uses -interactiononstopmode option, but the right option is: -interaction=nonstopmode

Migration to Github (except translations)

Relevant ML threads: recent, last year
Before migration:

  • Test integration with launchpad's translation service
    • Problem: qastaging.launchpad.net and staging.launchpad.net don't import the branch properly. Which is not surprising, because they don't really work to begin with. But the import works fine here, so I don't think it will be a problem. Marking as solved.
  • Run tests on Windows automatically with Appveyor
    • Initial setup
    • Fix for latex on windows: install miktex.portable with chocolatey and cache it
    • Fix test hang. (Reason: running dvipng resulted in the miktex installer being triggered, because zhmetrics wasn't installed.)
    • Optional: find out how to install zhmetrics from local file. Can be done, but package is only 35kB bit, so not worth it.
    • Find out reason for excessive test failures
  • Create a top-level README.md file
  • Prepare website udpate, but don't update the website yet (see website_update.md):
    • Bug reporting on Github
    • Hacking: Github + git workflow
    • Translation on launchpad

Steps immediately before conversion:

  • Create Pull Request on launchpad for changes that I've accumulated in the github branch here on Github
    • Wait until the (revised) pull request is merged
  • Ask Peter to merge his experimental branch into Launchpad master
  • Optional, but nice: Make tests work

Actual conversion:

  • Convert bzr -> git using the steps outlined in my email (don't forget to remove the additional file mentioned by Peter)
  • Push the converted, new 'productive' repository to Github
  • Update the launchpad page:
    • Close bug tracker
    • Migrate open bug reports
    • Switch translation service to git -> bzr import from Github
    • Optional: create a git mirror on Launchpad
    • Update description: only used for translation, please report bugs and get the code on Github (link)
  • Update website with the pre-prepared changes.
  • Update project description here on Github to reflect that it is the main repository.

Keywords in mnemosyne.desktop

As the Debian tools complained, I added: "Keywords=education;learning" to the desktop file... perhaps it's a change you might be interested in?

Efficient Card Editing

I was recently thinking about editing cards. Two things:

  1. The built-in editor: the built-in editor is very clean, which I like a lot. Unfortunately, it is not discoverable at all. I.e., without reading the docs (and who does nowadays ...), a user doesn't really know that they actually can format their cards (edit: that may not be true - there is probably already a hint in the tips dialogue or what it's called). In my opinion, the edit/add card widget could do with a very minimal additional toolbar that offers basic formatting and a subtle hint to the docs. Such a horizontal toolbar could include:
  • bold
  • italics
  • list-drop-dow: enumerated and normal
  • media-drop-down: image, video, etc.
  • misc-drop-down: table, code/monospace, latex, 'more' (=link to help)
  1. External editors: cards are plaintext and there are more than enough great editors out there. It would be nice if Mnemosye could somehow pipe the source of a card to an external editor and read/re-import the card automatically. External editors can provide proper syntax highlighting and come with all the tools necessary. Personally, I would use vim for example.

Are these things you could imagine to be shipped as built-in or is that plugin territory?

Mnemosyne no longer starts

Ubuntu 16.04
Mnemosyne 2.2.1-3

I switched off my computer and switched it on again. Normally I have Mnemosyne start automatically, but now it came with the following error messages:
= --- =
Error in config:

Traceback (innermost last):
File "/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/configuration.py", line 186, in load
for key, value in cPickle.load(config_file).iteritems():
EOFError
= --- =
Traceback (innermost last):
File "/usr/bin/mnemosyne", line 155, in
debug_file=options.debug_file)
File "/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/init.py", line 171, in initialise
self.activate_components()
File "/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/init.py", line 251, in activate_components
self.component_manager.current(component).activate()
File "/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/logger.py", line 22, in activate
self.archive_old_log()
File "/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/logger.py", line 175, in archive_old_log
if not self.config()["upload_science_logs"]:
KeyError: 'upload_science_logs'

Map not shown in single box QA

From Scott Youngman:

GUI setting: show Q&A in a single box

  • The map is shown correctly when only the Q card is displayed
  • Two generic image icons are shown in place of the maps when the map Q+A are displayed together

GUI setting: show Q&A in two boxes (either fixed or adaptive)

  • Both maps show correctly

This can be toggled back and forth while a map Q+A is displayed (i.e. it can be changed dynamically through the GUI setting).

make in tarball made with make distrib is not working

mateusz@grisznak:~/Install/mnemosyne/dist/Mnemosyne-2.6.1$ make
# Just the bare minimum to get things running
cd mnemosyne/pyqt_ui && make
make[1]: Entering directory '/home/mateusz/Install/mnemosyne/dist/Mnemosyne-2.6.1/mnemosyne/pyqt_ui'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory '/home/mateusz/Install/mnemosyne/dist/Mnemosyne-2.6.1/mnemosyne/pyqt_ui'
makefile:35: recipe for target 'build' failed
make: *** [build] Error 2

I'm unable to complete the python command shown in the README

I'm unable to complete the python command shown in the README

~/software/mnemosyne$ sudo python setup.py install
[sudo] password for bumble: 
  File "setup.py", line 22
    "Changes to this script", file=ofi)
                                  ^
SyntaxError: invalid syntax
~/software/mnemosyne$ python --version
Python 2.7.14
~/software/mnemosyne$ git branch
* master

Segfault in Debian "stretch"

Hello, I have just installed Debian "Stretch" and I cannot run mnemosyne.

When I remove .local/share/mnemosyne and .config/mnemosyne

$ 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
Erreur de segmentation

If I run it again I get :

  1. A dialog box with message "Unable to load file, query failed"
  2. I close the dialog and another one is raised with "If you are using a USB key, refer to the instructions on the website so as not to be affected by drive letter changes."
  3. Then it asks me to select a db file. I select the one it has just created and that brings me back to step 1

Can you suggest a workaround or something to try?

thanks
Christophe - a longtime Mnemosyne user

'file' is not defined

After running mnemosyne I get the following:

An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/usr/bin/mnemosyne", line 229, in <module>
    debug_file=options.debug_file)
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", line 190, in initialise
    Upgrade3(self.component_manager).run()
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/upgrades/upgrade3.py", line 21, in run
    file(os.path.join(self.config().config_dir, "config"), "rb")
 NameError: name 'file' is not defined

I am using python 3.5.3. Isn't file stopped being supported in python3? Or the problem may be in me using pyenv?

The makefile doesn't use the right Python everywhere

While working on updating Debian's packaging for mnemosyne, I found out that I wanted to use only Python 3, which meant modifying the makefile slightly :

  • change a line to SPHINXBUILD = "python3 -m sphinx" (that change you might not be interested in) ;
  • in four places, I had to replace "python -m nose" with "$(PYTHON) -m nose", and I think that change is of interest to you.

Edit keyboard shortcuts

I couldn't find this ability in the docs or in the application. I have a strange keyboard layout and the default shortcuts are hard to use. I'd like to be able to remap them.

Misc. ideas for after the migration

  • ?Put static parts of the website in a repository on Github?
  • Plugins: check their compatibility and move broken plugins to an archive.
  • README.md: maybe create a gif for the features

Failed to create OpenGL context

When I try to run Mnemosyne 2.5 in my old netbook (Intel GMA 3150 - Windows 10 Home x86), I get the error message:

image

I'm not sure if the windows drivers for 3150 support OpenGL 2.0, I don't think so, but I do have the libraries: libEGL.dll, libGLESv2.dll and d3dcompiler_47.dll.

Crash on startup with error message

As the title suggests, Mnemosyne [Desktopclient Windows 8.1 latest version] crashed on startup with the following message (ticket since the message asked me nicely to report it ;)):

error_message

Probably just misuse from my side. I started a sync from my android client the moment mnemosyne on windows opened. It might also have corrupted or deleted part of my learning statistics. I have been using the program now for about 2 - 3 years straight with 2 days as maximum downtime on my end. After the crash the statistic page is missing a couple of bars on the left. [Note: I don't care. Just wanted to mention it in case it helps to understand what happened.]

statistics

I almost forgot. Before it crashed, it told me something about performing an backup.

PS.: Otherwise everthing is working fine. Happened once and since then no problems. No complaints from my side if this is just considered a weird glitch that is impossible to reproduce and the ticket therefor closed.

Tracking issue for submitting Mnemosyne on F-Droid

As mnemosyne currently doesn't have any proprietary dependencies anymore, I'd like to bring it into F-Droid. This issue will be tracking the progress.

Current progress:

  • make android works
  • building the JNI works
  • building the app works

The issues will be discussed in the follow-up posts.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.